Linux kernel 7.1 lands with significant power management patches for AMD and Intel laptops. Among the changes, the solution to early failures in Dynamic EPP of the AMD P-State driver stands out, which adjusts the performance profile based on the power source. Developers have removed Dynamic EPP from the Kconfig compilation options.
Dynamic EPP now activated as a module parameter ⚡
To enable Dynamic EPP, users must add amd_pstate=dynamic_epp=1 at boot. This decision responds to errors that caused unpredictable behavior during the transition between battery and AC power. On Intel, calibration issues in the intel_pstate driver affecting recent CPUs have been fixed. Both changes aim for stability without relying on compilation configurations.
Fine-tuning: now it's time to write by hand 🛠️
Because nothing says advanced user like having to type a boot parameter so your laptop decides when to save battery. Developers have decided that enabling features from the configuration menu was too convenient. Now it's time to memorize text strings or paste them into grub as if it were a magic spell. Welcome to Linux, where even saving energy requires an incantation.