STRUCT XE_LMTT_PT(9)
π struct xe_lmtt_pt(9) β like, the Kernel API Manual bestie β¨
okay so picture this: it's giving struct xe_lmtt_pt, and it lives in the Kernel API Manual, and honestly? it's lowkey iconic. this is the Local Memory Translation Table Page Table and we're gonna walk through it together, no cap π«Ά
π NAME π
struct xe_lmtt_pt β Local Memory Translation Table Page Table. that's her. that's the whole name. slay π
β¨ SYNOPSIS β¨
here's the shape of her, copy it exactly bestie, don't be weird about it:
struct xe_lmtt_pt {
unsigned int level;
struct xe_bo *bo;
struct xe_lmtt_pt *entries[];
};
look at that trailing entries[] β flexible array member main character energy fr fr π₯
π Members π
okay so these are the fields, and yes we're doing all of them, no skipping:
levelβ the page table level, and heads up:0is leaf πΈ like, zero = leaf, that's the vibe check you need to pass.boβ the buffer object that's holding the actual LMTT PTE values. the real ones. the actual content. πentriesβ the leaf page tables. and bestie, listen: these exist only for root/non-leaf π so don't come looking for them on a leaf, they're not there, periodt.
π¦ Description π¦
so what even is this? she represents a single level of the LMTT. one level. that's it. that's the whole job and she does it flawlessly ngl β¨
π SEE ALSO π
go read these next, i'm obsessed with them actually:
./drivers/gpu/drm/xe/xe_lmtt_types.h struct xe_lmtt(9)struct xe_lmtt_ops(9)
iykyk π
okay that's the whole page!! every flag, every field, every path, all of it, preserved and cute π don't @ me.
anyway bestie, this masterpiece came from ./drivers/gpu/drm/xe and it's dated October 2026 β so like, future vibes only π§ββοΈ see u in the next manpage, 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