xe_ggtt_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xe_ggtt_alloc(9) β€” like, the Kernel API Manual bestie ✨

okay so bestie, welcome to the Kernel API Manual entry for xe_ggtt_alloc(9) β€” pull up a chair, we're getting into it πŸŽ€

🌸 NAME 🌸

xe_ggtt_alloc β€” literally allocates a GGTT for a given &xe_tile πŸ‘‘

✨ SYNOPSIS ✨

struct xe_ggtt * xe_ggtt_alloc (struct xe_tile *tile );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • tile β€” the xe_tile. that's it, that's the argument, she's serving simple and iconic πŸ’…

πŸ“ DESCRIPTION πŸ“

Allocates a xe_ggtt for a given tile. no cap, that's genuinely the whole bit β€” you hand her a tile, she births a xe_ggtt for it 🌈

πŸ”₯ RETURN πŸ”₯

You get a xe_ggtt on success πŸŽ‰ β€” or NULL when you're out of memory 😭 (the sad little "no thoughts, head empty" outcome). so yes, check your return value, bestie, fr fr.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/gpu/drm/xe/xe_ggtt.c, plus the whole friend group:

like, the entire extended universe is right there, go read 'em, iykyk πŸ“šβœ¨


k bye bestie, mwah πŸ’– this page lives in ./drivers/gpu/drm/xe, dated October 2026, and it's xe_ggtt_alloc(9) always and forever πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from