xe_ggtt_node_save(9)
β¨ xe_ggtt_node_save(9) β¨
okay bestie, welcome to the Kernel API Manual π
today's main character is xe_ggtt_node_save(9) β yes that's the header, yes I folded the manual name in right here, we're being efficient today π
πΈ NAME πΈ
xe_ggtt_node_save β save a &xe_ggtt_node to a buffer. that's it, that's the whole vibe β¨
π¦ SYNOPSIS π¦
int xe_ggtt_node_save (struct xe_ggtt_node *node , void *dst , size_t
size , u16 vfid );
copy it exactly, don't get cute with the spacing, the compiler does not care about your aesthetic π
π ARGUMENTS π
nodeβ thexe_ggtt_nodethat's getting saved. she's the subject of the whole operation πdstβ the destination buffer. where the saving actually lands πsizeβ the destination buffer size, measured in bytes. ngl, please get this right πvfidβ the VF identifier. lowkey just an identifier, but she matters π¦
β RETURN β
0 on success, or a negative error code on failure. so like, zero is the slay outcome, anything negative is giving "we don't talk about it" π
π SEE ALSO π
the whole friend group, fr fr π«Ά:
- Kernel file
./drivers/gpu/drm/xe/xe_ggtt.c - 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_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_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)
and that's the page, bestie π this little beauty lives in ./drivers/gpu/drm/xe and she's dated October 2026 β go save some nodes, periodt πΈπ§
π¦ 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