From 879441529148e4aac9d60b2aa71369931dc0d6e2 Mon Sep 17 00:00:00 2001 From: George Lee Date: Fri, 6 May 2022 09:01:33 -0700 Subject: [PATCH] thermal: BCL policy for BATOILO Re-enable BATOILO throttling for GPU/TPU to combat over current use case. Bug: 231484774 Test: Boot and confirm brownout mitigation for synthetic load Signed-off-by: George Lee Change-Id: Ia46ffd4bb2f5c246f48971aa8d4622b203bef1e7 --- thermal_info_config_cheetah.json | 10 +++++++++- thermal_info_config_cloudripper.json | 6 +++--- thermal_info_config_panther.json | 10 +++++++++- thermal_info_config_ravenclaw.json | 10 +++++++++- 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/thermal_info_config_cheetah.json b/thermal_info_config_cheetah.json index 39d6a26..c4b5d65 100644 --- a/thermal_info_config_cheetah.json +++ b/thermal_info_config_cheetah.json @@ -501,7 +501,7 @@ "BindedCdevInfo": [ { "CdevRequest": "tpu_cooling", - "LimitInfo": [0, 0, 0, 0, 3, 3, 3] + "LimitInfo": [0, 0, 0, 0, 6, 6, 6] } ] }, @@ -517,6 +517,14 @@ { "CdevRequest": "thermal-cpufreq-2", "LimitInfo": [0, 0, 0, 0, 7, 7, 7] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 3, 3, 3] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 5, 5, 5] } ] }, diff --git a/thermal_info_config_cloudripper.json b/thermal_info_config_cloudripper.json index 662ecfc..35476e5 100644 --- a/thermal_info_config_cloudripper.json +++ b/thermal_info_config_cloudripper.json @@ -178,15 +178,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, 3, 3, 3] }, { "CdevRequest": "tpu_cooling", - "LimitInfo": [0, 0, 0, 0, 4, 4, 4] + "LimitInfo": [0, 0, 0, 0, 5, 5, 5] } ] }, diff --git a/thermal_info_config_panther.json b/thermal_info_config_panther.json index 1c0ff89..57347dd 100644 --- a/thermal_info_config_panther.json +++ b/thermal_info_config_panther.json @@ -500,7 +500,7 @@ "BindedCdevInfo": [ { "CdevRequest": "tpu_cooling", - "LimitInfo": [0, 0, 0, 0, 3, 3, 3] + "LimitInfo": [0, 0, 0, 0, 6, 6, 6] } ] }, @@ -516,6 +516,14 @@ { "CdevRequest": "thermal-cpufreq-2", "LimitInfo": [0, 0, 0, 0, 7, 7, 7] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 3, 3, 3] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 5, 5, 5] } ] }, diff --git a/thermal_info_config_ravenclaw.json b/thermal_info_config_ravenclaw.json index dff8af5..5d46864 100644 --- a/thermal_info_config_ravenclaw.json +++ b/thermal_info_config_ravenclaw.json @@ -355,7 +355,7 @@ "BindedCdevInfo": [ { "CdevRequest": "tpu_cooling", - "LimitInfo": [0, 0, 0, 0, 3, 3, 3] + "LimitInfo": [0, 0, 0, 0, 6, 6, 6] } ] }, @@ -388,6 +388,14 @@ { "CdevRequest": "thermal-cpufreq-2", "LimitInfo": [0, 0, 0, 0, 7, 7, 7] + }, + { + "CdevRequest": "thermal-gpufreq-0", + "LimitInfo": [0, 0, 0, 0, 3, 3, 3] + }, + { + "CdevRequest": "tpu_cooling", + "LimitInfo": [0, 0, 0, 0, 5, 5, 5] } ] },