From 9342bb887b3d39a61967ea4aec3e8b10d6ef227f Mon Sep 17 00:00:00 2001 From: Shanmuga Pandi M Date: Fri, 23 Sep 2022 08:18:07 +0000 Subject: [PATCH] [L10] Relax CPU minimum frequency boost for LAUNCH_CAMERA Bug: 248960565 Test: CTS testCameraLaunch, GCA Change-Id: I075b7f4447327be4ef601c531b43473f79dbc74a --- powerhint.json | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/powerhint.json b/powerhint.json index 8b7b688..3a1fef8 100644 --- a/powerhint.json +++ b/powerhint.json @@ -41,6 +41,7 @@ "Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1401000", "1197000", "0" ], @@ -68,6 +69,7 @@ "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1836000", "1197000", "0" ], @@ -95,6 +97,7 @@ "Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq", "Values": [ "9999999", + "1826000", "1106000", "0" ], @@ -151,6 +154,15 @@ ], "ResetOnInit": true }, + { + "Name": "CAMUClampBoost", + "Path": "/proc/vendor_sched/cam_uclamp_min", + "Values": [ + "612", + "0" + ], + "ResetOnInit": true + }, { "Name": "TAUClampBoost", "Path": "/proc/vendor_sched/ta_uclamp_min", @@ -576,7 +588,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUBigClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1826000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -588,7 +600,7 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPUMidClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1836000" }, { "PowerHint": "CAMERA_LAUNCH", @@ -600,7 +612,13 @@ "PowerHint": "CAMERA_LAUNCH", "Node": "CPULittleClusterMinFreq", "Duration": 1000, - "Value": "9999999" + "Value": "1401000" + }, + { + "PowerHint": "CAMERA_LAUNCH", + "Node": "CAMUClampBoost", + "Duration": 1000, + "Value": "612" }, { "PowerHint": "CAMERA_LAUNCH",