Update CAMERA_SHOT hint

1) Set PMU_POLL to 0
2) Remove direct CPU freq settings but use UClamp

Bug: 295186805
Test: Run 3P snapshots and check logcat & perfetto trace
Change-Id: Ic8e8f6ab6439b378638a90e9d4238cd22db05e44
This commit is contained in:
Jia-yi Chen 2023-08-10 11:30:10 -07:00
parent 4ff7f1c4f3
commit f70af577b4
3 changed files with 18 additions and 72 deletions

View file

@ -1144,33 +1144,15 @@
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "MemFreq",
"Duration": 300,
"Value": "9999999"
"Node": "PMU_POLL",
"Duration": 100,
"Value": "0"
},
{
"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"
"Node": "CAMUClampBoost",
"Duration": 100,
"Value": "765"
},
{
"PowerHint": "CAMERA_BACKEND_BOOST",

View file

@ -1081,33 +1081,15 @@
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "MemFreq",
"Duration": 300,
"Value": "9999999"
"Node": "PMU_POLL",
"Duration": 100,
"Value": "0"
},
{
"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"
"Node": "CAMUClampBoost",
"Duration": 100,
"Value": "765"
},
{
"PowerHint": "CAMERA_BACKEND_BOOST",

View file

@ -1144,33 +1144,15 @@
},
{
"PowerHint": "CAMERA_SHOT",
"Node": "MemFreq",
"Duration": 300,
"Value": "9999999"
"Node": "PMU_POLL",
"Duration": 100,
"Value": "0"
},
{
"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"
"Node": "CAMUClampBoost",
"Duration": 100,
"Value": "765"
},
{
"PowerHint": "CAMERA_BACKEND_BOOST",