drm_gpusvm_fini(9)
π drm_gpusvm_fini(9) β the Kernel API Manual, bestie edition π
okay so you're in the Kernel API Manual, section 9, and the page you grabbed is drm_gpusvm_fini(9). yes the name is a mouthful. no we're not changing it. let's go β¨
πΈ NAME πΈ
drm_gpusvm_fini β the one that finalizes the GPU SVM. that's it. that's the whole job. she closes up shop π
π¦ SYNOPSIS π¦
void drm_gpusvm_fini (struct drm_gpusvm *gpusvm );
that's literally it. one function, one pointer, void return because she doesn't owe you an exit code π«Ά
π ARGUMENTS π
gpusvmβ pointer to the GPU SVM structure. yep. the whole thing. she needs it. hand it over π
β¨ DESCRIPTION β¨
so what does she actually do? bestie. she finalizes the GPU SVM. she:
- cleans up any remaining ranges π§Ή
- cleans up any remaining notifiers π§Ή
- and drops a reference to
struct MMπ
that's the entire vibe check. leftovers gone, reference released, done. no cap π₯
π SEE ALSO π
okay this is the part where I list every single sibling because I am not doing you dirty by skipping any of them. buckle up π
- 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_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_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)
likeβ¦ the whole friend group showed up. iconic π
lowkey reminder:drm_gpusvm_finiis the finalize one β if you're looking for the setup energy, that'sdrm_gpusvm_init(9)up there in see also. don't mix them up, bestie π
and that's the page!! π sourced from ./drivers/gpu/drm, dated October 2026, filed forever under drm_gpusvm_fini(9) β mwah, go clean up your ranges π
πΈ
π¦ 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