Add CAMERA_CPU_THROTTLE as power hint.

Bug: 195327798
Test: CPU cores max frequencies updated properly
Change-Id: Idaacbfa1b4dca7765e9754d4aff997dd2495c2a9
This commit is contained in:
Minghui Tan 2021-08-02 17:25:16 -07:00
parent 6c444eebdf
commit ee3e6daf69

View file

@ -24,6 +24,7 @@
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
"Values": [
"9999999",
"1098000",
"1401000",
"1197000"
],
@ -45,6 +46,7 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
"Values": [
"9999999",
"1024000",
"1999000",
"1491000"
],
@ -66,6 +68,7 @@
"Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq",
"Values": [
"9999999",
"984000",
"1826000"
],
"DefaultIndex": 0,
@ -462,6 +465,24 @@
"Duration": 1000,
"Value": "4-7"
},
{
"PowerHint": "CAMERA_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 1000,
"Value": "984000"
},
{
"PowerHint": "CAMERA_CPU_THROTTLE",
"Node": "CPUMidClusterMaxFreq",
"Duration": 1000,
"Value": "1024000"
},
{
"PowerHint": "CAMERA_CPU_THROTTLE",
"Node": "CPULittleClusterMaxFreq",
"Duration": 1000,
"Value": "1098000"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "MemFreq",