xe_guc_pc_action_set_param(9)
π
xe_guc_pc_action_set_param β Kernel API Manual β¨
okay bestie, welcome to the glow-up page for xe_guc_pc_action_set_param(9) β it lives in the Kernel API Manual and it's literally the "set a value on the SLPC param" girlie. she's short, she's sweet, she does exactly one thing and she does it slayfully π
β¨ SYNOPSIS β¨
int xe_guc_pc_action_set_param (struct xe_guc_pc *pc , u8 id , u32 value
);
that's it. that's the whole vibe. one call, three args, returns an int. no cap π
πΈ ARGUMENTS πΈ
pcβ theXe_GuC_PCinstance, aka your main character. this is the power-conservation struct you're passing in, and yes she's required π«Άidβ the param id (u8), so the function knows which SLPC param you're talking about. pick your fighter wisely β¨valueβ the value to set (u32). this is the actual number you want to hand over. iconic behavior π
π¦ DESCRIPTION π¦
so here's the tea: this function can be used to set any SLPC param. literally any of them. that's the entire job description, and honestly? respect. it's giving "small function, big responsibilities" π
if you ever find yourself needing to poke a value into an SLPC param, this is the doorway. no extra commentary needed, she said what she said π₯
β RETURN β
0on Success
that's it. zero means slay. periodt πβ¨
π SEE ALSO π
bestie you are NOT ready for this friend group. it's the whole xe_guc_pc extended universe, plus the source file herself π
- Kernel file
./drivers/gpu/drm/xe/xe_guc_pc.cGuC Power Conservation (PC)(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_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 a whole friend group chat and every single one of them got an invite π
mwah π this page came straight out of ./drivers/gpu/drm/xe, dated October 2026, and she's filed under xe_guc_pc_action_set_param(9). take care of her, she's iconic πβ¨
π¦ 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