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: I4b1f1fa04ee7c89f25500df74db49ad2fb67b2cb
This commit is contained in:
parent
9890703eea
commit
a51ef227dc
2 changed files with 60 additions and 0 deletions
|
@ -112,6 +112,24 @@
|
||||||
],
|
],
|
||||||
"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": "CPUUtilThreshold",
|
"Name": "CPUUtilThreshold",
|
||||||
"Path": "/proc/vendor_sched/util_threshold",
|
"Path": "/proc/vendor_sched/util_threshold",
|
||||||
|
@ -517,6 +535,18 @@
|
||||||
"Duration": 5000,
|
"Duration": 5000,
|
||||||
"Value": "85"
|
"Value": "85"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "UClampThreshold",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"PowerHint": "LAUNCH",
|
||||||
|
"Node": "ReduceRreferIdle",
|
||||||
|
"Duration": 5000,
|
||||||
|
"Value": "0"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"PowerHint": "LAUNCH_120FPS",
|
"PowerHint": "LAUNCH_120FPS",
|
||||||
"Node": "SFUClampBoost",
|
"Node": "SFUClampBoost",
|
||||||
|
|
|
@ -112,6 +112,24 @@
|
||||||
],
|
],
|
||||||
"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": "CPUUtilThreshold",
|
"Name": "CPUUtilThreshold",
|
||||||
"Path": "/proc/vendor_sched/util_threshold",
|
"Path": "/proc/vendor_sched/util_threshold",
|
||||||
|
@ -517,6 +535,18 @@
|
||||||
"Duration": 5000,
|
"Duration": 5000,
|
||||||
"Value": "85"
|
"Value": "85"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"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