Add CAMERA_CPU_THROTTLE as power hint.
(cherry-pick from device/google/gs101) Bug: 205010238 Bug: 195327798 Test: CPU cores max frequencies updated properly Change-Id: Idaacbfa1b4dca7765e9754d4aff997dd2495c2a9
This commit is contained in:
parent
86c6a376a7
commit
cf361790f7
1 changed files with 21 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
||||||
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
|
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq",
|
||||||
"Values": [
|
"Values": [
|
||||||
"9999999",
|
"9999999",
|
||||||
|
"1098000",
|
||||||
"1401000",
|
"1401000",
|
||||||
"1197000"
|
"1197000"
|
||||||
],
|
],
|
||||||
|
@ -45,6 +46,7 @@
|
||||||
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
|
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
|
||||||
"Values": [
|
"Values": [
|
||||||
"9999999",
|
"9999999",
|
||||||
|
"1024000",
|
||||||
"1999000",
|
"1999000",
|
||||||
"1491000"
|
"1491000"
|
||||||
],
|
],
|
||||||
|
@ -66,6 +68,7 @@
|
||||||
"Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq",
|
"Path": "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq",
|
||||||
"Values": [
|
"Values": [
|
||||||
"9999999",
|
"9999999",
|
||||||
|
"984000",
|
||||||
"1826000"
|
"1826000"
|
||||||
],
|
],
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
|
@ -453,6 +456,24 @@
|
||||||
"Duration": 1000,
|
"Duration": 1000,
|
||||||
"Value": "4-7"
|
"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",
|
"PowerHint": "CAMERA_SHOT",
|
||||||
"Node": "MemFreq",
|
"Node": "MemFreq",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue