drm_gpusvm_...set_unmapped(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_gpusvm_...set_unmapped(9)

okay bestie, welcome to the Kernel API Manual page for drm_gpusvm_...set_unmapped(9) β€” yes, the header title is abbreviated, but the actual NAME is drm_gpusvm_range_set_unmapped, and it is literally here to mark a GPU SVM range as unmapped. iconic behavior only.


✨ NAME ✨

drm_gpusvm_range_set_unmapped β€” mark a GPU SVM range as unmapped πŸ’«

🌸 SYNOPSIS 🌸

void drm_gpusvm_range_set_unmapped (struct drm_gpusvm_range *range ,
struct drm_gpusvm_pages *pages , unsigned int pages_count , const struct
mmu_notifier_range *mmu_range );

πŸŽ€ ARGUMENTS πŸŽ€

  • range β€” pointer to the GPU SVM range structure. that's the main character right there 🫢
  • pages β€” pointer to the GPU SVM pages structure(s). yes, plural possible, she contains multitudes.
  • pages_count β€” number of GPU SVM pages structure(s) passed in. count them, bestie πŸ”’
  • mmu_range β€” pointer to the MMU notifier range structure. the range in question πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

This function marks a GPU SVM range as unmapped and sets the partial_unmap flag if the range partially falls within the provided MMU notifier range.

like… that's the whole vibe. mark it unmapped, and if it only partially overlaps the MMU notifier range, partial_unmap gets set too. no cap. πŸ¦‹

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/drm_gpusvm.c β€” plus the whole linked crew, all here, all accounted for: 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_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). obsessed with the cross-referencing honestly 🧚


Signed off with sparkles and receipts: source/version ./drivers/gpu/drm, date October 2026, page drm_gpusvm_...set_unmapped(9). periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from