drm_gpusvm_range_get(9)
π drm_gpusvm_range_get(9) β the Kernel API Manual, bestie edition π
okay so you're reading the drm_gpusvm_range_get(9) page from the Kernel API Manual and honestly? it's a short one, which means we can absolutely gag over it properly. it's a tiny little refcount glow-up and it's lowkey iconic β¨
πΈ NAME πΈ
drm_gpusvm_range_get β get a reference to a GPU SVM range π
β¨ SYNOPSIS β¨
struct drm_gpusvm_range * drm_gpusvm_range_get (struct drm_gpusvm_range
*range );
like, that's it. that's the whole vibe. one function, one pointer in, one pointer out π«Ά
π ARGUMENTS π
rangeβ pointer to the GPU SVM range. literally just a pointer to the range, bestie, no cap π¦
π DESCRIPTION π
okay so here's the tea π β this function increments the reference count of the specified GPU SVM range. that's the whole job. she's a one-task queen and she ate π
so when you call her, that range you handed over gets one more ref on it, meaning it's now a little more protected from being yeeted out of existence. it's giving "hold my hand so i don't get freed" energy, fr fr π
π RETURN π
a pointer to the GPU SVM range. yes, the same range. she returns the range pointer back to you like "here you go bestie, it's yours" π«Άβ¨
π SEE ALSO π
the whole friend group, in the order the official page lists them β no skipping, no shade, every single one shows up to the group chat πΈ:
- kernel file
./drivers/gpu/drm/drm_gpusvm.c Overview(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_driver_lock_held(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_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, you're officially educated π§ββοΈπ this little drop came from ./drivers/gpu/drm, dated October 2026 β so like, future-era documentation, main character energy only πβ periodt π
π¦ 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