xe_guc_id_mgr_init(9)
β¨ xe_guc_id_mgr_init(9) β¨
okay so bestie, welcome to the Kernel API Manual π today's main character is xe_guc_id_mgr_init β the little function that gets your GuC context ID Manager all set up and ready to slay π
πΈ NAME πΈ
xe_guc_id_mgr_init β literally just Initialize GuC context ID Manager. that's the whole vibe β¨
π¦ SYNOPSIS π¦
int xe_guc_id_mgr_init (struct xe_guc_id_mgr *idm , unsigned int limit
);
like. look at her go π
returns an int, takes two things, done. iconic behavior honestly.
π ARGUMENTS π
idmβ thexe_guc_id_mgryou're initializing, bestie. this is the manager. the one we're setting up π«Άlimitβ number of IDs to manage. yes, an actual count. no cap π’
π DESCRIPTION π
so here's the tea β the bare-metal or PF driver can pass ~0 as the limit to say "hey, all the context IDs supported by the GuC firmware are available for use" β like, the whole closet is yours, go off π
only VF drivers have to actually provide an explicit number of context IDs that they can use. so if you're a VF, no being vague, you gotta say the number fr fr π
β RETURN β
0 on success π or a negative error code on failure π that's it, that's the whole return situation.
π₯ SEE ALSO π₯
- Kernel file
./drivers/gpu/drm/xe/xe_guc_id_mgr.cβ the source, the origin story π xe_guc_id_mgr_reserve_locked(9)xe_guc_id_mgr_release_locked(9)xe_guc_id_mgr_reserve(9)xe_guc_id_mgr_release(9)xe_guc_id_mgr_print(9)
the whole friend group honestly, go read them all, iykyk ππ
okay that's the page!! π§ this little cutie lives in ./drivers/gpu/drm/xe, dated October 2026, and it's page xe_guc_id_mgr_init(9) of the Kernel API Manual β mwah, go init some ID managers bestie, you got this πΈπ
π
π¦ 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