xe_guc_ct_send_recv(9)
π xe_guc_ct_send_recv(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this page is literally about sending and receiving HXG to the GuC, and it's lowkey iconic. Let's get into it π«Ά
π NAME π
xe_guc_ct_send_recv β send and receive HXG to the GuC π
β¨ SYNOPSIS β¨
Here's the exact signature, no cap:
int xe_guc_ct_send_recv (struct xe_guc_ct *ct , const u32 *action , u32
len , u32 *response_buffer );
π§ ARGUMENTS π§
ctβ thexe_guc_ctπactionβ the dword array withHXG Request_ message (can't be NULL) π«lenβ length of theHXG Request_ message (in dwords, can't be 0) π’response_bufferβ placeholder for theHXG Response_ message (can be NULL) πΈ
π¦ DESCRIPTION π¦
So like, this sends a HXG Request_ message to the GuC over the CT communication channel, then blocks until the GuC replies with a HXG Response_ message. It's giving "wait for it" energy πβ¨
For non-blocking communication with GuC, use xe_guc_ct_send β that's the main character who doesn't wait π
π NOTE π
bestie, listen: the size ofresponse_buffermust be at leastGUC_CTB_MAX_DWORDS_. That's not a suggestion, that's the rule π«Ά
π RETURN π
It returns the response length (in dwords) if response_buffer was not NULL, or DATA0 from HXG Response_ if response_buffer was NULL, or a negative error code on failure. Periodt π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_guc_ct.c GuC CTB Blob(9)xe_guc_ct_queue_proc_time_jiffies(9)xe_guc_ct_init_post_hwconfig(9)xe_guc_ct_restart(9)xe_guc_ct_enable(9)xe_guc_ct_disable(9)xe_guc_ct_flush_and_stop(9)xe_guc_ct_stop(9)xe_guc_ct_runtime_suspend(9)xe_guc_ct_runtime_resume(9)xe_guc_ct_send(9)xe_guc_ct_fast_path(9)xe_guc_ct_snapshot_capture(9)xe_guc_ct_snapshot_print(9)xe_guc_ct_snapshot_free(9)xe_guc_ct_print(9)
okay bye bestie! source/version: ./drivers/gpu/drm/xe, dated October 2026, all about xe_guc_ct_send_recv(9) β mwah ππ
π¦ 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