STRUCT DRM_GPUSVM_PAGES_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct drm_gpusvm_pages_flags β€” Structure representing a GPU SVM pages flags.

okay so bestie, welcome to the Kernel API Manual corner of the group chat β€” this page is struct drm_gpusvm_pages_flags(9), and it's literally the structure representing a GPU SVM pages flags. yes, a dedicated little flags struct. we love a tiny data legend. ✨


✨ SYNOPSIS ✨

the exact shape is right here, no cap:

       struct drm_gpusvm_pages_flags {
           union {
             struct {
               u16 unmapped : 1;
               u16 has_devmem_pages : 1;
               u16 has_dma_mapping : 1;
             };
             u16 __flags;
           };
        };

🫢 Members 🫢

the anonymous union and the anonymous inner struct are listed exactly like this, bestie β€” both just say anonymous, and that's their whole vibe:

  • {unnamed_union} β€” anonymous
  • {unnamed_struct} β€” anonymous
  • unmapped β€” Flag indicating if the pages has been unmapped
  • has_devmem_pages β€” Flag indicating if the pages has devmem pages
  • has_dma_mapping β€” Flag indicating if the pages has a DMA mapping
  • __flags β€” Flags for pages in u16 form (used for READ_ONCE)

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./include/drm/drm_gpusvm.h is the source-file main character, and these are all the linked manual pages β€” every single one, periodt:


mwah πŸ’‹ cute sign-off time: source/version is ./include/drm, date is October 2026, manual is Kernel API Manual, and the footer tag is struct drm_..._pages_flags(9). bye bestie, go be iconic with your flags πŸ’…

πŸ“¦ where this page comes from