xe_guc_pc_mc6_residency(9)
π xe_guc_pc_mc6_residency(9) β so you wanna know about the mc6 residency counter
okay bestie, welcome to the Kernel API Manual, section 9, and today's main character is xe_guc_pc_mc6_residency π it's a tiny little function that hands you back an mc6 residency counter, and yes we're gonna get into it β¨
π NAME π
xe_guc_pc_mc6_residency β the mc6 residency counter, that's it, that's the whole vibe π¦
β¨ SYNOPSIS β¨
like, the whole signature, no cap:
u64 xe_guc_pc_mc6_residency (struct xe_guc_pc *pc );
it takes one thing and gives you back a u64. simple. iconic. periodt π
πΈ ARGUMENTS πΈ
pcβ aXe_GuC_PCinstance π«Ά that's the thing you're passing in, that's the whole argument list, we love a one-arg king π
π₯ SEE ALSO π₯
okay so this function does not exist in a vacuum, she has a whole friend group and honestly the whole squad is listed in the kernel file ./drivers/gpu/drm/xe/xe_guc_pc.c β go say hi to GuC Power Conservation (PC)(9) first, she's the ringleader π
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_get_max_freq(9)xe_guc_pc_set_max_freq(9)xe_guc_pc_c_status(9)xe_guc_pc_rc6_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, that's the whole group chat and every single one of them is invited π§ the getters, the setters, the rc6_residency cousin (she's different, she's rc6, don't mix them up π), the flush-freq-limit duo, and the start/stop/init/fini lifecycle girlies. all of them. no one left on read π
ngl the source lives in ./drivers/gpu/drm/xe and this page is dated October 2026 β shoutout to the Kernel API Manual for hosting, love that for us π
and that's the page, bestie!! π mwah π go read your counters, stay hydrated, and remember: (9) means it's a kernel API page, iykyk ππ
π¦ 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