Add CAMERA_SHOT power hint.

This will improve the snapshot performance, especially JPEG encode.

(cherry-pick from device/google/gs101)
Bug: 205010238
Bug: 192067605
Test: Boot, CTS
Change-Id: I9b879d2c462e0a59891d9a36c770484d00b53e6e
This commit is contained in:
Firman Hadi Prayoga 2021-07-22 13:01:23 +08:00 committed by Jay
parent d8833073da
commit a24669c1fd

View file

@ -411,6 +411,36 @@
"Duration": 1000,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "MemFreq",
"Duration": 300,
"Value": "3172000"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUBigClusterMaxFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUBigClusterMinFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUMidClusterMaxFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "CPUMidClusterMinFreq",
"Duration": 300,
"Value": "9999999"
},
{
"PowerHint": "CAMERA_BACKEND_BOOST",
"Node": "MemFreq",