From: Dmitry Osipenko <digetx@gmail.com>
To: Thierry Reding <thierry.reding@gmail.com>,
Jonathan Hunter <jonathanh@nvidia.com>
Cc: linux-tegra@vger.kernel.org
Subject: [PATCH v2 4/8] ARM: tegra: nexus7: Improve CPU passive-cooling threshold
Date: Wed, 4 Nov 2020 17:12:47 +0300 [thread overview]
Message-ID: <20201104141251.25834-5-digetx@gmail.com> (raw)
In-Reply-To: <20201104141251.25834-1-digetx@gmail.com>
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>
---
arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
index 543c52cd8260..adc708bbfb62 100644
--- a/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
+++ b/arch/arm/boot/dts/tegra30-asus-nexus7-grouper-common.dtsi
@@ -1282,9 +1282,9 @@ cpu-thermal {
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";
};
--
2.27.0
next prev parent reply other threads:[~2020-11-04 14:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-04 14:12 [PATCH v2 0/8] Nexus 7 and A500 device-tree improvements Dmitry Osipenko
2020-11-04 14:12 ` [PATCH v2 1/8] ARM: tegra: acer-a500: Correct thermal zone names Dmitry Osipenko
2020-11-04 14:12 ` [PATCH v2 2/8] ARM: tegra: acer-a500: Add power-supply to lvds-encoder node Dmitry Osipenko
2020-11-04 14:12 ` [PATCH v2 3/8] ARM: tegra: nexus7: Correct thermal zone names Dmitry Osipenko
2020-11-04 14:12 ` Dmitry Osipenko [this message]
2020-11-04 14:12 ` [PATCH v2 5/8] ARM: tegra: nexus7: Add power-supply to lvds-encoder node Dmitry Osipenko
2020-11-04 14:12 ` [PATCH v2 6/8] ARM: tegra: nexus7: Rename gpio-hog nodes Dmitry Osipenko
2020-11-04 14:12 ` [PATCH v2 7/8] ARM: tegra: nexus7: Set video decoder clock rate to 408MHz Dmitry Osipenko
2020-11-10 17:58 ` Thierry Reding
2020-11-10 21:28 ` Dmitry Osipenko
2020-11-04 14:12 ` [PATCH v2 8/8] ARM: tegra: nexus7: Use panel-lvds as the only panel compatible Dmitry Osipenko
2020-11-10 17:59 ` [PATCH v2 0/8] Nexus 7 and A500 device-tree improvements Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201104141251.25834-5-digetx@gmail.com \
--to=digetx@gmail.com \
--cc=jonathanh@nvidia.com \
--cc=linux-tegra@vger.kernel.org \
--cc=thierry.reding@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).