drm_gpusvm_driver_lock_held(9)
β¨ drm_gpusvm_driver_lock_held β¨
okay so this is a page straight out of the Kernel API Manual, section 9, and honestly? it's short, it's sweet, it's giving confident one-liner π
let's get into it bestie
πΈ NAME πΈ
drm_gpusvm_driver_lock_held β assert GPU SVM driver lock is held π«Ά
π SYNOPSIS π
void drm_gpusvm_driver_lock_held (struct drm_gpusvm *gpusvm );
π¦ ARGUMENTS π¦
gpusvmβ a pointer to the GPU SVM structure β¨ that's the whole vibe, just a pointer, no cap
π DESCRIPTION π
Ensure driver lock is held. that's it. that's the function π― it's a vibe check for your locking, and the lock better show up or it's gonna be a whole thing π
π SEE ALSO π
the girlies in the same friend group, aka every related page and function, no gatekeeping here π§:
- Kernel file
./drivers/gpu/drm/drm_gpusvm.cOverview(9) - Locking(9)
- Partial Unmapping of Ranges(9)
- Examples(9)
npages_in_range(9)drm_gpusvm_notifier_find(9)drm_gpusvm_range_find(9)drm_gpusvm_notifier_invalidate(9)drm_gpusvm_init(9)to_drm_gpusvm_notifier(9)drm_gpusvm_notifier_insert(9)drm_gpusvm_notifier_remove(9)drm_gpusvm_fini(9)drm_gpusvm_notifier_alloc(9)drm_gpusvm_notifier_free(9)to_drm_gpusvm_range(9)drm_gpusvm_range_insert(9)__drm_gpusvm_range_remove(9)drm_gpusvm_range_alloc(9)drm_gpusvm_hmm_pfn_to_order(9)drm_gpusvm_check_pages(9)drm_gpusvm_scan_mm(9)drm_gpusvm_range_chunk_size(9)drm_gpusvm_find_vma_start(9)drm_gpusvm_range_find_or_insert(9)__drm_gpusvm_unmap_pages(9)__drm_gpusvm_free_pages(9)drm_gpusvm_free_pages(9)drm_gpusvm_range_remove(9)drm_gpusvm_range_get(9)drm_gpusvm_range_destroy(9)drm_gpusvm_range_put(9)drm_gpusvm_pages_valid(9)drm_gpusvm_pages_valid_unlocked(9)drm_gpusvm_get_pages(9)drm_gpusvm_unmap_pages(9)drm_gpusvm_range_evict(9)drm_gpusvm_has_mapping(9)drm_gpusvm_range_set_unmapped(9)
and that's the whole page, bestie π this lil' cutie lives under ./drivers/gpu/drm and it's stamped October 2026 β go forth and assert those locks, ily, bye π
π¦ 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