From 8783aa3573f784a9afa120237f7c518c9998269a Mon Sep 17 00:00:00 2001 From: guibing Date: Thu, 14 Mar 2024 18:22:54 +0000 Subject: [PATCH] akita: Add heuristic boost configs in power hint json files. Bug: 204204746 Test: Power hal launches in device without configuration parsing issue. Change-Id: I04a43fab7f866ed4aa516f7b538cb39e7b1942a7 --- powerhint-akita.json | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/powerhint-akita.json b/powerhint-akita.json index e0edb0c..43db9d9 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -2893,7 +2893,15 @@ "TargetTimeFactor": 1.0, "StaleTimeFactor": 15.0, "GpuBoost": true, - "GpuCapacityBoostMax": 40000 + "GpuCapacityBoostMax": 40000, + "HeuristicBoost_On": true, + "HBoostOnMissedCycles": 8, + "HBoostOffMaxAvgRatio": 4.0, + "HBoostOffMissedCycles": 5, + "HBoostPidPuFactor": 0.5, + "HBoostUclampMin": 722, + "LowFrameRateThreshold": 25, + "MaxRecordsNum": 300 }, { "Name": "REFRESH_90FPS", @@ -2919,7 +2927,15 @@ "TargetTimeFactor": 1.0, "StaleTimeFactor": 15.0, "GpuBoost": true, - "GpuCapacityBoostMax": 32500 + "GpuCapacityBoostMax": 32500, + "HeuristicBoost_On": true, + "HBoostOnMissedCycles": 8, + "HBoostOffMaxAvgRatio": 4.0, + "HBoostOffMissedCycles": 5, + "HBoostPidPuFactor": 0.5, + "HBoostUclampMin": 722, + "LowFrameRateThreshold": 25, + "MaxRecordsNum": 300 }, { "Name": "REFRESH_60FPS", @@ -2945,7 +2961,15 @@ "TargetTimeFactor": 1.0, "StaleTimeFactor": 15.0, "GpuBoost": true, - "GpuCapacityBoostMax": 25000 + "GpuCapacityBoostMax": 25000, + "HeuristicBoost_On": true, + "HBoostOnMissedCycles": 8, + "HBoostOffMaxAvgRatio": 4.0, + "HBoostOffMissedCycles": 5, + "HBoostPidPuFactor": 0.5, + "HBoostUclampMin": 722, + "LowFrameRateThreshold": 25, + "MaxRecordsNum": 300 }, { "Name": "UiHighBoostWithoutPid",