ARM: tegra: nexus7: Improve CPU passive-cooling threshold
authorDmitry Osipenko <digetx@gmail.com>
Wed, 4 Nov 2020 14:12:47 +0000 (17:12 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 26 Nov 2020 18:06:45 +0000 (19:06 +0100)
The current CPU thermal limit is a bit inappropriate for Nexus 7 once
device is getting used on a daily bases. For example, currently it's may
be impossible to watch a hardware accelerated 720p video without hitting
a severe CPU throttling, which ruins user experience. This patch improves
the thermal throttling thresholds.

In my experience setting CPU thermal threshold to 57C provides the most
reasonable result, where device is a bit warm under constant load and
not getting overly hot, in the same time performance is okay. Let's bump
the passive-cooling threshold from 50C to 57C and also lower the thermal
hysteresis to 0.2C in order to make throttling more reactive.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi

index fa6bbec7cbc42dc540c4732a0c77e5a6b1a3f8aa..8d49860b135ba6450944835cd2ada8d0a3b02971 100644 (file)
 
                        trips {
                                trip0: cpu-alert0 {
-                                       /* start throttling at 50C */
-                                       temperature = <50000>;
-                                       hysteresis = <3000>;
+                                       /* throttle at 57C until temperature drops to 56.8C */
+                                       temperature = <57000>;
+                                       hysteresis = <200>;
                                        type = "passive";
                                };