amdgpu_vm_lock_pd(9)
π 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
GPUVM(9)struct amdgpu_prt_cb(9)struct amdgpu_vm_tlb_seq_struct(9)amdgpu_vm_assert_locked(9)amdgpu_vm_is_bo_always_valid(9)amdgpu_vm_bo_evicted(9)amdgpu_vm_bo_needs_update(9)amdgpu_vm_bo_idle(9)amdgpu_vm_bo_reset_state_machine(9)amdgpu_vm_update_shared(9)amdgpu_vm_bo_update_shared(9)amdgpu_vm_update_stats_locked(9)amdgpu_vm_update_stats(9)amdgpu_vm_bo_base_init(9)amdgpu_vm_lock_individual(9)amdgpu_vm_move_to_lru_tail(9)amdgpu_vm_generation(9)amdgpu_vm_validate(9)amdgpu_vm_ready(9)amdgpu_vm_check_compute_bug(9)amdgpu_vm_need_pipeline_sync(9)amdgpu_vm_flush(9)amdgpu_vm_bo_find(9)amdgpu_vm_map_gart(9)amdgpu_vm_update_pdes(9)amdgpu_vm_tlb_seq_cb(9)amdgpu_vm_tlb_flush(9)amdgpu_vm_update_range(9)amdgpu_vm_bo_update(9)amdgpu_vm_update_prt_state(9)amdgpu_vm_prt_get(9)amdgpu_vm_prt_put(9)amdgpu_vm_prt_cb(9)amdgpu_vm_add_prt_cb(9)amdgpu_vm_free_mapping(9)amdgpu_vm_prt_fini(9)amdgpu_vm_clear_freed(9)amdgpu_vm_handle_moved(9)amdgpu_vm_flush_compute_tlb(9)amdgpu_vm_bo_add(9)amdgpu_vm_bo_insert_map(9)amdgpu_vm_bo_map(9)amdgpu_vm_bo_replace_map(9)amdgpu_vm_bo_unmap(9)amdgpu_vm_bo_clear_mappings(9)amdgpu_vm_bo_lookup_mapping(9)amdgpu_vm_bo_trace_cs(9)amdgpu_vm_bo_del(9)amdgpu_vm_evictable(9)amdgpu_vm_bo_invalidate(9)amdgpu_vm_bo_move(9)amdgpu_vm_get_block_size(9)amdgpu_vm_adjust_size(9)amdgpu_vm_wait_idle(9)amdgpu_vm_put_task_info(9)amdgpu_vm_get_task_info_vm(9)amdgpu_vm_get_task_info_pasid(9)amdgpu_vm_set_task_info(9)amdgpu_vm_init(9)amdgpu_vm_make_compute(9)amdgpu_vm_fini(9)amdgpu_vm_manager_init(9)amdgpu_vm_manager_fini(9)amdgpu_vm_ioctl(9)amdgpu_vm_lock_by_pasid(9)amdgpu_vm_handle_fault(9)amdgpu_debugfs_vm_bo_info(9)amdgpu_vm_update_fault_cache(9)
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
- 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