From ea3ecc867717e9803265eb2fce0c7b3c6b821c9a Mon Sep 17 00:00:00 2001 From: paulsu Date: Mon, 11 Sep 2023 10:34:30 +0000 Subject: [PATCH] powerhint: PID and CPD perf tuning MID cluster power down tuning for AK3. ADPF PID tuning for P23 60/90Hz. Bug: 296173484 Test: Uibench abtest with odpm and framedrop rate Change-Id: I428de3c1d390204926ed82bfa51ddaf0ba1204e3 Signed-off-by: paulsu --- powerhint-akita.json | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/powerhint-akita.json b/powerhint-akita.json index 03e7c07..a430b7d 100644 --- a/powerhint-akita.json +++ b/powerhint-akita.json @@ -208,6 +208,16 @@ ], "ResetOnInit": true }, + { + "Name": "MidClusterPowerDownTargetResidency", + "Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl1_target_residency", + "Values": [ + "750000", + "10000" + ], + "DefaultIndex": 0, + "ResetOnInit": true + }, { "Name": "BigClusterPowerDownTargetResidency", "Path": "/sys/devices/platform/cpupm/cpupm/cpd_cl2_target_residency", @@ -996,6 +1006,12 @@ "Type": "EndHint", "Value": "DISPLAY_UPDATE_IMMINENT" }, + { + "PowerHint": "DISPLAY_INACTIVE", + "Node": "MidClusterPowerDownTargetResidency", + "Duration": 0, + "Value": "10000" + }, { "PowerHint": "DISPLAY_INACTIVE", "Node": "BigClusterPowerDownTargetResidency", @@ -2659,7 +2675,7 @@ "Name": "REFRESH_90FPS", "PID_On": true, "PID_Po": 2.0, - "PID_Pu": 1.0, + "PID_Pu": 0.7, "PID_I": 0.0, "PID_I_Init": 200, "PID_I_High": 512, @@ -2667,7 +2683,7 @@ "PID_Do": 500.0, "PID_Du": 0.0, "UclampMin_On": true, - "UclampMin_Init": 161, + "UclampMin_Init": 231, "UclampMin_High": 480, "UclampMin_Low": 2, "SamplingWindow_P": 1, @@ -2683,7 +2699,7 @@ "Name": "REFRESH_60FPS", "PID_On": true, "PID_Po": 2.0, - "PID_Pu": 1.0, + "PID_Pu": 0.5, "PID_I": 0.0, "PID_I_Init": 200, "PID_I_High": 512, @@ -2691,7 +2707,7 @@ "PID_Do": 500.0, "PID_Du": 0.0, "UclampMin_On": true, - "UclampMin_Init": 161, + "UclampMin_Init": 231, "UclampMin_High": 480, "UclampMin_Low": 2, "SamplingWindow_P": 1,