powerhint: Enable auto migration margins/dvfs headroom by default
And reduce DownRateLimitUs to 500us as the system should be more reactive now when something needs to rampup quickly. Enable pertask iowait boost too as with auto dvfs headroom enabled all tasks will start form 0 util_avg and this could impact iowait tasks without this being enabled to help them migrate up to bigger cores. Camera use cases should still use their own default DownRateLimitUs and disable this feature to keep their dvfs_headroom tuning intact. Bug: 315748906 Flag: EXEMPT powerhints are not compatible with flagging Signed-off-by: Qais Yousef <qyousef@google.com> Change-Id: Id8959b1debe8612623f47cdc103349ae0412a609
This commit is contained in:
parent
eecf0f561b
commit
4cdac3a773
3 changed files with 63 additions and 27 deletions
|
@ -59,7 +59,7 @@
|
|||
"1000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -100,7 +100,7 @@
|
|||
"2000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 4,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -142,7 +142,7 @@
|
|||
"2000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -213,7 +213,7 @@
|
|||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -223,7 +223,7 @@
|
|||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -257,7 +257,7 @@
|
|||
"7",
|
||||
"8"
|
||||
],
|
||||
"DefaultIndex": 2,
|
||||
"DefaultIndex": 4,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -267,7 +267,7 @@
|
|||
"0",
|
||||
"512"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -1183,6 +1183,12 @@
|
|||
"Duration": 5000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "CPUSkipMask",
|
||||
|
@ -1273,6 +1279,12 @@
|
|||
"Duration": 2000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_PMU",
|
||||
"Node": "PMU_POLL",
|
||||
|
@ -3160,13 +3172,13 @@
|
|||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "AdpfRampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
"1000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -100,7 +100,7 @@
|
|||
"2000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 4,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -142,7 +142,7 @@
|
|||
"2000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -213,7 +213,7 @@
|
|||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -223,7 +223,7 @@
|
|||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -257,7 +257,7 @@
|
|||
"7",
|
||||
"8"
|
||||
],
|
||||
"DefaultIndex": 2,
|
||||
"DefaultIndex": 4,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -267,7 +267,7 @@
|
|||
"0",
|
||||
"512"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -1183,6 +1183,12 @@
|
|||
"Duration": 5000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "CPUSkipMask",
|
||||
|
@ -1273,6 +1279,12 @@
|
|||
"Duration": 2000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_PMU",
|
||||
"Node": "PMU_POLL",
|
||||
|
@ -3160,13 +3172,13 @@
|
|||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "AdpfRampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
"1000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -100,7 +100,7 @@
|
|||
"2000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 4,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -142,7 +142,7 @@
|
|||
"2000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -213,7 +213,7 @@
|
|||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -223,7 +223,7 @@
|
|||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -257,7 +257,7 @@
|
|||
"7",
|
||||
"8"
|
||||
],
|
||||
"DefaultIndex": 2,
|
||||
"DefaultIndex": 4,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -267,7 +267,7 @@
|
|||
"0",
|
||||
"512"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
|
@ -1183,6 +1183,12 @@
|
|||
"Duration": 5000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "CPUSkipMask",
|
||||
|
@ -1273,6 +1279,12 @@
|
|||
"Duration": 2000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_PMU",
|
||||
"Node": "PMU_POLL",
|
||||
|
@ -3160,13 +3172,13 @@
|
|||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "AdpfRampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue