Modify GCA_CAMERA_SHOT power hints for better performance.

CAMERA_STREAMING has the setting "TAPreferHighCap=1". GCA_CAMERA_SHOT should set "TAPreferHighCap=1" as well in case user leaves the viewfinder.
We could get better performance with "HighCapacityStartCpu=6".

(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 192534118
Test: manual R4
Change-Id: I85c77ac1ccc2176312b54a6acdd37df55a658f04
This commit is contained in:
Ethan Lin 2021-07-05 17:21:52 +08:00 committed by Jay
parent 99eec5aaf1
commit d8833073da

View file

@ -435,6 +435,12 @@
"Duration": 1000,
"Value": "664000"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU",
"Node": "TAPreferHighCap",
"Duration": 3000,
"Value": "1"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGCPU",
"Node": "CPUBigClusterMaxFreq",
@ -447,6 +453,12 @@
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
"Node": "TAPreferHighCap",
"Duration": 3000,
"Value": "1"
},
{
"PowerHint": "GCA_CAMERA_SHOT_BIGMIDCPU",
"Node": "CPUBigClusterMaxFreq",
@ -471,6 +483,12 @@
"Duration": 3000,
"Value": "9999999"
},
{
"PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
"Node": "TAPreferHighCap",
"Duration": 3000,
"Value": "1"
},
{
"PowerHint": "GCA_CAMERA_SHOT_ALLCPU",
"Node": "CPUBigClusterMaxFreq",
@ -645,12 +663,6 @@
"Duration": 0,
"Value": "1"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "HighCapacityStartCpu",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CPUBigClusterMaxFreq",