From b0d272f9357159c318e06e2a4cd76accff2dfd28 Mon Sep 17 00:00:00 2001 From: Alexander Winkowski Date: Fri, 6 Aug 2021 19:24:28 +0200 Subject: [PATCH] sm6250-common: powerhint: Avoid boosting to max freq The maximum frequency isn't effective from power consumption terms on both clusters [1]. Replace maximum frequencies with lower ones to save some power. [1] https://github.com/kdrag0n/freqbench/tree/96d72eac/results/sm7125/main Change-Id: I6336bfce0dae8f578704c0bd9644c2829389762f --- configs/powerhint.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/powerhint.json b/configs/powerhint.json index 262d479..3918249 100644 --- a/configs/powerhint.json +++ b/configs/powerhint.json @@ -15,6 +15,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1708800", "1248000", "576000" ], @@ -35,6 +36,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1900800", "652800" ], "ResetOnInit": true @@ -279,13 +281,13 @@ "PowerHint": "LAUNCH", "Node": "CPUBigClusterMinFreq", "Duration": 5000, - "Value": "9999999" + "Value": "1900800" }, { "PowerHint": "LAUNCH", "Node": "CPULittleClusterMinFreq", "Duration": 5000, - "Value": "9999999" + "Value": "1708800" }, { "PowerHint": "LAUNCH",