Add CAMERA_SHOT power hint.

This will improve the snapshot performance, especially JPEG encode.

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 TreeHugger Robot
parent c90e372d4f
commit fd9a189315

View file

@ -420,6 +420,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",