Add GCA_CAMERA_SHOT power hint.

GCA need intensive processing for camera shot and need to tune the
system performance to speed up the processing time. Adds
GCA_CAMERA_SHOT_{BIGCPU/BIGMIDCPU/ALLCPU} power hints to enable GCA to do
adequate power hint for this situation.

Bug: 187373665
Test: On device with GCA: b/187373665#comment8 with forrest.
Change-Id: Ife75e52a60de4d67369280998b193fe3ca7f8173
This commit is contained in:
Sung-fang Tsai 2021-05-22 08:27:17 +00:00
parent eba0f4ff66
commit 27528a54d8

View file

@ -446,6 +446,78 @@
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU",
"Node": "CPUBigClusterMaxFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU",
"Node": "CPUBigClusterMinFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
"Node": "CPUBigClusterMaxFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
"Node": "CPUBigClusterMinFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
"Node": "CPUMidClusterMaxFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
"Node": "CPUMidClusterMinFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
"Node": "CPUBigClusterMaxFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
"Node": "CPUBigClusterMinFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
"Node": "CPUMidClusterMaxFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
"Node": "CPUMidClusterMinFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
"Node": "CPULittleClusterMaxFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
"Node": "CPULittleClusterMinFreq",
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_STREAMING_EXTREME",
"Node": "CPULittleClusterMaxFreq",