xe_ggtt_insert_node(9)
π NAME π
xe_ggtt_insert_node β Insert a &xe_ggtt_node into the GGTT. This is the xe_ggtt_insert_node(9) page from the Kernel API Manual, and it's lowkey iconic: one function, three args, node inserted, periodt. β¨
β¨ SYNOPSIS β¨
okay so the signature is literally:
struct xe_ggtt_node * xe_ggtt_insert_node (struct xe_ggtt *ggtt , u32
size , u32 align );
Bestie, do not retype this, copy it. π
π ARGUMENTS π
ggttβ thexe_ggttinto which the node should be inserted. That's the main character target. π«Άsizeβ size of the node. Yes, the size. Not a vibe, a measurement. πalignβ alignment constrain of the node. Their word constrain, not mine π but you know what it means.
πΈ RETURN πΈ
xe_ggtt_node on success or a ERR_PTR on failure. That's it. Slay if it works, check that ERR_PTR if it doesn't. π
π SEE ALSO π
go read these, fr fr:
- Kernel file
./drivers/gpu/drm/xe/xe_ggtt.cβ also peepGlobal 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_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)
cute sign-off time: the source/version line says ./drivers/gpu/drm/xe, the date says October 2026, and this page is xe_ggtt_insert_node(9) β bye bestie, go insert that node responsibly ππ¦
π¦ 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