pp_power_profile_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pp_power_profile_mode πŸ’…

okay so bestie, this is the pp_power_profile_mode(9) page from the Kernel API Manual, and it's giving big GPU-brain energy. the amdgpu driver ships a sysfs API for adjusting the heuristics that control switching between power levels in a power state β€” and the file responsible for all of that is pp_power_profile_mode. she's the one, fr fr. πŸ”₯


πŸ¦‹ what reading it gives you πŸ¦‹

when you read this file, it outputs a list of all of the predefined power profiles plus the relevant heuristics settings for each one. like a little menu of vibes, but for your GPU. ✨

πŸ’… selecting or customizing a profile πŸ’…

to select a profile or create a custom one, first you select manual using power_dpm_force_performance_level β€” no cap, that's step one, don't skip it.

  • writing the number of a predefined profile to pp_power_profile_mode enables those heuristics. easy slay.
  • to create a custom set of heuristics, write a string of numbers to the file, starting with the number of the custom profile, along with a setting for each heuristic parameter.
⚠️ real talk: due to differences across asic families, the heuristic parameters vary from family to family. so what's iconic on one family is not it on another. iykyk 🫢

and here's the extra cute part β€” you can apply the custom heuristics to different clock domains. each clock domain is considered a distinct operation, so if you modify the gfxclk heuristics and then the memclk heuristics, all of the custom heuristics will be retained until you switch to another profile. she remembers everything until you move on. πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, bestie β€” you ate that πŸ“ this one lives at ./drivers/gpu/drm/amd/pm, dated October 2026, and honestly? iconic of her. πŸ’œ

πŸ“¦ where this page comes from