From 279cd17355aaba5b6dba4b2d7ee8eb001f895261 Mon Sep 17 00:00:00 2001 From: Qais Yousef Date: Wed, 4 Dec 2024 15:46:33 +0000 Subject: [PATCH] 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 Change-Id: Ifaee3631458e144270f41b66595c5e853546171c --- powerhint-comet.json | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index 67fd91e..05ff303 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -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",