amdgpu_pasi...fpriv_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual page for amdgpu_pasi...fpriv_locked(9) β€” and the function at the center of it all is amdgpu_pasid_get_fpriv_locked, which is literally here to get the DRM owner of a PASID. that's the whole assignment. iconic. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

struct amdgpu_fpriv * amdgpu_pasid_get_fpriv_locked (u32 pasid );

🌸 ARGUMENTS 🌸

  • pasid β€” the PASID to resolve. that's it, that's the argument, and it's doing its little main-character job πŸ’…

πŸŽ€ DESCRIPTION πŸŽ€

okay so listen closely, because this part is important: the caller must hold the PASID XArray lock. no cap, that's a requirement, not a suggestion. πŸ”’

🚨 bestie, the returned pointer is only valid while the PASID lock remains held and must not be retained after calling amdgpu_pasid_unlock. like, do not keep it around after unlock. that's the rule. periodt. πŸ’€

⭐ RETURN ⭐

it returns a pointer to the owning DRM file private, or NULL if the PASID has no current owner. simple, clean, very demure. 🫢


🌈 SEE ALSO 🌈


and that's the page, bestie πŸ’– cute lil sign-off time: this one comes from the source/version path ./drivers/gpu/drm/amd/amdgpu, dated October 2026, and its footer title is still amdgpu_pasi...fpriv_locked(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from