xe_ggtt_remove_bo(9)
π xe_ggtt_remove_bo(9) β the kernel API manual, but make it cute
okay so this is xe_ggtt_remove_bo, bestie, and it lives in the Kernel API Manual, section 9 β you know, the section where all the good kernel-internals lore hangs out. This one does exactly one thing and honestly it ate: it removes a BO from the GGTT. That's it. That's the whole vibe. β¨
πΈ NAME πΈ
xe_ggtt_remove_bo β Remove a BO from the GGTT</p> π
Like, literally the title tells you everything, no cap.
π SYNOPSIS π
void xe_ggtt_remove_bo (struct xe_ggtt *ggtt , struct xe_bo *bo );
notice how it returns void? it's giving "i do my job and i don't report back". main character energy fr fr π«Ά
π¦ ARGUMENTS π¦
ggttβ thexe_ggttwhere the node is gonna get removed π that's the address-space-bestie in questionboβ thexe_bothat's getting removed π so long, buffer object, we hardly knew ye
ngl both of these are pointers and both of them matter. don't be out here passing the wrong one, i'm begging π
π SEE ALSO π
okay this list is long and i'm obsessed β it's basically the whole GGTT friend group, everyone showed up to the group chat:
- Kernel file
./drivers/gpu/drm/xe/xe_ggtt.cβ the source, the origin story π Global Graphics Translation Table (GGTT)(9)β the big one, the legend π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_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, every single one of them. iykyk π§ββοΈ
lowkey important: this page only documents what's written here, so if you need the deep lore on how nodes get inserted, mapped, shifted, dumped, or turned into PTEs β that's what the SEE ALSO squad is for. go read them, bestie, they're iconic. π
mwah π that's the whole page β brought to you straight from the ./drivers/gpu/drm/xe directory, dated October 2026, and this little rewrite is xe_ggtt_remove_bo(9) signing off. slay, stay mapped, and remember: remove 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