Disable PMU at the start of camera launch
Follow ag/20075269, ag/25261942 has caused regression in GCA launch time due to activation of PMU at the camera launch time, and capping the CPU frequency. This CL prevents PMU activation for as long as we are in powerhints or power-boosts related to camera launch (LAUNCH, CAMERA_LAUNCH, CAMERA_LAUNCH_EXTENDED). Bug: 321164832 Test: perfetto trace Change-Id: I54cb50259adc145847c96e75e2dd79f3eb3b3231 Signed-off-by: paulsu <paulsu@google.com>
This commit is contained in:
parent
69a33e25cb
commit
2056632361
1 changed files with 23 additions and 0 deletions
|
@ -784,6 +784,17 @@
|
||||||
"Type": "DoHint",
|
"Type": "DoHint",
|
||||||
"Value": "LAUNCH_EXTEND"
|
"Value": "LAUNCH_EXTEND"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Type": "DoHint",
|
||||||
|
"Value": "LAUNCH_PMU"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH_PMU",
|
||||||
|
"Node": "PMU_POLL",
|
||||||
|
"Duration": 3000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "LAUNCH_EXTEND",
|
"PowerHint": "LAUNCH_EXTEND",
|
||||||
"Node": "CPUBigClusterMaxFreq",
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
@ -939,6 +950,12 @@
|
||||||
"Duration": 1000,
|
"Duration": 1000,
|
||||||
"Value": "4-7"
|
"Value": "4-7"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_LAUNCH",
|
||||||
|
"Node": "PMU_POLL",
|
||||||
|
"Duration": 1000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||||
"Node": "CPUBigClusterMaxFreq",
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
@ -963,6 +980,12 @@
|
||||||
"Duration": 2000,
|
"Duration": 2000,
|
||||||
"Value": "0"
|
"Value": "0"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_LAUNCH_EXTENDED",
|
||||||
|
"Node": "PMU_POLL",
|
||||||
|
"Duration": 2000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
|
"PowerHint": "CAMERA_THERMAL_CPU_THROTTLE",
|
||||||
"Node": "CPUBigClusterMaxFreq",
|
"Node": "CPUBigClusterMaxFreq",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue