xe_guc_exec...done_handler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xe_guc_exec_queue_cgp_sync_done_handler β€” CGP sync done handler πŸ’–

okay so bestie, we're in the Kernel API Manual, and this is the page for xe_guc_exec_queue_cgp_sync_done_handler (the header nails it down as xe_guc_exec...done_handler for short, iykyk). It's giving "the little callback that tells everyone the CGP sync is finally, actually done" ✨


🌸 SYNOPSIS 🌸

int xe_guc_exec_queue_cgp_sync_done_handler (struct xe_guc *guc , u32 *msg , u32 len );

πŸŽ€ ARGUMENTS πŸŽ€

  • guc β€” the guc πŸ’… (that's your struct xe_guc *, bestie, right there in the flesh)
  • msg β€” the message that says CGP sync is done πŸ“¨
  • len β€” how long that message is 🧡

πŸ¦‹ DESCRIPTION πŸ¦‹

So what this icon actually does: it flips the multi queue group's sync_pending flag to false, and then it wakes up literally anyone who's been waiting for CGP synchronization to complete 😭🫢

Like, no cap, that's the whole job. Somebody's been sitting there waiting on that flag, and this handler is the one who goes "bestie, it's done, you can stop refreshing" and pokes them awake. Main character energy fr fr πŸ‘‘


⭐ RETURN ⭐

  • 0 on success πŸŽ‰
  • -EPROTO for malformed messages πŸ’€ (yeah, if the message is messed up, that's what you get)

🌈 SEE ALSO 🌈

Kernel file ./drivers/gpu/drm/xe/xe_guc_submit.c β€” go read it, it's right there πŸ“


okay that's the whole page, periodt πŸ’– this one lives under ./drivers/gpu/drm/xe, the manual is dated October 2026, and the page signs itself off as xe_guc_exec...done_handler(9) β€” mwah, drink water, and go read xe_guc_submit.c πŸ§šπŸ’œ

πŸ“¦ where this page comes from