From ddf80f0181947aada1526310ba823a0f4e896d5d Mon Sep 17 00:00:00 2001 From: Clarence K Date: Tue, 19 Jul 2022 14:14:17 +0800 Subject: [PATCH] sdm660-common: power-libperfmgr: Rework CPU freq * Let interaction runs on the most efficient freq for both big and little cluster Signed-off-by: Clarence K Signed-off-by: pix106 --- power-libperfmgr/sdm660_powerhint.json | 30 ++++++-------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/power-libperfmgr/sdm660_powerhint.json b/power-libperfmgr/sdm660_powerhint.json index 74a2ae6a..aad3a82f 100644 --- a/power-libperfmgr/sdm660_powerhint.json +++ b/power-libperfmgr/sdm660_powerhint.json @@ -5,12 +5,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", "Values": [ "9999999", - "1747200", - "1401600", - "902400", - "1113600", - "1536000", - "1843200" + "1113600" ], "DefaultIndex": 0, "ResetOnInit": true @@ -20,9 +15,6 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Values": [ "9999999", - "1536000", - "1401600", - "902400", "1113600", "633600" ], @@ -33,12 +25,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Values": [ "9999999", - "1747200", - "1113600", - "1401600", - "1958400", - "2150400", - "2208000" + "1401600" ], "DefaultIndex": 0, "ResetOnInit": true @@ -48,9 +35,6 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq", "Values": [ "9999999", - "1747200", - "1401600", - "0", "1113600" ], "ResetOnInit": true @@ -269,13 +253,13 @@ "PowerHint": "INTERACTION", "Node": "CPUBigClusterMinFreq", "Duration": 0, - "Value": "1401600" + "Value": "1113600" }, { "PowerHint": "INTERACTION", "Node": "CPULittleClusterMinFreq", "Duration": 0, - "Value": "1401600" + "Value": "633600" }, { "PowerHint": "INTERACTION", @@ -461,13 +445,13 @@ "PowerHint": "AUDIO_LAUNCH", "Node": "CPUBigClusterMinFreq", "Duration": 0, - "Value": "1401600" + "Value": "1113600" }, { "PowerHint": "AUDIO_LAUNCH", "Node": "CPUBigClusterMaxFreq", "Duration": 0, - "Value": "9999999" + "Value": "1401600" }, { "PowerHint": "AUDIO_STREAMING_LOW_LATENCY", @@ -503,7 +487,7 @@ "PowerHint": "Flipendo", "Node": "CPULittleClusterMaxFreq", "Duration": 0, - "Value": "1401600" + "Value": "1113600" }, { "PowerHint": "Flipendo",