xe_ggtt_node_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the xe_ggtt_node to be removed πŸ’€ Like, the actual node. The one getting yeeted. That's the main character of this whole operation.
  • invalidate β€” if node needs invalidation upon removal πŸ”₯ So this one's a bool, 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