drm_gpuvm_exec_lock_range(9)
β¨ drm_gpuvm_exec_lock_range β¨
okay so bestie, this is the drm_gpuvm_exec_lock_range page from the Kernel API Manual π
it's literally about prepping all your BOs in a range, no cap
SYNOPSIS
int drm_gpuvm_exec_lock_range (struct drm_gpuvm_exec *vm_exec , u64 addr , u64 range );
ARGUMENTS
vm_execβ thedrm_gpuvm_execwrapper, it's giving main character energy for the whole operation πaddrβ the start address within the VA space, like where the vibe check begins βrangeβ the range to iterate within the VA space, so how far we're going, periodt πΈ
DESCRIPTION
Acquires all dma-resv locks of all drm_gem_objects mapped between addr and addr + range. literally locking it all down bestie π₯
RETURN
0 on success, negative error code on failure. slay when it works, π when it doesn't
SEE ALSO
okay so there's a LOT here but i got you bestie, every single one:
The Main Character Files π
- Kernel file
./drivers/gpu/drm/drm_gpuvm.c
Concept Overviews π¦
Overview(9)Split and Merge(9)Madvise Logic - Splitting and Traversal(9)Locking(9)Examples(9)
List Helper Besties π
BO Vibes π
drm_gpuvm_bo_is_zombie(9)drm_gpuvm_bo_list_add(9)drm_gpuvm_bo_list_del_init(9)drm_gpuvm_bo_list_del(9)
Range & Resv Stuff π
Core GPUVm Functions β¨
Prepare Functions (the pregame) π§
Exec Lock Squad π
drm_gpuvm_exec_lock(9)drm_gpuvm_exec_lock_array(9)drm_gpuvm_validate(9)drm_gpuvm_resv_add_fence(9)
BO Lifecycle Icons π
drm_gpuvm_bo_create(9)drm_gpuvm_bo_put(9)drm_gpuvm_bo_put_deferred(9)drm_gpuvm_bo_deferred_cleanup(9)drm_gpuvm_bo_find(9)drm_gpuvm_bo_obtain_locked(9)drm_gpuvm_bo_obtain_prealloc(9)drm_gpuvm_bo_extobj_add(9)drm_gpuvm_bo_evict(9)
GPUVA Mapping Crew πΊοΈ
drm_gpuva_insert(9)drm_gpuva_remove(9)drm_gpuva_link(9)drm_gpuva_unlink(9)drm_gpuva_unlink_defer(9)drm_gpuva_find_first(9)drm_gpuva_find(9)drm_gpuvm_interval_empty(9)drm_gpuva_map(9)drm_gpuva_remap(9)drm_gpuva_unmap(9)
SM (Split/Merge) Operations π«
drm_gpuvm_sm_map(9)drm_gpuvm_sm_unmap(9)drm_gpuvm_sm_map_exec_lock(9)drm_gpuvm_sm_unmap_exec_lock(9)drm_gpuvm_sm_map_ops_create(9)drm_gpuvm_madvise_ops_create(9)drm_gpuvm_sm_unmap_ops_create(9)drm_gpuvm_prefetch_ops_create(9)drm_gpuvm_bo_unmap_ops_create(9)drm_gpuva_ops_free(9)
fr fr that's the whole list, every single one, no skips π
Source vibe: ./drivers/gpu/drm β’ Date: October 2026 β’ that's the tea bestie π«Ά
π¦ 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