xe_ggtt_size(9)
π 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β anxe_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):
- Kernel file
./drivers/gpu/drm/xe/xe_ggtt.c - Global Graphics Translation Table (GGTT)(9)
- struct xe_ggtt_node(9)
- struct xe_ggtt_pt_ops(9)
- struct xe_ggtt(9)
- xe_ggtt_start(9)
- xe_ggtt_alloc(9)
- xe_ggtt_init_early(9)
- xe_ggtt_node_remove(9)
- xe_ggtt_init(9)
- xe_ggtt_shift_nodes(9)
- xe_ggtt_insert_node(9)
- xe_ggtt_node_pt_size(9)
- xe_ggtt_map_bo(9)
- xe_ggtt_map_bo_unlocked(9)
- xe_ggtt_insert_node_transform(9)
- xe_ggtt_insert_bo_at(9)
- xe_ggtt_insert_bo(9)
- xe_ggtt_remove_bo(9)
- xe_ggtt_largest_hole(9)
- xe_ggtt_assign(9)
- xe_ggtt_node_save(9)
- xe_ggtt_node_load(9)
- xe_ggtt_dump(9)
- xe_ggtt_print_holes(9)
- xe_ggtt_encode_pte_flags(9)
- xe_ggtt_read_pte(9)
- xe_ggtt_node_addr(9)
- xe_ggtt_node_size(9)
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
- 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