STRUCT DRM_GPUSVM_RANGE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, see struct 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:


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