HOST2GUC_CONTROL_CTB(9)
π HOST2GUC_CONTROL_CTB π
okay bestie, welcome to the Kernel API Manual β¨ β yes that's the whole vibe, we're in kernel-land now, put your hair up.
πΈ NAME πΈ
HOST2GUC_CONTROL_CTB β the H2G action that literally lets the Vf Host turn CT Buffer communication on or off, both directions, no cap π
β¨ DESCRIPTION β¨
So here's the tea β: this H2G action allows the Vf Host to enable or disable the H2G and G2H CT Buffer. Both. At once. Iconic, honestly π¦
π¨ one thing you literally cannot skip: this message must be sent as an MMIO HXG Message. That's not a suggestion, that's the rule, periodt.
π the request packet (dword 0)
Bits Description
31 ORIGIN = GUC_HXG_ORIGIN_HOST_
30:28 TYPE = GUC_HXG_TYPE_REQUEST_
27:16 DATA0 = MBZ
15:0 ACTION = GUC_ACTION_HOST2GUC_CONTROL_CTB = 0x4509
π the request payload (dword 1)
31:0 CONTROL - control CTB based communication
GUC_CTB_CONTROL_DISABLE = 0
GUC_CTB_CONTROL_ENABLE = 1
so likeβ¦ 0 = off, 1 = on. the simplest little vibe check in the whole ABI, we love her for that π
π§ and the response back (dword 0)
Bits Description
31 ORIGIN = GUC_HXG_ORIGIN_GUC_
30:28 TYPE = GUC_HXG_TYPE_RESPONSE_SUCCESS_
27:0 DATA0 = MBZ
notice the ORIGIN flips to GUC_HXG_ORIGIN_GUC_ and the TYPE is GUC_HXG_TYPE_RESPONSE_SUCCESS_ β that's the GuC going "heard you bestie, done" π and DATA0 is MBZ (must be zero) because there's literally nothing else to say. silent slay. π₯
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/abi/guc_actions_abi.hβ go read the source, iykyk π HOST2GUC_SELF_CFG(9)β her sister page, also a baddie π«Ά
k bye ily, go forth and control those buffers responsibly ππ β this was brought to you by the source at ./drivers/gpu/drm/xe/abi, dated October 2026, and the manual name Kernel API Manual πβ¨
π¦ 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