radeon_driver_postclose_kms(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… radeon_driver_postclose_kms(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual about radeon_driver_postclose_kms, and honestly? it's a little cleanup-crew moment and we're obsessed. it's the drm callback for post close. that's the whole vibe. let's get into it πŸ¦‹


✨ NAME ✨

radeon_driver_postclose_kms β€” the drm callback for post close 🫢


🌸 SYNOPSIS 🌸

void radeon_driver_postclose_kms (struct drm_device *dev , struct
drm_file *file_priv );

like, that's the signature, no cap. it returns void (nothing comes back, it just does the thing) and it takes two args. periodt πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the drm dev pointer. it's giving "the device itself" energy πŸ‘‘
  • file_priv β€” the drm file. the actual file handle bestie πŸ“

🧚 DESCRIPTION 🧚

so when the device closes (like, on close close), this function tears stuff down. lowkey the cleanup main character:

  • it tears down hyperz and cmask filps on r1xx-r5xx β€” that's all asics btw, every single one 😭
  • and it tears down vm on cayman+ β€” also all asics, no exceptions, fr fr πŸ’€

that's it. that's the whole job. it shows up, it dismantles the leftovers, it leaves. iconic. 🌈

ngl it's a tear-down function, so don't expect it to build anything back up β€” that's not its moment πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

like a whole friend group of radeon functions, and this page is just the one handing out the goodbye hugs 🫢✨


k bye bestie, this page lives in ./drivers/gpu/drm/radeon, it's dated October 2026, and yeah β€” that's the whole manual. slay πŸ’…πŸŽ€πŸ’œ

πŸ“¦ where this page comes from