xe_guc_pc_c_status(9)
π xe_guc_pc_c_status(9) π
okay so this is a page from the Kernel API Manual β yes, the kernel has a manual, and yes, it's serving. we're talking about xe_guc_pc_c_status today, and honestly? it's giving "one job, does it well." π«Ά
β¨ NAME β¨
xe_guc_pc_c_status β get the current GT C state πΈ
like, literally what it says on the tin. you wanna know what C state the GT is chilling in? bestie, this is your function. no cap.
π SYNOPSIS π
enum xe_gt_idle_state xe_guc_pc_c_status (struct xe_guc_pc *pc );
look at that. clean. iconic. it takes one (1) pointer and hands you back an enum xe_gt_idle_state. that's the whole vibe. π
π¦ ARGUMENTS π¦
pcβ yourXE_GuC_PCinstance π that's it, that's the only thing you gotta hand over. one argument, zero drama, main character energy fr fr.
π SEE ALSO π
okay so there is a whole friend group here and honestly they all ate. the source of truth for all of this lives in the kernel file ./drivers/gpu/drm/xe/xe_guc_pc.c β go read it, it's worth it, iykyk πβ¨
first up, the big one: GuC Power Conservation (PC)(9) β the parent friend, the one who organises the group chat.
and then the rest of the squad, alphabetically-ish, all in the same family:
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_get_max_freq(9)xe_guc_pc_set_max_freq(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)
that's the whole roster. getters, setters, residency checks, init, fini, start, stop, print β the full lifecycle plus the freq lore. obsessed. π₯
lowkey reminder bestie: this page only coversxe_guc_pc_c_status. everything about the other functions lives on their own pages, so don't come for me if you need details on the freq stuff β go readxe_guc_pc_get_cur_freq(9)like a good little kernel gremlin π§
π and that's the page!! short, sweet, and to the point β just like this function. written from the kernel file at ./drivers/gpu/drm/xe, dated October 2026, and yeah β that's the source and the version, so now you know where to look if anything has changed since. 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