camera power hint: add extreme and low power hint

Add two more mode for power hint fine tuning.
streaming extreme targets 240fps mode and streaming low targets photo
mode.

Test:
this change is no op, so we will do the test on corresponding lyric
change (ag/14804030).

Bug: 189886881

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: Icd31501347108ccb5b0ec278a92bee89f543c192
This commit is contained in:
Peter Liu 2021-06-02 12:12:44 -07:00 committed by TreeHugger Robot
parent a9a6612873
commit 638ed8c296

View file

@ -357,6 +357,54 @@
"Duration": 1000, "Duration": 1000,
"Value": "9999999" "Value": "9999999"
}, },
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1401000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "1491000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1826000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CDPreferHighCap",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "HighCapacityStartCpu",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "GPUMinFreq",
"Duration": 0,
"Value": "302000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "MemFreq",
"Duration": 0,
"Value": "1014000"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "MIFTargetLoad",
"Duration": 0,
"Value": "20 10 80"
},
{ {
"PowerHint": "CAMERA_STREAMING_HIGH", "PowerHint": "CAMERA_STREAMING_HIGH",
"Node": "CPUUtilThreshold", "Node": "CPUUtilThreshold",
@ -465,6 +513,60 @@
"Duration": 0, "Duration": 0,
"Value": "20 10 80" "Value": "20 10 80"
}, },
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CDPreferHighCap",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "TAPreferHighCap",
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "HighCapacityStartCpu",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUBigClusterMaxFreq",
"Duration": 0,
"Value": "1826000"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPUMidClusterMaxFreq",
"Duration": 0,
"Value": "1491000"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "CPULittleClusterMaxFreq",
"Duration": 0,
"Value": "1401000"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "GPUMinFreq",
"Duration": 0,
"Value": "302000"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "MemFreq",
"Duration": 0,
"Value": "1014000"
},
{
"PowerHint": "CAMERA_STREAMING_LOW",
"Node": "MIFTargetLoad",
"Duration": 0,
"Value": "20 10 80"
},
{ {
"PowerHint": "FIXED_PERFORMANCE", "PowerHint": "FIXED_PERFORMANCE",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",