xe_ggtt_ins...de_transform(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 *) β€” the xe_ggtt where 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, or NULL for 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:


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