xe_guc_exec...done_handler(9)
π 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β thegucπ (that's yourstruct 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 β
0on success π-EPROTOfor 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 π
xe_guc_submit_init(9)Multi Queue Group GuC interface(9)xe_guc_submit_wedge(9)xe_guc_submit_pause(9)xe_guc_submit_pause_vf(9)xe_guc_submit_unpause_prepare_vf(9)xe_guc_submit_unpause(9)xe_guc_submit_unpause_vf(9)xe_guc_submit_pause_abort(9)xe_guc_exec_queue_snapshot_capture(9)xe_guc_exec_queue_snapshot_capture_delayed(9)xe_guc_exec_queue_snapshot_print(9)xe_guc_exec_queue_snapshot_free(9)xe_guc_register_vf_exec_queue(9)xe_guc_submit_print(9)xe_guc_has_registered_mlrc_queues(9)xe_guc_contexts_hwsp_rebase(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms