xe_guc_pc_get_max_freq(9)
β¨ 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 au32where the freq value will be returned. so like, hand it an empty little box and it fills it in for you π
π¦ RETURN π¦
0on success π β we ate, no crumbs.-EAGAINif 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 π«Ά
- Kernel file
./drivers/gpu/drm/xe/xe_guc_pc.cβ the actual source, go read it, it's giving lore π - GuC Power Conservation (PC)(9)
xe_guc_pc_action_set_param(9)xe_guc_pc_action_unset_param(9)xe_guc_pc_get_act_freq(9)xe_guc_pc_get_cur_freq_fw(9)xe_guc_pc_get_cur_freq(9)xe_guc_pc_get_rp0_freq(9)xe_guc_pc_get_rpa_freq(9)xe_guc_pc_get_rpe_freq(9)xe_guc_pc_get_rpn_freq(9)xe_guc_pc_get_min_freq(9)xe_guc_pc_set_min_freq(9)xe_guc_pc_set_max_freq(9)xe_guc_pc_c_status(9)xe_guc_pc_rc6_residency(9)xe_guc_pc_mc6_residency(9)xe_guc_pc_raise_unslice(9)xe_guc_pc_init_early(9)xe_guc_pc_apply_flush_freq_limit(9)xe_guc_pc_remove_flush_freq_limit(9)xe_guc_pc_restore_stashed_freq(9)xe_guc_pc_start(9)xe_guc_pc_stop(9)xe_guc_pc_fini_hw(9)xe_guc_pc_init(9)xe_guc_pc_print(9)
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
- 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