xe_lmtt_estimate_pt_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_lmtt_estimate_pt_size(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” yes we're reading kernel docs for fun now, this is the era we're in, and honestly? iconic of us. ✨


πŸŽ€ NAME πŸŽ€

xe_lmtt_estimate_pt_size β€” literally just estimates the size of LMTT PT allocations. that's the whole job. no cap. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

u64 xe_lmtt_estimate_pt_size (struct xe_lmtt *lmtt , u64 size );

look at that signature. clean. pristine. u64 in, u64 out, struct pointer in the middle. we love a return type that means business. πŸ‘‘


🌸 ARGUMENTS 🌸

  • lmtt β€” the xe_lmtt. THE one. the main character. 🫢
  • size β€” the size of the LMEM that's gonna be mapped over LMTT, and yes that includes any offset, don't forget the offset, i'm begging you 😭

⭐ DESCRIPTION ⭐

okay so real talk: this function shall be called only by PF. that's it, that's the rule. not by VF, not by your friend, not by you "just testing something". PF only. periodt. πŸ’…

fr fr, the "shall" is doing a lot of heavy lifting here β€” this is a hard requirement, not a suggestion 🚨

πŸ”₯ RETURN πŸ”₯

returns the size of the PT allocation(s) needed to support the given LMEM size. that's the vibe check result: a u64 telling you how much PT space you gotta set aside. slay. ✨


🌈 SEE ALSO 🌈

that's a whole friend group right there, they all hang out in the same file and they all get their own man page because they're all that girl πŸ’œ


and that's the page!! brought to you by ./drivers/gpu/drm/xe (the source, the moment, the legend 🌟) β€” October 2026 edition, xe_lmtt_estimate_pt_size(9) out. mwah πŸ’‹ bye bestie, go estimate some page tables πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from