From 645398693ffa2089104507387f8648cd179d5ab6 Mon Sep 17 00:00:00 2001 From: David Chao Date: Thu, 10 Feb 2022 14:29:42 +0800 Subject: [PATCH] thermal: increase SEVERE GPU power budget B3 throttle GPU more than O6 in severe caused lower performance (e.g. Manhattan fps:62 vs. O6:66), but tests skin temp (B3:43C) is lower than O6 (46C). Adjust the setting by increase sustain power from 1500 to 2000 and adjust weight to allocate increased budget to GPU only while keep other component budget constant. With the CL B3 achieve similar fps to O6 while skin temperature is 1C lower. Bug: 213406560 Test: thermal throttling worked properly after appling the config Change-Id: I9b20cc012bdab3792b70e85df82518e2afccea92 --- thermal_info_config_bluejay.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/thermal_info_config_bluejay.json b/thermal_info_config_bluejay.json index 9cba6bf..7ffa78f 100644 --- a/thermal_info_config_bluejay.json +++ b/thermal_info_config_bluejay.json @@ -275,7 +275,7 @@ "K_I":["NAN", "NAN", 20, 0, "NAN", "NAN", "NAN"], "K_D":["NAN", "NAN", 10, 0, "NAN", "NAN", "NAN"], "I_Max":["NAN", "NAN", 1000, 0, "NAN", "NAN", "NAN"], - "S_Power":["NAN", "NAN", 3500, 1500, "NAN", "NAN", "NAN"], + "S_Power":["NAN", "NAN", 3500, 2000, "NAN", "NAN", "NAN"], "MinAllocPower":["NAN", "NAN", 2500, 1500, "NAN", "NAN", "NAN"], "MaxAllocPower":["NAN", "NAN", 9500, 3000, "NAN", "NAN", "NAN"], "I_Cutoff":["NAN", "NAN", 2, 0, "NAN", "NAN", "NAN"] @@ -283,7 +283,7 @@ "BindedCdevInfo": [ { "CdevRequest": "thermal-cpufreq-0", - "CdevWeightForPID": [0.085, 0.085, 0.085, 0.085, 0.085, 0.085, 0.085], + "CdevWeightForPID": [0.085, 0.085, 0.085, 0.064, 0.085, 0.085, 0.085], "CdevCeiling": [3, 3, 6, 7, 8, 10, 10], "LimitInfo": [0, 0, 0, 0, 8, 10, 10], "BindedPowerRail": "S4M_VDD_CPUCL0", @@ -292,7 +292,7 @@ }, { "CdevRequest": "thermal-cpufreq-1", - "CdevWeightForPID": [0.08, 0.08, 0.08, 0.08, 0.08, 0.08, 0.08], + "CdevWeightForPID": [0.08, 0.08, 0.08, 0.060, 0.08, 0.08, 0.08], "CdevCeiling": [7, 7, 8, 9, 11, 13, 13], "LimitInfo": [0, 0, 0, 0, 11, 13, 13], "BindedPowerRail": "S3M_VDD_CPUCL1", @@ -301,7 +301,7 @@ }, { "CdevRequest": "thermal-cpufreq-2", - "CdevWeightForPID": [0.38, 0.38, 0.38, 0.38, 0.38, 0.38, 0.38], + "CdevWeightForPID": [0.38, 0.38, 0.38, 0.285, 0.38, 0.38, 0.38], "CdevCeiling": [11, 11, 14, 14, 14, 16, 16], "LimitInfo": [0, 0, 0, 0, 14, 16, 16], "BindedPowerRail": "S2M_VDD_CPUCL2", @@ -310,7 +310,7 @@ }, { "CdevRequest": "thermal-gpufreq-0", - "CdevWeightForPID": [0.455, 0.455, 0.455, 0.455, 0.455, 0.455, 0.455], + "CdevWeightForPID": [0.455, 0.455, 0.455, 0.591, 0.455, 0.455, 0.455], "CdevCeiling": [7, 7, 8, 9, 10, 11, 11], "LimitInfo": [0, 0, 0, 0, 10, 11, 11], "BindedPowerRail": "S2S_VDD_G3D",