xe_ggtt_ins...de_transform(9)
okay bestie, welcome to the Kernel API Manual page for xe_ggtt_insert_node_transform β thatβs the xe_ggtt_ins...de_transform(9) girlie. sheβs here to help you insert a freshly allocated &xe_ggtt_node into the GGTT, and honestly? iconic. π
β¨
π NAME π
xe_ggtt_insert_node_transform β insert a newly allocated &xe_ggtt_node into the GGTT. π
β¨ SYNOPSIS β¨
struct xe_ggtt_node * xe_ggtt_insert_node_transform (struct xe_ggtt
*ggtt , struct xe_bo *bo , u64 pte_flags , u64 size , u32 align ,
xe_ggtt_transform_cb transform , void *arg );
π ARGUMENTS π
ggtt(struct xe_ggtt *) β thexe_ggttwhere the node will be inserted/reserved. πbo(struct xe_bo *) β the bo to be transformed. π¦pte_flags(u64) β the extra GGTT flags to add to the mapping. β¨size(u64) β size of the node. πalign(u32) β required alignment for the node. πΈtransform(xe_ggtt_transform_cb) β transformation function that will populate the GGTT node, orNULLfor linear mapping. π«Άarg(void *) β extra argument to pass to the transformation function. π
π¦ DESCRIPTION π¦
okay so this function allows inserting a GGTT node with a custom transformation function β no cap. itβs highkey useful for display, because it lets you insert rotated framebuffers into the GGTT. periodt. π
π RETURN π
on success you get a pointer to the xe_ggtt_node struct β slay π. otherwise you get an ERR_PTR π. thatβs the vibe check.
π SEE ALSO π
the kernel file is ./drivers/gpu/drm/xe/xe_ggtt.c, and here are all the related girlies:
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_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)
okay bye bestie π this page came from the source/version line ./drivers/gpu/drm/xe, dated October 2026, and itβs the xe_ggtt_ins...de_transform(9) page in the Kernel API Manual. mwah π«Άπ
π¦ 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