STRUCT XE_GGTT_NODE(9)
π struct xe_ggtt_node(9) π
Okay bestie, this is the Kernel API Manual page for struct xe_ggtt_node β literally a node in GGTT. Let's get into it. π
β¨ NAME β¨
struct xe_ggtt_node β a node in GGTT. Periodt. π
πΈ SYNOPSIS πΈ
struct xe_ggtt_node {
struct xe_ggtt *ggtt;
struct drm_mm_node base;
struct work_struct delayed_removal_work;
bool invalidate_on_remove;
};
π MEMBERS π
ggttβ back pointer to thexe_ggttwhere this region will be inserted at. It's giving "I know exactly where I belong" energy. π«Άbaseβ adrm_mm_node. Literally just that. No cap. β¨delayed_removal_workβ thework_structfor the delayed removal. The little work bestie handling the later goodbye. πinvalidate_on_removeβ if it needs invalidation upon removal. Bool vibes only. π
π DESCRIPTION π
This struct is allocated with xe_ggtt_insert_node(,_transform) or xe_ggtt_insert_bo(,_at). It will be deallocated using xe_ggtt_node_remove.
That's the lifecycle, and honestly? iconic. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_ggtt.c Global Graphics Translation Table (GGTT)(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_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)
That's the tea, bestie: this page comes from under ./drivers/gpu/drm/xe and is dated October 2026 β the struct xe_ggtt_node(9) edition, slaying in the Kernel API Manual. π«Άπ
π¦ 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