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:
parent
69a33e25cb
commit
d53fe60449
1 changed files with 15 additions and 9 deletions
|
@ -984,21 +984,33 @@
|
|||
{
|
||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||
"Node": "CPUBigClusterMaxFreq",
|
||||
"Duration": 1000,
|
||||
"Duration": 2500,
|
||||
"Value": "1826000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||
"Node": "CPUMidClusterMaxFreq",
|
||||
"Duration": 1000,
|
||||
"Duration": 2500,
|
||||
"Value": "1491000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_CAPTURE_CPU_THROTTLE",
|
||||
"Node": "CPULittleClusterMaxFreq",
|
||||
"Duration": 1000,
|
||||
"Duration": 2500,
|
||||
"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",
|
||||
"Node": "MemFreq",
|
||||
|
@ -1467,12 +1479,6 @@
|
|||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CDPreferIdle",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "PMU_POLL",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue