xe_ggtt_node_remove(9)
π xe_ggtt_node_remove(9) β the kernel API manual, bestie edition
Okay so welcome to xe_ggtt_node_remove, straight out of the kernel API manual (that's the <9> section, iykyk) β¨ Pull up a chair, because this one is short but it matters.
β¨ NAME β¨
xe_ggtt_node_remove β Remove a &xe_ggtt_node from the GGTT π«Ά
Like, that's the whole vibe. A node goes in, a node comes out. The GGTT said "not today, bestie" and the node is removed.
πΈ SYNOPSIS πΈ
void xe_ggtt_node_remove (struct xe_ggtt_node *node , bool invalidate );
Look at her. void return, two args, no notes. Iconic behavior honestly π
π ARGUMENTS π
nodeβ thexe_ggtt_nodeto be removed π Like, the actual node. The one getting yeeted. That's the main character of this whole operation.invalidateβ ifnodeneeds invalidation upon removal π₯ So this one's abool, and it's your call: does this node need to be invalidated when it gets removed? Set it accordingly. No cap.
Fr fr, these are the only two things you pass in, so don't overthink it. Just know what your node needs before you send it off into the void π
π¦ SEE ALSO π¦
Okay bestie, this is the part where I introduce you to the whole friend group. Every single one of them, no skips, no cuts, periodt:
Kernel file ./drivers/gpu/drm/xe/xe_ggtt.c, plus 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_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β¦ that's the entire squad π Go read them, they're all sitting right there in ./drivers/gpu/drm/xe waiting for you.
π SIGN-OFF π
This little gem lives under ./drivers/gpu/drm/xe, and the version date on it is October 2026 β so yeah, she's from the future, we love that for us β That's the tea, bestie. Go remove some nodes 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