powerhal: add uclamp_threshold and reduce_prefer_idle node
we need disable uclamp_threshold and reduce_prefer_idle under launch scenarios. Bug: 232593932 Test: build pass Signed-off-by: chungkai <chungkai@google.com> Change-Id: I83573ed4640cd841d99cff0b52df0335332623df
This commit is contained in:
parent
7ad926174d
commit
08eb74b7f0
1 changed files with 30 additions and 0 deletions
|
@ -169,6 +169,24 @@
|
||||||
"DefaultIndex": 0,
|
"DefaultIndex": 0,
|
||||||
"ResetOnInit": true
|
"ResetOnInit": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"Name": "UClampThreshold",
|
||||||
|
"Path": "/proc/vendor_sched/uclamp_threshold",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"8"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "ReduceRreferIdle",
|
||||||
|
"Path": "/proc/vendor_sched/reduce_prefer_idle",
|
||||||
|
"Values": [
|
||||||
|
"0",
|
||||||
|
"1"
|
||||||
|
],
|
||||||
|
"ResetOnInit": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"Name": "CDPreferIdle",
|
"Name": "CDPreferIdle",
|
||||||
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
"Path": "/proc/vendor_sched/cam_prefer_idle",
|
||||||
|
@ -470,6 +488,18 @@
|
||||||
"Duration": 0,
|
"Duration": 0,
|
||||||
"Value": "2"
|
"Value": "2"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "UClampThreshold",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "ReduceRreferIdle",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "LAUNCH",
|
"PowerHint": "LAUNCH",
|
||||||
"Node": "FGPreferIdle",
|
"Node": "FGPreferIdle",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue