Reapply "powerhint: add proactive kill hint for camera launch"
This reverts commit beed8e1a34
.
Bug: 322916612
Test: local test
Flag: EXEMPT resource only update
Change-Id: Ia4d17cecb66551b7cc850f82a165a03d265f7507
This commit is contained in:
parent
4bb5fa61c2
commit
c87c5cf3a7
1 changed files with 32 additions and 0 deletions
|
@ -477,6 +477,16 @@
|
||||||
"Type": "Property",
|
"Type": "Property",
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "PowerHALLaunch",
|
||||||
|
"Path": "vendor.powerhal.is_launch",
|
||||||
|
"Values": [
|
||||||
|
"1",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"Type": "Property",
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "BigTjOffset",
|
"Name": "BigTjOffset",
|
||||||
"Path": "/sys/devices/platform/100a0000.BIG/offset_enabled",
|
"Path": "/sys/devices/platform/100a0000.BIG/offset_enabled",
|
||||||
|
@ -830,6 +840,15 @@
|
||||||
"67000"
|
"67000"
|
||||||
],
|
],
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "PA_KILL",
|
||||||
|
"Path": "/sys/kernel/vendor_mm/pa_kill/reclaim_kb",
|
||||||
|
"Values": [
|
||||||
|
"102400",
|
||||||
|
"0"
|
||||||
|
],
|
||||||
|
"ResetOnInit": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Actions": [
|
"Actions": [
|
||||||
|
@ -1123,6 +1142,12 @@
|
||||||
"Duration": 5000,
|
"Duration": 5000,
|
||||||
"Value": "1"
|
"Value": "1"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "PowerHALLaunch",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "1"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "LAUNCH_EXTEND",
|
"PowerHint": "LAUNCH_EXTEND",
|
||||||
"Node": "CPUSkipMask",
|
"Node": "CPUSkipMask",
|
||||||
|
@ -1296,6 +1321,13 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "0x80"
|
"Value": "0x80"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "CAMERA_LAUNCH",
|
||||||
|
"Node": "PA_KILL",
|
||||||
|
"EnableProperty": "vendor.powerhal.is_launch",
|
||||||
|
"Duration": 0,
|
||||||
|
"Value": "102400"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "CAMERA_LAUNCH",
|
"PowerHint": "CAMERA_LAUNCH",
|
||||||
"Node": "CPUSkipMask",
|
"Node": "CPUSkipMask",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue