amdgpu_pasid_clear_owner(9)
π amdgpu_pasid_clear_owner(9) β a Kernel API Manual moment β¨
Okay bestie, so this is a page from the Kernel API Manual for amdgpu_pasid_clear_owner(9) β and yes it's as niche as it sounds, but it's lowkey iconic, come with me π«Ά
πΈ NAME πΈ
amdgpu_pasid_clear_owner β clears the owner that's associated with a PASID π«
β¨ SYNOPSIS β¨
void amdgpu_pasid_clear_owner (u32 pasid );
That's it. One arg, no return value, no drama. Periodt.
π ARGUMENTS π
pasidβ the PASID whose owner should be cleared, like literally the one we're yeeting the owner off of π
π¦ DESCRIPTION π¦
So the whole vibe here: this function replaces the stored owner with NULL β while the PASID stays allocated. Not me giving the PASID a glow-up but taking away its owner, ngl that's kind of the whole point π«Ά
Where it's used? It's the delayed PASID free path's bestie. It exists so that future PASID lookups cannot resolve a stale DRM file-private object while the PASID is still out here waiting for outstanding fences before it gets released. Like, no stale-object jumpscares on main ππ«
Fr fr, this is the "remove the name tag but keep the seat reserved" energy. The PASID is still there, its owner is just... gone π»
π₯ SEE ALSO π₯
The kernel file in question, aka where the magic lives:
Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
And the whole friend group, no cap:
amdgpu_pasid_alloc(9)amdgpu_pasid_free(9)amdgpu_pasid_lock(9)amdgpu_pasid_unlock(9)amdgpu_pasid_get_fpriv_locked(9)amdgpu_pasid_free_delayed(9)amdgpu_vmid_had_gpu_reset(9)amdgpu_vmid_grab_idle(9)amdgpu_vmid_grab_reserved(9)amdgpu_vmid_grab_used(9)amdgpu_vmid_grab(9)amdgpu_vmid_reset(9)amdgpu_vmid_reset_all(9)amdgpu_vmid_mgr_init(9)amdgpu_vmid_mgr_fini(9)amdgpu_pasid_mgr_cleanup(9)
Okay that's the whole page bestie, you ate that πβ¨
Signing off from ./drivers/gpu/drm/amd/amdgpu, dated October 2026 β amdgpu_pasid_clear_owner(9) out, mwah ππΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms