xe_ggtt_alloc(9)
π xe_ggtt_alloc(9) β like, the Kernel API Manual bestie β¨
okay so bestie, welcome to the Kernel API Manual entry for xe_ggtt_alloc(9) β pull up a chair, we're getting into it π
πΈ NAME πΈ
xe_ggtt_alloc β literally allocates a GGTT for a given &xe_tile π
β¨ SYNOPSIS β¨
struct xe_ggtt * xe_ggtt_alloc (struct xe_tile *tile );
π¦ ARGUMENTS π¦
tileβ thexe_tile. that's it, that's the argument, she's serving simple and iconic π
π DESCRIPTION π
Allocates a xe_ggtt for a given tile. no cap, that's genuinely the whole bit β you hand her a tile, she births a xe_ggtt for it π
π₯ RETURN π₯
You get a xe_ggtt on success π β or NULL when you're out of memory π (the sad little "no thoughts, head empty" outcome). so yes, check your return value, bestie, fr fr.
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_ggtt.c, plus the whole friend group:
- 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_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, the entire extended universe is right there, go read 'em, iykyk πβ¨
k bye bestie, mwah π this page lives in ./drivers/gpu/drm/xe, dated October 2026, and it's xe_ggtt_alloc(9) always and forever π«Άπ
π¦ 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