cik_fini(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cik_fini(9) β€” the Kernel API Manual glow-up

okay so bestie, we're in the Kernel API Manual today and the main character is cik_fini. it's a kernel function, it's got one (1) job, and honestly? it does it. let's get into it ✨


✨ NAME ✨

cik_fini β€” the asic specific driver and hw fini, aka the little goodbye ritual πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void cik_fini (struct radeon_device *rdev );

that's it. that's the whole signature. no sneaky extra params, no return value, she just goes πŸ’…


🌸 ARGUMENTS 🌸

  • rdev β€” a radeon_device pointer, i.e. your whole entire GPU device struct. hand it over and let her do her thing 🫢

πŸ’– DESCRIPTION πŸ’–

so here's the vibe: cik_fini tears down the asic specific driver variables and then programs the hw to an idle state (CIK). that's the whole arc β€” variables: packed up, hardware: chill mode, no notes πŸ”₯

and when does she get called? at driver unload. which is literally the last thing that happens, so this is her closing-number energy πŸ‘‘

ngl this one's short but it's load-bearing β€” it's the teardown counterpart to cik_init, and yes, both of them are down there in SEE ALSO, iykyk 😌

🧚 SEE ALSO 🧚

the whole friend group, fr fr β€” everyone who shares the ./drivers/gpu/drm/radeon group chat πŸ’œ

the file itself lives in:

Kernel file ./drivers/gpu/drm/radeon/cik.c

and now the full cast, no cap, nobody left out:


and that's the page, bestie 🌈 one tiny teardown function, one huge friend group. she ate and left no crumbs πŸ’€

πŸŽ€ real ones know this shipped out of ./drivers/gpu/drm/radeon, dated October 2026, and it's filed under cik_fini(9) β€” go drink some water, mwah πŸ«ΆπŸ’–
πŸ“¦ where this page comes from