From f4a74c27e9bb4f72855b0297a42506326b9c3951 Mon Sep 17 00:00:00 2001 From: Peter Liu Date: Thu, 11 Mar 2021 20:33:24 -0800 Subject: [PATCH] camera power hint: add streaming high hint. Use the streaming high power hint for high power use case such as 4k60. Bug: 182184999 Signed-off-by: Peter Liu Change-Id: I2a12eaef54d13c82825e942325f4167fabc601cc --- powerhint.json | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/powerhint.json b/powerhint.json index 336b3954..2133b8b0 100644 --- a/powerhint.json +++ b/powerhint.json @@ -5,6 +5,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", "Values": [ "9999999", + "1401000", "1197000" ], "DefaultIndex": 0, @@ -45,7 +46,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq", "Values": [ "9999999", - "1999000" + "1826000" ], "DefaultIndex": 0, "ResetOnInit": true @@ -64,10 +65,11 @@ "Name": "GPUMinFreq", "Path": "/sys/devices/platform/1c500000.mali/scaling_min_freq", "Values": [ - "151000", - "762000" + "762000", + "471000", + "302000", + "151000" ], - "DefaultIndex": 0, "ResetOnInit": true }, { @@ -200,22 +202,34 @@ "Value": "9999999" }, { - "PowerHint": "CAMERA_STREAMING_STANDARD", + "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "CPUBigClusterMaxFreq", "Duration": 0, - "Value": "1999000" + "Value": "1826000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "CPULittleClusterMaxFreq", + "Duration": 0, + "Value": "1401000" + }, + { + "PowerHint": "CAMERA_STREAMING_HIGH", + "Node": "GPUMinFreq", + "Duration": 0, + "Value": "302000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", - "Node": "PreferHighCapEnable", + "Node": "CPUBigClusterMaxFreq", "Duration": 0, - "Value": "1" + "Value": "1826000" }, { "PowerHint": "CAMERA_STREAMING_STANDARD", "Node": "GPUMinFreq", "Duration": 0, - "Value": "762000" + "Value": "471000" }, { "PowerHint": "THERMAL_FLASH_LED_REDUCE_CRITICAL",