STRUCT DRM_GPUSVM_RANGE(9)
π struct drm_gpusvm_range(9) π
okay so bestie, we're in the Kernel API Manual and the main character of this page is struct drm_gpusvm_range(9). It's one struct, it's giving range-tracking realness, and we are gonna read every single member together. No skimming, no cap. β¨
πΈ NAME πΈ
struct drm_gpusvm_range β Structure representing a GPU SVM range. periodt. π
π¦ SYNOPSIS π¦
struct drm_gpusvm_range {
struct drm_gpusvm *gpusvm;
struct drm_gpusvm_notifier *notifier;
struct kref refcount;
struct interval_tree_node itree;
struct list_head entry;
struct drm_gpusvm_range_flags flags;
};
π Members π
okay, member-by-member vibe check:
gpusvmβ Pointer to the GPU SVM structure. iconic pointer behavior.notifierβ Pointer to the GPU SVM notifier.refcountβ Reference count for the range.itreeβ Interval tree node for the range (inserted in GPU SVM notifier).entryβ List entry to fast interval tree traversal.flagsβ Flags for range, seestruct drm_gpusvm_range_flags.
π Description π
This structure represents a GPU SVM range used for tracking memory ranges mapped in a DRM device. That's the whole assignment: it's the struct holding down the range-tracking situation for DRM device memory mappings. π«Ά
π SEE ALSO π
Kernel file first, bestie: ./include/drm/drm_gpusvm.h
Then the whole friend group:
struct drm_gpusvm_ops(9)struct drm_gpusvm_notifier(9)struct drm_gpusvm_pages_flags(9)struct drm_gpusvm_pages(9)struct drm_gpusvm_range_flags(9)struct drm_gpusvm(9)struct drm_gpusvm_ctx(9)drm_gpusvm_init_pages(9)enum drm_gpusvm_scan_result(9)drm_gpusvm_driver_set_lock(9)drm_gpusvm_notifier_lock(9)drm_gpusvm_notifier_unlock(9)drm_gpusvm_range_start(9)drm_gpusvm_range_end(9)drm_gpusvm_range_size(9)drm_gpusvm_notifier_start(9)drm_gpusvm_notifier_end(9)drm_gpusvm_notifier_size(9)__drm_gpusvm_range_next(9)drm_gpusvm_for_each_range(9)drm_gpusvm_for_each_range_safe(9)__drm_gpusvm_notifier_next(9)drm_gpusvm_for_each_notifier(9)drm_gpusvm_for_each_notifier_safe(9)
Source/version and date sign-off, because we always credit the source: this page came from ./include/drm, dated October 2026, for struct drm_gpusvm_range(9). That's the whole page, bestie β mwah! ππ
π¦ 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