powerhint: Enable auto migration margins/dvfs headroom for game mode

Port from ag/27002783

Since the system is more reactive now when tasks are getting busier, set
DownRateLimitUs to 500us to avoid increasing power.

Also enable pertask iowait boost as util_avg will always start from
0 for forked tasks and this could impact io tasks that need additional
help to ensure to migrate to bigger core if they need more perf.

Bug: 353256081
Test: Local Genshin test
Flag: NONE powerhint change does not support flags

Change-Id: If08486732e8213a9d82982f305c42748cf002543
This commit is contained in:
Paulsu Su 2024-07-17 05:50:24 +00:00
parent ed7eb0272a
commit 8f17091791

View file

@ -3085,13 +3085,13 @@
"PowerHint": "GAME",
"Node": "CPUMidClusterDownRateLimitUs",
"Duration": 0,
"Value": "3000"
"Value": "500"
},
{
"PowerHint": "GAME",
"Node": "CPUBigClusterDownRateLimitUs",
"Duration": 0,
"Value": "3000"
"Value": "500"
},
{
"PowerHint": "GAME",
@ -3121,13 +3121,13 @@
"PowerHint": "GAME",
"Node": "AutoMigrationMarginsEnable",
"Duration": 0,
"Value": "0"
"Value": "1"
},
{
"PowerHint": "GAME",
"Node": "AutoDvfsHeadroomEnable",
"Duration": 0,
"Value": "0"
"Value": "1"
},
{
"PowerHint": "GAME",
@ -3145,7 +3145,7 @@
"PowerHint": "GAME",
"Node": "PerTaskMaxIowaitBoost",
"Duration": 0,
"Value": "0"
"Value": "512"
},
{
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",