xe_ggtt_print_holes(9)
β¨ xe_ggtt_print_holes β¨
okay so this one's from the Kernel API Manual, and it's genuinely the most chill little function β it's literally just "hey bestie, show me the holes" π no cap.
π NAME π
xe_ggtt_print_holes β print holes. that's it. that's the whole name. iconic, honestly.
πΈ SYNOPSIS πΈ
u64 xe_ggtt_print_holes (struct xe_ggtt *ggtt , u64 alignment , struct
drm_printer *p );
like, three args, returns a u64, she's compact and she knows it π«Ά
π ARGUMENTS π
ggttβ thexe_ggttto be inspected π this is the thing you're snooping onalignmentβ min alignment, i.e. the smallest alignment you'll accept, bestiepβ thedrm_printer, aka where the output actually goes π¨οΈ
π¦ DESCRIPTION π¦
So what she does is: print GGTT ranges that are available π and then return the total size available. That's literally the vibe β dump the free ranges, hand you back the number. lowkey obsessed with how straightforward that is.
β RETURN β
Total available size. that's the u64. slay. π
π₯ SEE ALSO π₯
the whole friend group, fr fr β go say hi:
- 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_size(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_encode_pte_flags(9)xe_ggtt_read_pte(9)xe_ggtt_node_addr(9)xe_ggtt_node_size(9)
bestie reminder: this page lives in ./drivers/gpu/drm/xe π§
k thx bye, this was xe_ggtt_print_holes(9) from October 2026, 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