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: Ia7fca8c349828867a4c8c09d3db95d6def03214f
This commit is contained in:
George Lee 2022-02-23 17:52:52 -08:00
parent 9f067aae85
commit 4abdd74552

View file

@ -592,11 +592,11 @@
"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, 15, 15] "LimitInfo": [0, 0, 0, 0, 6, 6, 6]
}, },
{ {
"CdevRequest": "tpu_cooling", "CdevRequest": "tpu_cooling",
@ -642,29 +642,13 @@
"NAN", "NAN",
"NAN", "NAN",
90, 90,
93, "NAN",
96, "NAN",
"NAN" "NAN"
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":1, "Multiplier":1,
"Monitor":true, "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]
}
]
}, },
{ {
"Name":"batoilo", "Name":"batoilo",
@ -693,15 +677,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, 6, 6, 6]
}, },
{ {
"CdevRequest": "tpu_cooling", "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", "CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 7, 7, 7] "LimitInfo": [0, 0, 0, 0, 4, 4, 4]
}, },
{ {
"CdevRequest": "tpu_cooling", "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", "CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 15, 15, 15] "LimitInfo": [0, 0, 0, 0, 9, 9, 9]
}, },
{ {
"CdevRequest": "tpu_cooling", "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", "CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 13, 13, 13] "LimitInfo": [0, 0, 0, 0, 7, 7, 7]
}, },
{ {
"CdevRequest": "tpu_cooling", "CdevRequest": "tpu_cooling",