CTB DESCRIPTOR(9)
π CTB Descriptor(9) π
okay bestie, this page comes straight from the Kernel API Manual, and itβs literally the layout cheat sheet for the CTB Descriptor β every bit stays exactly where it belongs, no cap.
β¨ CTB Descriptor β¨
the way this descriptor is laid out is lowkey iconic. hereβs the whole bit-by-bit breakdown, and yes, weβre keeping every single detail:
- Row
0, bits31:0βHEADβ offset (in dwords) to the last dword that was read from theCT Buffer. It can only be updated by the receiver. - Row
1, bits31:0βTAILβ offset (in dwords) to the last dword that was written to theCT Buffer. It can only be updated by the sender. - Row
2, bits31:0βSTATUSβ status of the CTB:GUC_CTB_STATUS_NO_ERROR=0(normal operation)GUC_CTB_STATUS_OVERFLOW=1(head/tail too large)GUC_CTB_STATUS_UNDERFLOW=2(truncated message)GUC_CTB_STATUS_MISMATCH=4(head/tail modified)
- Row
...βRESERVED = MBZ - Row
15, bits31:0βRESERVED = MBZ
fr fr, MBZ is just sitting there being reserved β donβt touch it, bestie π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/abi/guc_communication_ctb_abi.h CT Buffer(9)CTB Message(9)CTB HXG Message(9)CTB based communication(9)
and thatβs the whole CTB Descriptor vibe π«Ά β brought to you by source/version ./drivers/gpu/drm/xe/abi, dated October 2026. slay β¨
π¦ 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