xe_guc_id_mg...serve_locked(9)
π xe_guc_id_mg...serve_locked(9) π
okay so this is a page from the Kernel API Manual and honestly? she's niche but she's iconic. buckle up bestie, we're getting you a GuC context ID β¨
πΈ NAME πΈ
xe_guc_id_mgr_reserve_locked β reserve one or more GuC context IDs π
π SYNOPSIS π
int xe_guc_id_mgr_reserve_locked (struct xe_guc_id_mgr *idm , unsigned
int count );
like literally that's the whole call, that's the vibe π¦
β ARGUMENTS β
idmβ thexe_guc_id_mgr, aka the manager struct in question. she's the main character here πcountβ how many IDs you want to allocate. warning bestie: this can't be0β zero is not the move, don't do it π
π DESCRIPTION π
okay so this function is dedicated for the use by the GuC submission code, where the submission lock is already taken. that's the whole point of the _locked in her name, iykyk π₯
fr fr if you're not in that code path, this is not your function β she's spoken for π
π RETURN π
- the ID of the allocated GuC context if everything slays β¨
- or a negative error code on failure π (ngl, if you see a negative, something went sideways)
π¦ SEE ALSO π¦
Kernel file ./drivers/gpu/drm/xe/xe_guc_id_mgr.c β go read the source, it's giving transparency π«Ά
xe_guc_id_mgr_init(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)
like the whole friend group, honestly π
mwah π this page lives in ./drivers/gpu/drm/xe, says October 2026, and answers to the name xe_guc_id_mg...serve_locked(9) β periodt, that's the whole manpage, love u bye ππ
π¦ 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