xe_ggtt_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_ggtt_init(9) ✨

okay so bestie, welcome to the xe_ggtt_init page from the Kernel API Manual πŸ’… this is the one that does the regular, non-early GGTT setup β€” yes, there's an early version too (xe_ggtt_init_early(9), we'll get there), but this one is the main-character, non-early glow-up πŸŽ€


🌸 NAME 🌸

xe_ggtt_init β€” Regular non-early GGTT initialization. that's it, that's the vibe ✨ ("GGTT" = Global Graphics Translation Table, iykyk πŸ¦‹)


🫢 SYNOPSIS 🫢

int xe_ggtt_init (struct xe_ggtt *ggtt );

literally the whole signature, no cap πŸ’– returns an int, takes one pointer, slays.


πŸ’œ ARGUMENTS πŸ’œ

  • ggtt β€” the xe_ggtt to be initialized. that's the one. the star of the show. hand it over and let it cook πŸ‘‘

⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • a negative error code on failure 😭 (so like, check it, pls, don't just ignore the return value, that's giving chaos energy πŸ’€)

🌈 SEE ALSO 🌈

so many links, we love a well-connected icon πŸ‘‘ first up, the kernel file itself:

like I said. the whole friend group. read them all, they're iconic πŸ§šπŸ’œ


ngl this is the regular init, so if you're looking for the early one you want xe_ggtt_init_early(9) instead β€” don't mix them up bestie, that's giving undefined-vibe πŸ’€

and that's the page!! short and sweet, just how we like it πŸ“ this gem lives under ./drivers/gpu/drm/xe and it's dated October 2026 β€” mwah, xoxo, go initialize something pretty πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from