camera power hint: tune the streaming standard.

1. CPU power seems also high on streaming stadrd mode.
Limit it to a rate that has no obvious performance degradation.
2. Raise the CCI target load to avoid governor raising the mif clock.

Bug: 182944906

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I47654cf2558fa168545e036c6cb58388eb2e2f0a
This commit is contained in:
Peter Liu 2021-03-17 17:03:35 -07:00
parent 7f8e41bd1b
commit 96268d3f51

View file

@ -72,6 +72,15 @@
], ],
"ResetOnInit": true "ResetOnInit": true
}, },
{
"Name": "MIFTargetLoad",
"Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load",
"Values": [
"20 10 80",
"20 5 80"
],
"ResetOnInit": true
},
{ {
"Name": "TAUClampBoost", "Name": "TAUClampBoost",
"Path": "/dev/cpuctl/top-app/cpu.uclamp.min", "Path": "/dev/cpuctl/top-app/cpu.uclamp.min",
@ -219,17 +228,35 @@
"Duration": 0, "Duration": 0,
"Value": "302000" "Value": "302000"
}, },
{
"PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "MIFTargetLoad",
"Duration": 0,
"Value": "20 10 80"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 0, "Duration": 0,
"Value": "1826000" "Value": "1826000"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1401000"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "GPUMinFreq", "Node": "GPUMinFreq",
"Duration": 0, "Duration": 0,
"Value": "471000" "Value": "302000"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "MIFTargetLoad",
"Duration": 0,
"Value": "20 10 80"
}, },
{ {
"PowerHint": "FIXED_PERFORMANCE", "PowerHint": "FIXED_PERFORMANCE",