xe_guc_pc_get_cur_freq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

xe_guc_pc_get_cur_freq β€” Get Current requested frequency

okay bestie, quick vibe check: this page is from the Kernel API Manual, and the main character is xe_guc_pc_get_cur_freq(9) β€” it is literally here to get the current requested frequency. no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

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

πŸŽ€ ARGUMENTS πŸŽ€

  • pc β€” The GuC PC. yes, that exact struct from the synopsis, bestie 🫢
  • freq β€” A pointer to a u32 where the freq value will be returned. it’s giving output-parameter energy ✨

πŸ’œ RETURN πŸ’œ

  • 0 on success πŸŽ‰
  • -EAGAIN if GuC PC not ready (likely in middle of a reset).
okay so if you see -EAGAIN, the GuC PC is not ready β€” and the manual says that’s likely because it’s in the middle of a reset. not me being dramatic, that is literally the caveat 😭

🌈 SEE ALSO 🌈


mwah πŸ’‹ that’s the whole page. source/version vibes: shipped from ./drivers/gpu/drm/xe, dated October 2026, and the page name is xe_guc_pc_get_cur_freq(9). bye bestie, go get that freq πŸ§šπŸ’–

πŸ“¦ where this page comes from