amdgpu_vm_lock_pd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… amdgpu_vm_lock_pd β€” lock PD in drm_exec

okay so bestie, welcome to the amdgpu_vm_lock_pd(9) page from the Kernel API Manual ✨ this one's short and sweet and honestly kind of a vibe.


🌸 NAME

amdgpu_vm_lock_pd β€” lock PD in drm_exec πŸŽ€


✨ SYNOPSIS

int amdgpu_vm_lock_pd (struct amdgpu_vm *vm , struct drm_exec *exec ,
       unsigned int num_fences );

like, it returns an int, and it takes three things. that's it. that's the whole function signature 🫢


πŸ¦‹ ARGUMENTS

  • vm β€” the vm that's providing the BOs. she's the main character here πŸ‘‘
  • exec β€” the drm execution context. very demure, very mindful.
  • num_fences β€” how many extra fences you wanna reserve. yes, extra. reserve them. πŸ’…

πŸ’œ DESCRIPTION

Lock the VM root PD in the DRM execution context.

that's literally it, no cap. that's the entire description. she locks the root PD, she does it inside the DRM execution context, and she moves on with her day πŸ”₯


🌈 SEE ALSO

bestie, buckle up, because this list is LONG and we are not skipping a single one of them β€” every last reference is staying, periodt πŸ’€

Kernel file ./drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

like… she really said "know my whole friend group" and honestly? iconic πŸ˜­πŸ’–


ngl this page is a little short, but that's the whole tea β€” the root PD gets locked in the DRM execution context and nothing else gets claimed. don't go reading extra behaviour into it, bestie πŸ™ˆ

that's a wrap, babe πŸŽ€ this came out of ./drivers/gpu/drm/amd/amdgpu, Kernel API Manual, dated October 2026 β€” stay slay, stay locked, and go read some more manpages πŸ’œβœ¨

πŸ“¦ where this page comes from