camera power hint: add mid cap based on current constraint

Current mid cpu max clock is constrained by little cpu cap.
The cpu cluster clock constraint is going to be significantly reduced,
so put the current mid cap to avoid mid cpu regression.

Further fine tuning on the cap will be continued later.

Bug: 186564130

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I1e4568bb6e6167c91d8f98da337b1dd849a278bb
This commit is contained in:
Peter Liu 2021-05-20 16:36:14 -07:00 committed by TreeHugger Robot
parent 103f3cad62
commit 5618aa14c8

View file

@ -36,7 +36,8 @@
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", "Path": "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq",
"Values": [ "Values": [
"9999999", "9999999",
"1999000" "1999000",
"1491000"
], ],
"DefaultIndex": 0, "DefaultIndex": 0,
"ResetOnInit": true "ResetOnInit": true
@ -353,6 +354,12 @@
"Duration": 0, "Duration": 0,
"Value": "1100" "Value": "1100"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "1491000"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
@ -413,6 +420,12 @@
"Duration": 0, "Duration": 0,
"Value": "1826000" "Value": "1826000"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "1491000"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",