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 <geolee@google.com>
Change-Id: Ia5d8cdbb1a0bff5baff56a81732b4a396189a10b
diff --git a/thermal_info_config_oriole.json b/thermal_info_config_oriole.json
index 148676a..0594f53 100644
--- a/thermal_info_config_oriole.json
+++ b/thermal_info_config_oriole.json
@@ -777,29 +777,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",
@@ -828,15 +812,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]
}
]
},
@@ -871,11 +855,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]
}
]
},
@@ -910,11 +894,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]
}
]
},
@@ -949,7 +933,7 @@
},
{
"CdevRequest": "thermal-gpufreq-0",
- "LimitInfo": [0, 0, 0, 0, 13, 13, 13]
+ "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
},
{
"CdevRequest": "tpu_cooling",
diff --git a/thermal_info_config_raven.json b/thermal_info_config_raven.json
index 9c9db8d..bc4ebd9 100644
--- a/thermal_info_config_raven.json
+++ b/thermal_info_config_raven.json
@@ -752,29 +752,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",
@@ -803,15 +787,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]
}
]
},
@@ -846,11 +830,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]
}
]
},
@@ -885,11 +869,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]
}
]
},
@@ -924,7 +908,7 @@
},
{
"CdevRequest": "thermal-gpufreq-0",
- "LimitInfo": [0, 0, 0, 0, 13, 13, 13]
+ "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
},
{
"CdevRequest": "tpu_cooling",