diff mbox series

[SRU,N,2/5,v2] cpufreq: intel_pstate: Update default EPPs for Meteor Lake

Message ID 20240904141033.819456-3-pedro.kopper@canonical.com
State New
Headers show
Series [SRU,N,1/5,v2] cpufreq: intel_pstate: Allow model specific EPPs | expand

Commit Message

Pedro Henrique Kopper Sept. 4, 2024, 2:07 p.m. UTC
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>

BugLink:  https://bugs.launchpad.net/bugs/2077470

Update default balanced_performance EPP to 115 and performance EPP to 16.

Changing the balanced_performance EPP has better performance/watt
compared to default powerup EPP value of 128.

Changing the performance EPP to 0x10 shows reduced power for similar
performance as EPP 0. On small form factor devices this is beneficial
as lower power results in lower CPU and skin temperature. This
results in reduced thermal throttling and higher performance.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Pedro Henrique Kopper <pedro.kopper@canonical.com>
(cherry picked from commit 324b47e53a03951510ef2ebacce3e6e158114580)
Signed-off-by: Pedro Henrique Kopper <pedro.kopper@canonical.com>
---
 drivers/cpufreq/intel_pstate.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index 58dbfe9b76ae..18ba78cdf6ed 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -3431,6 +3431,8 @@  static const struct x86_cpu_id intel_epp_default[] = {
 	 */
 	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, HWP_SET_DEF_BALANCE_PERF_EPP(102)),
 	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, HWP_SET_DEF_BALANCE_PERF_EPP(32)),
+	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, HWP_SET_EPP_VALUES(HWP_EPP_POWERSAVE,
+							HWP_EPP_BALANCE_POWERSAVE, 115, 16)),
 	{}
 };