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
9c27ad6042
commit
0168d7f708
4 changed files with 120 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",
|
||||||
|
|
|
@ -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_120FPS",
|
"PowerHint": "LAUNCH_120FPS",
|
||||||
"Node": "SFUClampBoost",
|
"Node": "SFUClampBoost",
|
||||||
|
|
|
@ -173,6 +173,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",
|
||||||
|
@ -421,6 +439,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_120FPS",
|
"PowerHint": "LAUNCH_120FPS",
|
||||||
"Node": "SFUClampBoost",
|
"Node": "SFUClampBoost",
|
||||||
|
|
|
@ -173,6 +173,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",
|
||||||
|
@ -412,6 +430,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_120FPS",
|
"PowerHint": "LAUNCH_120FPS",
|
||||||
"Node": "SFUClampBoost",
|
"Node": "SFUClampBoost",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue