From 1dc6a9f589dfb9acaca986e3caa95e3e8d78e844 Mon Sep 17 00:00:00 2001 From: guibing Date: Thu, 25 Apr 2024 19:08:11 +0000 Subject: [PATCH] Adpf:akita: revert heuristic boost triggering condition. This reverts previous JankCheckTimeFactor from 1.43 to 1.2. Since the current reported duration doesn't include the GPU part, the JankCheckTimeFactor needs to be smaller for matching jank frame detection. Bug: 204204746 Test: adb shell dumpsys android.hardware.power.Ipower/default; check adpf sessions' traces. Change-Id: Ia90372cf08ddc31bfa527553b81e78084ac73f48 --- powerhint-akita.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/powerhint-akita.json b/powerhint-akita.json index 462985d..3186b4a 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -2982,7 +2982,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3017,7 +3017,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 }, @@ -3052,7 +3052,7 @@ "HBoostOffMissedCycles": 5, "HBoostPidPuFactor": 0.5, "HBoostUclampMin": 722, - "JankCheckTimeFactor": 1.43, + "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, "MaxRecordsNum": 300 },