From 4abdd74552dfb8147cd112a148b635a9583d358e Mon Sep 17 00:00:00 2001 From: George Lee Date: Wed, 23 Feb 2022 17:52:52 -0800 Subject: [PATCH] thermal: Reduce DVFS throttling per BCL irq By increasing hardware clock divider count, we do not need to throttle as hard to mitigate for brownout. Bug: 221077697 Test: Local stress test to ensure no brownout. Signed-off-by: George Lee Change-Id: Ia7fca8c349828867a4c8c09d3db95d6def03214f --- thermal_info_config_bluejay.json | 42 ++++++++++---------------------- 1 file changed, 13 insertions(+), 29 deletions(-) diff --git a/thermal_info_config_bluejay.json b/thermal_info_config_bluejay.json index 7ffa78f..0672de5 100644 --- a/thermal_info_config_bluejay.json +++ b/thermal_info_config_bluejay.json @@ -592,11 +592,11 @@ "BindedCdevInfo": [ { "CdevRequest": "thermal-cpufreq-2", - "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + "LimitInfo": [0, 0, 0, 0, 7, 7, 7] }, { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 10, 15, 15] + "LimitInfo": [0, 0, 0, 0, 6, 6, 6] }, { "CdevRequest": "tpu_cooling", @@ -642,29 +642,13 @@ "NAN", "NAN", 90, - 93, - 96, + "NAN", + "NAN", "NAN" ], "VrThreshold":"NAN", "Multiplier":1, - "Monitor":true, - "PollingDelay":300000, - "PassiveDelay":5000, - "BindedCdevInfo": [ - { - "CdevRequest": "thermal-cpufreq-2", - "LimitInfo": [0, 0, 0, 7, 7, 10, 10] - }, - { - "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 0, 7, 11] - }, - { - "CdevRequest": "tpu_cooling", - "LimitInfo": [0, 0, 0, 0, 0, 4, 5] - } - ] + "Monitor":true }, { "Name":"batoilo", @@ -693,15 +677,15 @@ "BindedCdevInfo": [ { "CdevRequest": "thermal-cpufreq-2", - "LimitInfo": [0, 0, 0, 0, 7, 10, 10] + "LimitInfo": [0, 0, 0, 0, 7, 7, 7] }, { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 10, 11, 11] + "LimitInfo": [0, 0, 0, 0, 6, 6, 6] }, { "CdevRequest": "tpu_cooling", - "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + "LimitInfo": [0, 0, 0, 0, 5, 5, 5] } ] }, @@ -736,11 +720,11 @@ }, { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 7, 7, 7] + "LimitInfo": [0, 0, 0, 0, 4, 4, 4] }, { "CdevRequest": "tpu_cooling", - "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + "LimitInfo": [0, 0, 0, 0, 3, 3, 3] } ] }, @@ -775,11 +759,11 @@ }, { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 15, 15, 15] + "LimitInfo": [0, 0, 0, 0, 9, 9, 9] }, { "CdevRequest": "tpu_cooling", - "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + "LimitInfo": [0, 0, 0, 0, 5, 5, 5] } ] }, @@ -814,7 +798,7 @@ }, { "CdevRequest": "thermal-gpufreq-0", - "LimitInfo": [0, 0, 0, 0, 13, 13, 13] + "LimitInfo": [0, 0, 0, 0, 7, 7, 7] }, { "CdevRequest": "tpu_cooling",