STRUCT XE_TTM_VRAM_MGR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct xe_ttm_vram_mgr(9) πŸ’–

okay bestie, this page is from the Kernel API Manual, and it's giving Xe TTM VRAM manager main character energy. lowkey a whole struct moment. ✨

🌸 NAME 🌸

struct xe_ttm_vram_mgr β€” Xe TTM VRAM manager πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

       struct xe_ttm_vram_mgr {
           struct ttm_resource_manager manager;
           struct gpu_buddy mm;
           u64 visible_size;
           u64 visible_avail;
           u64 default_page_size;
           struct mutex lock;
           u32 mem_type;
        };

πŸ‘‘ Members πŸ‘‘

  • manager β€” Base TTM resource manager 🫢
  • mm β€” DRM buddy allocator which manages the VRAM 🌈
  • visible_size β€” Proped size of the CPU visible portion πŸ‘€
  • visible_avail β€” CPU visible portion still unallocated πŸ“
  • default_page_size β€” default page size πŸŽ€
  • lock β€” protects allocations of VRAM πŸ”’
  • mem_type β€” The TTM memory type πŸ’œ

πŸ¦‹ Description πŸ¦‹

Manages placement of TTM resource in VRAM. that's the whole vibe, fr fr. ✨

🌟 SEE ALSO 🌟

  • Kernel file ./drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h struct xe_ttm_vram_mgr_resource(9) 🧚

cute sign-off bestie: this page lives under ./drivers/gpu/drm/xe, dated October 2026, and its title is struct xe_ttm_vram_mgr(9) β€” slay, mwah πŸ’…πŸ’–

πŸ“¦ where this page comes from