[TRACKING] PPD v TLP for AMD Ryzen 7040

You can look at the PPD and Framework’s EC source code to see exactly what is changed. To summarize it, changing the slider will now:

  1. Set the EPP preference, which is a bias described here: amd-pstate CPU Performance Scaling Driver — The Linux Kernel documentation
  2. Set the CPUFreq scaling governor to either powersave or performance.
  3. Set the ACPI platform profile. This will use the amd-pmf driver to notify Framework’s EC to change CPU coefficients. The exact changes made are described here: EmbeddedController/zephyr/program/lotus/azalea/src/cpu_power.c at lotus-zephyr · FrameworkComputer/EmbeddedController · GitHub

This sure sounds like a kernel bug to me. Can you reproduce it on 6.7-rc7? If so; would you please file a kernel bugzilla with all the details from the command cpupower frequency-info before and after suspend?

NOTE: Unfortunately using this command is a little awkward on the Ubuntu mainline PPA, you might need to compile from scratch to get the tool.

7 Likes