xe_guc_using...mctrl_queues(9)
π xe_guc_using_main_gamctrl_queues(9) β the "which queues tho" check π
okay bestie, so this one's a kernel API page from the manual, and it's lowkey a little baddie. it lives in the kernel docs, section 9, and the whole name is xe_guc_using_main_gamctrl_queues β the header up top just abbreviates it to xe_guc_using...mctrl_queues(9) because apparently even man pages get tired. anyway. let's go π
β¨ NAME β¨
xe_guc_using_main_gamctrl_queues β literally just: detect which reporting queues to use. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
so you call it like this, no cap:
bool xe_guc_using_main_gamctrl_queues(struct xe_guc *guc);
returns a bool, takes one pointer to a struct xe_guc. simple. iconic. periodt. β¨
π ARGUMENTS π
gucβ The GuC object. that's it, that's the whole argument list. one (1) guy. go off king π
π§ DESCRIPTION π§
okay so here's the tea, and honestly it's giving "we're upgrading the whole setup" π«Ά
For Xe3p and beyond, we want to program the hardware to use the "Main GAMCTRL queue" rather than the legacy queue β and we gotta do it before we upload the GuC firmware. the way that timing matters... π
why tho? because this lets the GuC use a new set of registers for pagefault handling, and it also helps us avoid some unnecessary complications with MCR register range handling. so like, fewer headaches. cleaner vibes. we love that for us. π
fr fr, the order is the whole point β main GAMCTRL queue gets set up before the GuC firmware upload. don't be out here doing it backwards π
β RETURN β
returns true if we can use the new main gamctrl queues. yes, that's the entire return contract. short and slay. π₯
π SEE ALSO π
the whole friend group, in a kernel file called ./drivers/gpu/drm/xe/xe_guc.c:
xe_guc_comm_init_early(9)xe_guc_init_post_hwconfig(9)xe_guc_min_load_for_hwconfig(9)xe_guc_softreset(9)xe_guc_runtime_suspend(9)xe_guc_runtime_resume(9)xe_guc_declare_wedged(9)xe_hwe_guc_logical_instance(9)
go read those too, iykyk π
π cute sign-off time π this page lives under ./drivers/gpu/drm/xe, and the footer stamps it October 2026. you're welcome, bestie. now go use the main gamctrl queues and be iconic about it πβ¨π
π¦ 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