From 3f88f5b3e922e49e7404684684aa1cf970348f04 Mon Sep 17 00:00:00 2001 From: Alexander Winkowski Date: Tue, 22 Feb 2022 16:04:19 +0000 Subject: [PATCH] sm6250-common: powerhint: Refine for reduced power consumption Tune powerhint.json using freqbench results [1]. Instead of increasing SchedTune boost, just boost big cluster to 825 MHz on interaction as it's the most efficient frequency. Replace 1248 MHz with a more efficient 1324 Mhz frequency step. [1] https://github.com/kdrag0n/freqbench/tree/96d72eac/results/sm7125/main Change-Id: I6655484527feecc3e0c815ddab3be319643cd92c --- configs/powerhint.json | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/configs/powerhint.json b/configs/powerhint.json index 0c9c57e..9bddfb7 100644 --- a/configs/powerhint.json +++ b/configs/powerhint.json @@ -5,7 +5,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", "Values": [ "9999999", - "1248000" + "1324800" ], "DefaultIndex": 0, "ResetOnInit": true @@ -16,7 +16,7 @@ "Values": [ "9999999", "1708800", - "1248000", + "1324800", "576000" ], "ResetOnInit": true @@ -37,6 +37,7 @@ "Values": [ "9999999", "1900800", + "825600", "652800" ], "ResetOnInit": true @@ -87,15 +88,6 @@ ], "ResetOnInit": true }, - { - "Name": "TASchedtuneBoost", - "Path": "/dev/stune/top-app/schedtune.boost", - "Values": [ - "20", - "10" - ], - "ResetOnInit": true - }, { "Name": "CPUBWHystTriggerCount", "Path": "/sys/class/devfreq/soc:qcom,cpu-cpu-llcc-bw/bw_hwmon/hyst_trigger_count", @@ -206,7 +198,7 @@ "PowerHint": "SUSTAINED_PERFORMANCE", "Node": "CPULittleClusterMaxFreq", "Duration": 0, - "Value": "1248000" + "Value": "1324800" }, { "PowerHint": "SUSTAINED_PERFORMANCE", @@ -216,15 +208,15 @@ }, { "PowerHint": "INTERACTION", - "Node": "CPULittleClusterMinFreq", + "Node": "CPUBigClusterMinFreq", "Duration": 0, - "Value": "1248000" + "Value": "825600" }, { "PowerHint": "INTERACTION", - "Node": "TASchedtuneBoost", + "Node": "CPULittleClusterMinFreq", "Duration": 0, - "Value": "20" + "Value": "1324800" }, { "PowerHint": "INTERACTION",