xe_memirq_init_guc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is the Kernel API Manual page for xe_memirq_init_guc(9), and bestie it's literally the function that prepares the GuC for Memory Based Interrupts_. It's giving β€œget the interrupt pages registered before the main character work starts” energy πŸ’…βœ¨

✨ SYNOPSIS ✨

int xe_memirq_init_guc (struct xe_memirq *memirq , struct xe_guc *guc );

no cap, that's the whole signature 🫢

🧚 ARGUMENTS 🧚

  • memirq β€” the xe_memirq, aka the memory-IRQ struct in question πŸ’–
  • guc β€” the xe_guc to setup, i.e. the GuC side getting wired up 🌸

🌸 DESCRIPTION 🌸

So what it does: it registers the Interrupt Source Report Page_ and the Interrupt Status Report Page_ to be used by the GuC when Memory Based Interrupts_ are required. That's the assignment, and it ate πŸ”₯

You shall call this when Memory Based Interrupts_ are used and xe_memirq_init didn't fail β€” like, that's the condition, bestie, no cap 😭

πŸ’œ RETURN πŸ’œ

0 on success or a negative error code on failure. That's the whole return vibe, periodt πŸ’€βœ¨

πŸ¦‹ SEE ALSO πŸ¦‹


signed off from ./drivers/gpu/drm/xe on October 2026, Kernel API Manual besties, xe_memirq_init_guc(9) page out πŸ’…πŸ¦‹βœ¨

πŸ“¦ where this page comes from