powerhint: Enable PA_KILL during PA_KILL_BOOST
Port from ag/27949358 and ag/28274083 Currently, we enable PA_KILL always on camera launch. This CL puts this feature behind a power boost profile which can only be triggered from camera hal and is controlled by a mendel flag. Bug: 356005553 Change-Id: I09ca12244c031524b8b99f8f8dc888ef7781cd08 Test: boot to home Flag: EXEMPT resource only update
This commit is contained in:
parent
360b86af2c
commit
35144d5384
1 changed files with 15 additions and 0 deletions
|
@ -932,6 +932,15 @@
|
|||
"20 40"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "PA_KILL",
|
||||
"Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb",
|
||||
"Values": [
|
||||
"102400",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": false
|
||||
}
|
||||
],
|
||||
"Actions": [
|
||||
|
@ -1404,6 +1413,12 @@
|
|||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PA_KILL_BOOST",
|
||||
"Node": "PA_KILL",
|
||||
"Duration": 0,
|
||||
"Value": "102400"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "CPUSkipMask",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue