From 12af273b1734b6396558dc2432688dae242b29b6 Mon Sep 17 00:00:00 2001 From: Chungkai Mei Date: Thu, 3 Oct 2024 08:19:12 +0000 Subject: [PATCH] powerhint.json: enable gpu capacity signalling. Enables a signal indicating that the app has janked as detected by the ADPF API. Flag: NONE align device tuning from P24. Test: perf / power tests Bug: 371094656 Change-Id: I19279e0f5a5fea59ffd0728128d6170f61e8a3e2 Signed-off-by: Chungkai Mei --- powerhint-comet.json | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/powerhint-comet.json b/powerhint-comet.json index 5ae4509..df9c466 100644 --- a/powerhint-comet.json +++ b/powerhint-comet.json @@ -3586,6 +3586,7 @@ "Value": "20 80" } ], + "GpuSysfsPath" : "/sys/devices/platform/1f000000.mali", "AdpfConfig": [ { "Name": "REFRESH_120FPS", @@ -3621,7 +3622,9 @@ "HBoostUclampMinFloorRange": [230, 410], "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, - "MaxRecordsNum": 300 + "MaxRecordsNum": 300, + "GpuBoost": true, + "GpuCapacityBoostMax": 40000 }, { "Name": "REFRESH_90FPS", @@ -3657,7 +3660,9 @@ "HBoostUclampMinFloorRange": [230, 410], "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, - "MaxRecordsNum": 300 + "MaxRecordsNum": 300, + "GpuBoost": true, + "GpuCapacityBoostMax": 32500 }, { "Name": "REFRESH_60FPS", @@ -3693,7 +3698,9 @@ "HBoostUclampMinFloorRange": [230, 410], "JankCheckTimeFactor": 1.2, "LowFrameRateThreshold": 25, - "MaxRecordsNum": 300 + "MaxRecordsNum": 300, + "GpuBoost": true, + "GpuCapacityBoostMax": 25000 }, { "Name": "UiHighBoostWithoutPid", @@ -3717,7 +3724,8 @@ "UclampMax_EfficientOffset": 200, "ReportingRateLimitNs": 1, "TargetTimeFactor": 1.0, - "StaleTimeFactor": 5.0 + "StaleTimeFactor": 5.0, + "GpuBoost": false }, { "Name": "UiLowBoostWithoutPid", @@ -3741,7 +3749,8 @@ "UclampMax_EfficientOffset": 200, "ReportingRateLimitNs": 1, "TargetTimeFactor": 1.0, - "StaleTimeFactor": 5.0 + "StaleTimeFactor": 5.0, + "GpuBoost": false }, { "Name": "UiLowNoneBoost", @@ -3765,7 +3774,8 @@ "UclampMax_EfficientOffset": 200, "ReportingRateLimitNs": 1, "TargetTimeFactor": 1.0, - "StaleTimeFactor": 5.0 + "StaleTimeFactor": 5.0, + "GpuBoost": false } ] }