xe_guc_pc_ac..._unset_param(9)
π NAME π
xe_guc_pc_action_unset_param β bestie, this one just puts it back to the default value β¨
So like, you know how there's a whole kernel API manual situation happening here? Yeah. We're in the xe_guc_pc_ac..._unset_param(9) zone, and this function is the "undo" button for SLPC params. Iconic behavior, honestly.
β¨ SYNOPSIS β¨
int xe_guc_pc_action_unset_param (struct xe_guc_pc *pc , u8 id );
That's the whole vibe right there β it takes a pc and an id, and it gives you back an int. Simple. Clean. Main character energy. π
π¦ ARGUMENTS π¦
pcβ yourXe_GuC_PCinstance, aka the whole reason we're here π«Άidβ theParam id, so like, which param are we un-setting, bestie? Gotta tell her.
πΈ DESCRIPTION πΈ
Okay so here's the tea β: this function can be used to revert any SLPC param back to its default value. That's it. That's the whole job. No cap.
The way it justβ¦ puts things back? Obsessed. It's giving factory reset but make it a single function call. If you set a param with xe_guc_pc_action_set_param and then you're like "hmm, actually, never mind π", this is your girl. She does not judge. She just reverts.
Lowkey important: it says any SLPC param, so don't come for me if you thought it was picky. It's not. It's an equal-opportunity reverter. π
β RETURN β
0 on Success β
That's the only value documented here, so that's the only one I'm claiming. Don't @ me. π
π₯ SEE ALSO π₯
Alright bestie, buckle up, because this list is long and every single one of them is getting their moment:
- Kernel file
./drivers/gpu/drm/xe/xe_guc_pc.c - GuC Power Conservation (PC)(9)
xe_guc_pc_action_set_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_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, that's the whole friend group. Go read them too, iykyk π
And that's a wrap, bestie! π§ This little gem lives over in ./drivers/gpu/drm/xe, it's dated October 2026, and it goes by xe_guc_pc_ac..._unset_param(9). Slay, bye! πβ¨
π¦ 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