xe_ggtt_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_ggtt_size β€” the "how big is my GGTT bestie" page

okay so real talk, you're in the Kernel API Manual (we're fancy here, it's a 9 section situation) and the function we're obsessing over today is xe_ggtt_size. It's a tiny little icon and it does exactly one thing, but it does it flawlessly. ✨


🌸 NAME

xe_ggtt_size β€” Get size of GGTT. That's it. That's the whole vibe. πŸŽ€


✨ SYNOPSIS

u64 xe_ggtt_size (struct xe_ggtt *ggtt );

no cap, that's the entire signature. one arg, one u64 back. clean, minimal, slay. πŸ’…


πŸ¦‹ ARGUMENTS

  • ggtt β€” an xe_ggtt. yes literally just "xe_ggtt", that's what the manpage says and I'm not gonna pretend otherwise lmao. it's the GGTT struct you're curious about, bestie, hand it over. 🫢

πŸ’– RETURN

It gives you back the total usable size of this xe_ggtt β€” as a u64, per the synopsis. total. usable. size. periodt. πŸ‘‘


🌈 SEE ALSO

okay this is the part where the page trauma-dumps its entire friend group and honestly? iconic. every single one of these is linked, and you're gonna read the list, not skip it (iykyk):

like… twenty-four friends. main character energy for a size getter, honestly. 🌟


ngl there are no warnings, no exit statuses, no env vars, no flags on this one. it's a one-liner getter and it knows it. don't go looking for drama where there is none, bestie. πŸ’€

that's the whole page, gorgeous β€” brought to you by the good people living in ./drivers/gpu/drm/xe, dated October 2026. go get that u64, you absolute 🧚 legend. πŸ“πŸ’œ

πŸ“¦ where this page comes from