xe_guc_min_l...for_hwconfig(9)
π xe_guc_min_load_for_hwconfig π
okay bestie, welcome to the Kernel API Manual entry for xe_guc_min_l...for_hwconfig(9) β yes the title is literally abbreviated like that, no cap, that's just how the page rolls β¨
πΈ NAME πΈ
xe_guc_min_load_for_hwconfig β load a minimal GuC and read the hwconfig table π
π¦ SYNOPSIS π¦
int xe_guc_min_load_for_hwconfig (struct xe_guc *guc );
that's it, that's the whole vibe check β one function, one pointer, iconic π
β¨ ARGUMENTS β¨
gucβ the GuC object π«Ά literally the main character here, everything happens to it.
π₯ DESCRIPTION π₯
okay so here's the whole plot, bestie:
First, this function uploads a minimal GuC β and ngl the key detail is that this minimal GuC does not support submissions, but it gets put in a state where the hwconfig table can be read. so it's like a lil baby GuC that can't do the fun stuff yet but can read the config πβ¨
Next, it reads and parses the hwconfig table so that table can be used for subsequent steps in the driver load. so yeah, this is setup-work, not the glamorous part, but the driver literally cannot proceed without it π
Lastly, it enables CT communication β and the original is calling out an XXX note here: this is needed for PFs/VFs only π (that's the manpage's own caveat, not me being dramatic, i'm just relaying it fr fr)
β RETURN β
0on success π- negative error code on error π
like, that's the whole return contract, no surprises, we love a clean API π
π§ SEE ALSO π§
you already know we're linking the whole friend group π kernel file ./drivers/gpu/drm/xe/xe_guc.c plus:
xe_guc_comm_init_early(9)xe_guc_init_post_hwconfig(9)xe_guc_softreset(9)xe_guc_runtime_suspend(9)xe_guc_runtime_resume(9)xe_guc_declare_wedged(9)xe_guc_using_main_gamctrl_queues(9)xe_hwe_guc_logical_instance(9)
go read those too, iykyk π
ok real talk: any time this returns a negative error code, treat it as a genuine "something went wrong during load" signal β the manpage says negative error code on error and that's the whole truth, so don't go inventing meanings for specific values π©·
and that's a wrap, bestie π this page lives in ./drivers/gpu/drm/xe, dated October 2026, and it's filed under xe_guc_min_l...for_hwconfig(9) β slay, go read the source π
β¨π¦
π¦ 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