STRUCT GUC_CTB_INFO(9)
π struct guc_ctb_info(9) π
okay so real talk, this is a page straight out of the Kernel API Manual and it's all about one lil struct, and honestly? she's iconic. no cap. let's get into it bestie π«Ά
β¨ NAME β¨
struct guc_ctb_info β the GuC command transport buffer (CTB) info π
like, it's literally the info struct for the CTB. that's the whole vibe check.
πΈ SYNOPSIS πΈ
here's the whole struct, looking exactly like this, don't touch a single character:
struct guc_ctb_info {
u32 size;
u32 resv_space;
u32 head;
u32 tail;
u32 space;
bool broken;
};
she's short, she's sweet, she's got six members and every single one of them matters. periodt.
π Members π
okay bestie, let's go member by member because each one is doing her own lil job π₯
sizeβ the size of the CTB commands, measured in DW. that's the whole capacity vibe.resv_spaceβ the reserved space of the CTB commands, also in DW. think of it as the part that's already spoken for πheadβ the head of the CTB commands, in DW. yes, she has a head, she's a whole creature.tailβ the tail of the CTB commands, in DW. head's bestie fr fr.spaceβ the space in the CTB commands, in DW. this is your actual room-to-breathe situation.brokenβ aboolthat says whether the channel is broken. and honestly? if this one's true, it's giving π. dramatic but accurate.
π¦ reminder:size,resv_space,head,tailandspaceare all measured in DW, andbrokenis the one and onlyboolin the group. don't mix them up, bestie.
π SEE ALSO π
go read these next, they're literally the friend group π
- Kernel file
./drivers/gpu/drm/xe/xe_guc_ct_types.h struct guc_ctb(9)struct guc_ctb_snapshot(9)struct xe_guc_ct_snapshot(9)enum xe_guc_ct_state(9)struct xe_guc_ct(9)
β¨ and that's the whole page, bestie. she's filed under ./drivers/gpu/drm/xe, she's stamped October 2026, and she answers to the name struct guc_ctb_info(9). mwah π go forth and read structs responsibly π§π
π¦ 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