SLPC H2G MESSAGE FORMAT(9)
π SLPC H2G MESSAGE FORMAT π
okay bestie, so this is a page from the Kernel API Manual, section 9, and it's literally just the β¨ layout β¨ of the SLPC host-to-GUC (H2G) message. Like, the actual byte-by-byte fit check for the vibe. Every bit is accounted for, no cap. Here's the whole thing, exactly as it's drawn:
ββββββββββββββββββββββββββββββ
β Bits Description β
ββββββββββββββββββββββββββββββ
+===+=======+==============================================================+
| 0 | 31 | ORIGIN = GUC_HXG_ORIGIN_HOST_
| |
+-------+--------------------------------------------------------------+
| | 30:28 | TYPE = GUC_HXG_TYPE_REQUEST_
| |
+-------+--------------------------------------------------------------+
| | 27:16 | DATA0 = MBZ
| |
+-------+--------------------------------------------------------------+
| | 15:0 | ACTION = _`GUC_ACTION_HOST2GUC_PC_SLPM_REQUEST` = 0x3003
|
βββββββββββββββββββββββββββββββ
β 1 31:8 **EVENT_ID** β
βββββββββββββββββββββββββββββββ
+
+-------+--------------------------------------------------------------+
| | 7:0 | **EVENT_ARGC** - number of data arguments
|
ββββββββββββββββββββββββββββββββββββ
β 2 31:0 **EVENT_DATA1** β
β ... 31:0 ... β
β 2+n 31:0 **EVENT_DATAn** β
ββββββββββββββββββββββββββββββββββββ
so let's break down the drama, slot by slot π
- slot
0β the header era, it's giving very structured:- bits
31βORIGIN = GUC_HXG_ORIGIN_HOST_. hi, it's the host calling π«Ά - bits
30:28βTYPE = GUC_HXG_TYPE_REQUEST_. it's a request, obviously, main character energy - bits
27:16βDATA0 = MBZ. that's Must Be Zero, so please, keep it zero, no notes β¨ - bits
15:0βACTION = GUC_ACTION_HOST2GUC_PC_SLPM_REQUEST, and it equals0x3003. iconic hex moment π₯
- bits
- slot
1β the event details:- bits
31:8βEVENT_ID - bits
7:0βEVENT_ARGCβ the number of data arguments, i.e. how many payload besties are coming next
- bits
- slot
2β¦ slot2+nβ the payload parade π:- slot
2, bits31:0βEVENT_DATA1 ...bits31:0β...- slot
2+n, bits31:0βEVENT_DATAn
- slot
like, the way n is just matching up with EVENT_ARGC? the math is mathing, we love a consistent queen π
π SEE ALSO π
go read these next, fr fr:
- the kernel file
./drivers/gpu/drm/xe/abi/guc_actions_slpc_abi.h SLPC SHARED DATA STRUCTURE(9)SETUP_PC_GUCRC(9)
and that's the whole page, bestie π¦ it lives in ./drivers/gpu/drm/xe/abi, it's from October 2026, and it's part of the Kernel API Manual (section 9, SLPC H2G MESSAGE FORMAT). tysm for reading, stan a bitfield for clear skin πβ¨
π¦ 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