amdgpu_pm_put_access(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ amdgpu_pm_put_access(9) ✨

okay so real talk, this is a page from the Kernel API Manual and it's about one tiny function that keeps your GPU from getting stuck awake forever. it's giving "closing the door behind you" energy πŸ’…


🌸 NAME 🌸

amdgpu_pm_put_access β€” put to auto suspend mode after a device access. that's it, that's the whole gig 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void amdgpu_pm_put_access (struct amdgpu_device *adev );

like, it returns nothing (void, bestie β€” it's a "do the thing and dip" situation) and it takes exactly one pointer. periodt.


πŸ’– ARGUMENTS πŸ’–

  • adev β€” the target device. the struct amdgpu_device * you're letting go of. literally the only thing you hand it ✨

πŸŽ€ DESCRIPTION πŸŽ€

so when you're done poking at the device, you call this and it puts things back into auto suspend mode. it's the "okay bye ily" of device access πŸ₯Ί

bestie, listen: this should be paired with the amdgpu_pm_get_access* calls. unpaired calls are not the vibe. no cap.

πŸ”₯ SEE ALSO πŸ”₯

the source lives at kernel file ./drivers/gpu/drm/amd/pm/amdgpu_pm.c β€” go read it, iykyk πŸ“–

and then there's the whole friend group (a LOT of friends, honestly, this section ate):


and that's the whole page, bestie!! πŸ’œ this little icon came out of ./drivers/gpu/drm/amd/pm back in October 2026 β€” main character energy from the kernel docs fr fr βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from