STRUCT XE_TTM_VRAM_MGR_RESOURCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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 a list_head, it's keeping track, it's organized, we love that for it 🧚
  • used_visible_size β€” a u64 telling you how many CPU visible bytes this resource is using. yes, visible. yes, it matters. πŸ’–
  • flags β€” flags associated with the resource, an unsigned long of 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