STRUCT DRM_SUBALLOC_MANAGER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct drm_suballoc_manager πŸ’…

okay bestie, this is the Kernel API Manual entry for struct drm_suballoc_manager β€” fenced range allocations, periodt 🫢


🌸 NAME 🌸

struct drm_suballoc_manager β€” fenced range allocations πŸ’–


✨ SYNOPSIS ✨

no cap, here’s the struct in all its glory πŸ‘‘

struct drm_suballoc_manager {
    wait_queue_head_t wq;
    struct list_head *hole;
    struct list_head olist;
    struct list_head flist[DRM_SUBALLOC_MAX_QUEUES];
    size_t size;
    size_t align;
};

πŸŽ€ Members πŸŽ€

  • wq β€” the wait queue where sleeping allocations hang out on contention 😴
  • hole β€” pointer to the first hole node πŸ•³οΈ
  • olist β€” list of allocated ranges, aka the taken spots πŸ“‹
  • flist β€” Array[fence context hash] of queues of fenced allocated ranges 🧚
  • size β€” size of the managed range πŸ“
  • align β€” default alignment for the managed range πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/drm/drm_suballoc.h plus these icons: struct drm_suballoc(9), drm_suballoc_soffset(9), drm_suballoc_eoffset(9), drm_suballoc_size(9) β€” go read them, iykyk πŸ’–


okay that’s the whole vibe check 🫢 β€” source: ./include/drm, dated October 2026, and yes this is struct drm_suballoc_manager(9) signing off. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from