STRUCT XE_TTM_VRAM_MGR_RESOURCE(9)
π¦ struct xe_ttm_vram_mgr_resource(9) π¦
okay bestie, welcome to the Kernel API Manual β yes that's the manual name, yes it's giving official, no we're not being boring about it β¨
π NAME π
struct xe_ttm_vram_mgr_resource β the Xe TTM VRAM resource, aka the lil struct that holds your video memory situation together π«Ά
β¨ SYNOPSIS β¨
struct xe_ttm_vram_mgr_resource {
struct ttm_resource base;
struct list_head blocks;
u64 used_visible_size;
unsigned long flags;
};
like, that's the whole vibe right there. four members. no cap. π₯
π Members π
baseβ the base TTM resource, literally the parent energy of this whole struct πblocksβ a list of DRM buddy blocks. it's alist_head, it's keeping track, it's organized, we love that for it π§used_visible_sizeβ au64telling you how many CPU visible bytes this resource is using. yes, visible. yes, it matters. πflagsβ flags associated with the resource, anunsigned longof pure "here's the context" β¨
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.hβ the struct's actual home, go say hi πstruct xe_ttm_vram_mgr(9)β the related one, iykyk π«
aaaand that's the page!! πΈ she's from ./drivers/gpu/drm/xe, she's dated October 2026, and she's filed under struct xe_t...mgr_resource(9) β periodt, ty for reading bestie, go touch some VRAM π
π¦ 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