powerhint: add proactive kill hint for camera launch
Bug: 322916612 Test: local test Change-Id: I14a0aa55aeb0be55521b95f857906bbd26928e75
This commit is contained in:
parent
ac39b302b0
commit
6eafa43ef1
1 changed files with 32 additions and 0 deletions
|
@ -476,6 +476,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",
|
||||||
|
@ -840,6 +850,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": [
|
||||||
|
@ -1133,6 +1152,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",
|
||||||
|
@ -1306,6 +1331,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