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: Ifaee3631458e144270f41b66595c5e853546171c
This commit is contained in:
Qais Yousef 2024-12-04 15:46:33 +00:00
parent 386bbc0556
commit 279cd17355

View file

@ -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
},
{
@ -1298,6 +1298,12 @@
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "LAUNCH",
"Node": "TARampupMultiplier",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "CPUSkipMask",
@ -1388,6 +1394,12 @@
"Duration": 2000,
"Value": "0"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "TARampupMultiplier",
"Duration": 0,
"Value": "4"
},
{
"PowerHint": "LAUNCH_PMU",
"Node": "PMU_POLL",
@ -3174,13 +3186,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",