Camera: Adjust to improve camera launch and capture performance

Because F10 enabled PMU and EM for 30fps, it also needs to sync
ag/19286153 and ag/20084677 to enable CDPreferIdle for
CAMERA_STREAMING_STANDARD and disable PMU and EM during the capture
time (also increase the boost duration from 1000ms to 2500ms) to
avoid performance impact.

Bug: 321164832
Test: Build pass, gca_smoke_test, CTS
Change-Id: I5e40662f7e49bd381891f705621209a41ddc96d7
This commit is contained in:
Pointer Kung 2024-01-19 08:47:01 +00:00
parent 69a33e25cb
commit d53fe60449

View file

@ -984,21 +984,33 @@
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPUBigClusterMaxFreq", "Node": "CPUBigClusterMaxFreq",
"Duration": 1000, "Duration": 2500,
"Value": "1826000" "Value": "1826000"
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPUMidClusterMaxFreq", "Node": "CPUMidClusterMaxFreq",
"Duration": 1000, "Duration": 2500,
"Value": "1491000" "Value": "1491000"
}, },
{ {
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE", "PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "CPULittleClusterMaxFreq", "Node": "CPULittleClusterMaxFreq",
"Duration": 1000, "Duration": 2500,
"Value": "1401000" "Value": "1401000"
}, },
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "PMU_POLL",
"Duration": 2500,
"Value": "0"
},
{
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
"Node": "EM_Profile",
"Duration": 2500,
"Value": "default"
},
{ {
"PowerHint": "CAMERA_SHOT", "PowerHint": "CAMERA_SHOT",
"Node": "MemFreq", "Node": "MemFreq",
@ -1467,12 +1479,6 @@
"Duration": 0, "Duration": 0,
"Value": "1" "Value": "1"
}, },
{
"PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "CDPreferIdle",
"Duration": 0,
"Value": "0"
},
{ {
"PowerHint": "CAMERA_STREAMING_STANDARD", "PowerHint": "CAMERA_STREAMING_STANDARD",
"Node": "PMU_POLL", "Node": "PMU_POLL",