xe_guc_pc_get_max_freq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ xe_guc_pc_get_max_freq(9) ✨

okay bestie so we're in the Kernel API Manual today and this one's a little cutie β€” it literally just reads the maximum operational frequency off the GuC PC and hands it back to you. no drama, no side effects, just vibes and a u32 πŸ’…


🌸 SYNOPSIS 🌸

int xe_guc_pc_get_max_freq (struct xe_guc_pc *pc , u32 *freq );

like, you give it a pc and somewhere to stash the number, and it does the thing 🫢


πŸ’– ARGUMENTS πŸ’–

  • pc β€” The GuC PC. yes that's your power-conservation buddy, the main character of this whole file ✨
  • freq β€” A pointer to a u32 where the freq value will be returned. so like, hand it an empty little box and it fills it in for you πŸŽ€

πŸ¦‹ RETURN πŸ¦‹

  • 0 on success πŸ’š β€” we ate, no crumbs.
  • -EAGAIN if GuC PC not ready β€” and lowkey that usually means it's likely in middle of a reset, so it's not you, it's the hardware going through something 😭 give it a sec and try again, fr fr.
ngl if you get -EAGAIN do not panic, it's just the GuC PC being mid-reset. very "not me right now" energy πŸ’€

🌈 SEE ALSO 🌈

okay this list is long bestie, but every single one matters, no skipping 🫢

like, the whole friend group showed up for this one 🌸 periodt.


and that's the page diva πŸ’œ this lil drop came out of ./drivers/gpu/drm/xe back in October 2026, and it's filed under xe_guc_pc_get_max_freq(9) in case you need to find it again. mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from