drm_gpuvm_bo_list_add(9)
π drm_gpuvm_bo_list_add(9) β straight from the Kernel API Manual, bestie
okay so real talk, this one's a tiny little function from the Linux kernel docs, and honestly? it's giving "small but mighty." it does exactly one (1) thing and it does it slayfully. let's get into it β¨
πΈ NAME πΈ
drm_gpuvm_bo_list_add β insert a vm_bo into the given list π«Ά
β¨ SYNOPSIS β¨
drm_gpuvm_bo_list_add (__vm_bo , __list_name , __lock );
π ARGUMENTS π
__vm_boβ thedrm_gpuvm_boitself. the main character, fr π__list_nameβ the name of the list you're inserting into. like, which list, bestie π__lockβ whether to lock with the internal spinlock π (yes, that's the whole bit)
π¦ DESCRIPTION π¦
Inserts the given __vm_bo into the list specified by __list_name. periodt. that's it. that's the function. no cap π
π₯ SEE ALSO π₯
okay this list is LONG long, so buckle up bestie, everything's here π
- Kernel file
./drivers/gpu/drm/drm_gpuvm.cOverview(9),Split and Merge(9),Madvise Logic - Splitting and Traversal(9),Locking(9),Examples(9) get_next_vm_bo_from_list(9)for_each_vm_bo_in_list(9)restore_vm_bo_list(9)drm_gpuvm_bo_is_zombie(9)drm_gpuvm_bo_list_del_init(9)drm_gpuvm_bo_list_del(9)drm_gpuvm_range_valid(9)drm_gpuvm_resv_object_alloc(9)drm_gpuvm_init(9)drm_gpuvm_put(9)drm_gpuvm_prepare_vm(9)drm_gpuvm_prepare_objects(9)drm_gpuvm_prepare_range(9)drm_gpuvm_exec_lock(9)drm_gpuvm_exec_lock_array(9)drm_gpuvm_exec_lock_range(9)drm_gpuvm_validate(9)drm_gpuvm_resv_add_fence(9)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)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)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)
ngl the __lock flag is doing a lot of quiet heavy lifting in this whole situation, so don't sleep on it π
and that's the whole vibe check π this came out of ./drivers/gpu/drm, dated October 2026, and yeah β drm_gpuvm_bo_list_add(9) is literally the name of the page. iconic behavior only πβ¨πΈ
π¦ 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