STRUCT XE_LMTT_PT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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: 0 is 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