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 <pingchienliu@google.com>
Change-Id: I2a12eaef54d13c82825e942325f4167fabc601cc
This commit is contained in:
Peter Liu 2021-03-11 20:33:24 -08:00
parent 290f84e15c
commit f4a74c27e9

View file

@ -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",