From 7bd77bc00ab8b594444f537ee6e3b8693f9fd562 Mon Sep 17 00:00:00 2001 From: clarencelol Date: Sun, 20 Feb 2022 23:57:27 +0800 Subject: [PATCH] sdm660-common: power-libperfmgr: Update powerhint * Add more nodes * Increase interaction value to reduce janks Signed-off-by: clarencelol Signed-off-by: pix106 --- power-libperfmgr/sdm660_powerhint.json | 31 +++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/power-libperfmgr/sdm660_powerhint.json b/power-libperfmgr/sdm660_powerhint.json index 4c697d24..4c19a923 100644 --- a/power-libperfmgr/sdm660_powerhint.json +++ b/power-libperfmgr/sdm660_powerhint.json @@ -5,8 +5,12 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", "Values": [ "9999999", + "1747200", "1401600", - "1113600" + "902400", + "1113600", + "1536000", + "1843200" ], "DefaultIndex": 0, "ResetOnInit": true @@ -16,7 +20,9 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1536000", "1401600", + "902400", "1113600", "633600" ], @@ -27,7 +33,12 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Values": [ "9999999", - "1401600" + "1747200", + "1113600", + "1401600", + "1958400", + "2150400", + "2208000" ], "DefaultIndex": 0, "ResetOnInit": true @@ -37,7 +48,9 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1747200", "1401600", + "0", "1113600" ], "ResetOnInit": true @@ -255,11 +268,17 @@ "Duration": 0, "Value": "3" }, + { + "PowerHint": "INTERACTION", + "Node": "CPUBigClusterMinFreq", + "Duration": 0, + "Value": "1401600" + }, { "PowerHint": "INTERACTION", "Node": "CPULittleClusterMinFreq", "Duration": 0, - "Value": "1113600" + "Value": "1401600" }, { "PowerHint": "INTERACTION", @@ -381,6 +400,12 @@ "Duration": 1000, "Value": "9999999" }, + { + "PowerHint": "CAMERA_STREAMING_MID", + "Node": "CPUBigClusterMaxFreq", + "Duration": 0, + "Value": "1401600" + }, { "PowerHint": "CAMERA_STREAMING_MID", "Node": "CPUBWSampleMs",