From 8c4dea2fa880f14489a7c4b63f25524497673e50 Mon Sep 17 00:00:00 2001 From: guibing Date: Thu, 16 May 2024 20:42:28 +0000 Subject: [PATCH] Adpf:tangorpro: enable heuristic boost. Heuristic boost will adjust the ADPF boost profile when the powerhal detects the power session is very janky, providing more boost for deadline sensitive threads managered in the session. Bug: 341111433 Test: adb shell dumpsys android.hardware.power.IPower/default; Check the device adpf sessions' traces. Change-Id: I4f4d79ed9e169fba6de0eea0e5356fef0bf7e388 --- powerhint.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/powerhint.json b/powerhint.json index bdd91f3..79e1c35 100644 --- a/powerhint.json +++ b/powerhint.json @@ -1892,7 +1892,16 @@ "SamplingWindow_D": 1, "ReportingRateLimitNs": 166666660, "TargetTimeFactor": 1.0, - "StaleTimeFactor": 15.0 + "StaleTimeFactor": 15.0, + "HeuristicBoost_On": true, + "HBoostOnMissedCycles": 8, + "HBoostOffMaxAvgRatio": 4.0, + "HBoostOffMissedCycles": 5, + "HBoostPidPuFactor": 0.5, + "HBoostUclampMin": 722, + "JankCheckTimeFactor": 1.2, + "LowFrameRateThreshold": 25, + "MaxRecordsNum": 300 }, { "Name": "UiHighBoostWithoutPid",