xe_guc_id_mg...serve_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the xe_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 be 0 β€” 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 🫢

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