amdgpu_pasid_unlock(9)
π amdgpu_pasid_unlock β Kernel API Manual β¨
okay so bestie, welcome to the glow-up doc for amdgpu_pasid_unlock(9), straight out of the Kernel API Manual π this is the little cleanup queen that lets go of a lock, and honestly? she's short but she matters π«Ά
β¨ NAME β¨
amdgpu_pasid_unlock β release the global PASID xarray lock π
π¦ SYNOPSIS π¦
void amdgpu_pasid_unlock (unsigned long flags );
that's it. that's the whole vibe. no cap π₯
πΈ ARGUMENTS πΈ
flagsβ the interrupt state that came back fromamdgpu_pasid_lockβ like, you got this value handed to you when you locked, and now you're handing it right back. iykyk π§
π DESCRIPTION π
Release the global PASID xarray lock and restore the previous interrupt state π
fr fr, that's the whole job: drop the lock, put the interrupt state back exactly how it was before. lock it, unlock it, restore the state β the sacred cycle πβ¨
lowkey be a good citizen about this one βflagsis literally the interrupt state fromamdgpu_pasid_lock, and this function is what restores it. don't be out here making up your own value π«Ά
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/amd/amdgpu/amdgpu_ids.cπ amdgpu_pasid_alloc(9)amdgpu_pasid_free(9)amdgpu_pasid_clear_owner(9)amdgpu_pasid_lock(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)
like, that's basically the whole friend group β go say hi to all of them π
and that's the page, bestie!! π brought to you by the source tree at ./drivers/gpu/drm/amd/amdgpu, dated October 2026, living under the name amdgpu_pasid_unlock(9) β mwah, slay, periodt π
π
π¦ 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