From b137028ac159af3a233843de2ab02f350239d138 Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Mon, 26 Dec 2022 17:37:56 +0800 Subject: [PATCH 1/2] thermal: Remove face unlock powerhint - Remove powerhint as face auth not supported Bug: 263690696 Test: Update local powerhint Change-Id: I2160b2ef4b4136e2b2812a3051e958e837c1ea65 --- powerhint.json | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/powerhint.json b/powerhint.json index 9552ba1..1d5b351 100644 --- a/powerhint.json +++ b/powerhint.json @@ -1785,30 +1785,6 @@ "Duration": 0, "Value": "0,1,2,3" }, - { - "PowerHint": "FACE_UNLOCK_BOOST", - "Node": "CPUBigClusterMaxFreq", - "Duration": 1000, - "Value": "9999999" - }, - { - "PowerHint": "FACE_UNLOCK_BOOST", - "Node": "CPU_LITTLE_TSKIN_BYPASS", - "Duration": 1000, - "Value": "1" - }, - { - "PowerHint": "FACE_UNLOCK_BOOST", - "Node": "CPU_MID_TSKIN_BYPASS", - "Duration": 1000, - "Value": "1" - }, - { - "PowerHint": "FACE_UNLOCK_BOOST", - "Node": "CPU_BIG_TSKIN_BYPASS", - "Duration": 1000, - "Value": "1" - }, { "PowerHint": "FP_BOOST", "Node": "CPUBigClusterMaxFreq", From e17926c54183464bd877b6a9cb6e08d0976ab8af Mon Sep 17 00:00:00 2001 From: sashwinbalaji Date: Mon, 26 Dec 2022 17:53:59 +0800 Subject: [PATCH 2/2] thermal: modify GPU thermal throttling policy - Change GPU CdevCeiling because GPU available_frequencies has been increased 2 states from 10 to 12. Bug: 250821266 Test: Update config and test cur_freq by changing state Change-Id: I2dde124c059a93340ce9998139062d4951058a78 --- thermal_info_config_tangorpro.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/thermal_info_config_tangorpro.json b/thermal_info_config_tangorpro.json index 811d19b..6dd33f0 100644 --- a/thermal_info_config_tangorpro.json +++ b/thermal_info_config_tangorpro.json @@ -194,8 +194,8 @@ "MaxReleaseStep": 1, "MaxThrottleStep": 1, "BindedPowerRail": "S2S_VDD_G3D", - "CdevCeiling": [0, 6, 6, 6, 8, 10, 10], - "LimitInfo": [0, 0, 0, 0, 8, 10, 10] + "CdevCeiling": [0, 8, 8, 8, 10, 12, 12], + "LimitInfo": [0, 0, 0, 0, 10, 12, 12] } ] }, @@ -318,7 +318,7 @@ "BindedCdevInfo": [ { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 9, 9, 9] + "LimitInfo": [0, 0, 0, 0, 11, 11, 11] } ] }, @@ -336,7 +336,7 @@ "BindedCdevInfo": [ { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 9, 9, 9] + "LimitInfo": [0, 0, 0, 0, 11, 11, 11] } ] }, @@ -372,7 +372,7 @@ "BindedCdevInfo": [ { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + "LimitInfo": [0, 0, 0, 0, 5, 5, 5] } ] }, @@ -413,7 +413,7 @@ }, { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 3, 3, 3] + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] }, { "CdevRequest": "tpu_cooling", @@ -449,7 +449,7 @@ }, { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 2, 2, 2] + "LimitInfo": [0, 0, 0, 0, 3, 3, 3] }, { "CdevRequest": "tpu_cooling", @@ -473,7 +473,7 @@ }, { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + "LimitInfo": [0, 0, 0, 0, 5, 5, 5] }, { "CdevRequest": "tpu_cooling", @@ -497,7 +497,7 @@ }, { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 3, 3, 3] + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] }, { "CdevRequest": "tpu_cooling",