From 838ccb356b0849fe8e27fc0c393f41f286dd49ae Mon Sep 17 00:00:00 2001 From: jimmyshiu Date: Tue, 19 Apr 2022 16:26:01 +0000 Subject: [PATCH] powerhint: Add Adpf Profiles for T6 Pro Add Adpf Profiles: 1. REFRESH_60FPS 2. REFRESH_90FPS 3. REFRESH_120FPS 4. UiHighBoostWithoutPid 5. UiLowBoostWithoutPid 6. UiLowNoneBoost (Default is index 0) Bug: 202158746 Test: boot to home Change-Id: I73fadf7ba602b117b12eb398688da0e722180940 --- powerhint.json | 146 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) diff --git a/powerhint.json b/powerhint.json index a74f523..edb54a5 100644 --- a/powerhint.json +++ b/powerhint.json @@ -1293,5 +1293,151 @@ "Duration": 0, "Value": "0-3" } + ], + "AdpfConfig": [ + { + "Name": "REFRESH_120FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 83333330, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_90FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 111111110, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "REFRESH_60FPS", + "PID_On": true, + "PID_Po": 2.0, + "PID_Pu": 1.0, + "PID_I": 0.001, + "PID_I_Init": 200, + "PID_I_High": 512, + "PID_I_Low": -30, + "PID_Do": 500.0, + "PID_Du": 0.0, + "UclampMin_On": true, + "UclampMin_Granularity": 5, + "UclampMin_High": 384, + "UclampMin_Low": 2, + "SamplingWindow_P": 1, + "SamplingWindow_I": 0, + "SamplingWindow_D": 1, + "ReportingRateLimitNs": 166666660, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 20.0 + }, + { + "Name": "UiHighBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 157, + "UclampMin_Low": 157, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowBoostWithoutPid", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 42, + "UclampMin_Low": 42, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + }, + { + "Name": "UiLowNoneBoost", + "PID_On": false, + "PID_Po": 0, + "PID_Pu": 0, + "PID_I": 0, + "PID_I_Init": 0, + "PID_I_High": 0, + "PID_I_Low": 0, + "PID_Do": 0, + "PID_Du": 0, + "SamplingWindow_P": 1, + "SamplingWindow_I": 1, + "SamplingWindow_D": 1, + "UclampMin_On": true, + "UclampMin_Granularity": 0, + "UclampMin_High": 0, + "UclampMin_Low": 0, + "ReportingRateLimitNs": 1, + "EarlyBoost_On": false, + "EarlyBoost_TimeFactor": 0.0, + "TargetTimeFactor": 1.0, + "StaleTimeFactor": 5.0 + } ] }