xe_guc_pc_ac..._unset_param(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” your Xe_GuC_PC instance, aka the whole reason we're here 🫢
  • id β€” the Param 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:

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