STRUCT XE_TTM_VRAM_MGR(9)
π 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.hstructxe_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
- 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