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 <geolee@google.com>
Change-Id: Ia46ffd4bb2f5c246f48971aa8d4622b203bef1e7
This commit is contained in:
George Lee 2022-05-06 09:01:33 -07:00
parent e49bc9478a
commit 8794415291
4 changed files with 30 additions and 6 deletions

View file

@ -501,7 +501,7 @@
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "tpu_cooling", "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", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7] "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]
} }
] ]
}, },

View file

@ -178,15 +178,15 @@
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 10, 10] "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
}, },
{ {
"CdevRequest": "thermal-gpufreq-0", "CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 10, 11, 11] "LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}, },
{ {
"CdevRequest": "tpu_cooling", "CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 4, 4, 4] "LimitInfo": [0, 0, 0, 0, 5, 5, 5]
} }
] ]
}, },

View file

@ -500,7 +500,7 @@
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "tpu_cooling", "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", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7] "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]
} }
] ]
}, },

View file

@ -355,7 +355,7 @@
"BindedCdevInfo": [ "BindedCdevInfo": [
{ {
"CdevRequest": "tpu_cooling", "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", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7] "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]
} }
] ]
}, },