From: Akhil P Oommen <akhilpo@oss.qualcomm.com>
To: Sean Paul <sean@poorly.run>,
Konrad Dybcio <konradybcio@kernel.org>,
Abhinav Kumar <quic_abhinavk@quicinc.com>,
Marijn Suijten <marijn.suijten@somainline.org>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Connor Abbott <cwabbott0@gmail.com>,
Srinivas Kandagatla <srini@kernel.org>,
Rob Clark <robin.clark@oss.qualcomm.com>,
Dmitry Baryshkov <lumag@kernel.org>
Cc: Gaurav Kohli <quic_gkohli@quicinc.com>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org,
Akhil P Oommen <akhilpo@oss.qualcomm.com>
Subject: [PATCH v4 4/6] arm64: dts: qcom: lemans: Add GPU cooling
Date: Fri, 22 Aug 2025 00:25:29 +0530 [thread overview]
Message-ID: <20250822-a663-gpu-support-v4-4-97d26bb2144e@oss.qualcomm.com> (raw)
In-Reply-To: <20250822-a663-gpu-support-v4-0-97d26bb2144e@oss.qualcomm.com>
From: Gaurav Kohli <quic_gkohli@quicinc.com>
Unlike the CPU, the GPU does not throttle its speed automatically when it
reaches high temperatures.
Set up GPU cooling by throttling the GPU speed
when reaching 105°C.
Signed-off-by: Gaurav Kohli <quic_gkohli@quicinc.com>
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/lemans.dtsi | 67 +++++++++++++++++++++++++++++-------
1 file changed, 55 insertions(+), 12 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
index 8eac8d4719db9230105ad93ac22287850b6b007c..b5d4d07b2fd9c14a6f1cc462c695e864394cade2 100644
--- a/arch/arm64/boot/dts/qcom/lemans.dtsi
+++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
@@ -20,6 +20,7 @@
#include <dt-bindings/power/qcom,rpmhpd.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
+#include <dt-bindings/thermal/thermal.h>
/ {
interrupt-parent = <&intc>;
@@ -6816,13 +6817,20 @@ trip-point1 {
};
};
- gpuss-0-thermal {
+ gpuss0_thermal: gpuss-0-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens0 5>;
+ cooling-maps {
+ map0 {
+ trip = <&gpuss0_alert0>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
trips {
- trip-point0 {
+ gpuss0_alert0: trip-point0 {
temperature = <105000>;
hysteresis = <5000>;
type = "passive";
@@ -6836,13 +6844,20 @@ trip-point1 {
};
};
- gpuss-1-thermal {
+ gpuss1_thermal: gpuss-1-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens0 6>;
+ cooling-maps {
+ map0 {
+ trip = <&gpuss1_alert0>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
trips {
- trip-point0 {
+ gpuss1_alert0: trip-point0 {
temperature = <105000>;
hysteresis = <5000>;
type = "passive";
@@ -6856,13 +6871,20 @@ trip-point1 {
};
};
- gpuss-2-thermal {
+ gpuss2_thermal: gpuss-2-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens0 7>;
+ cooling-maps {
+ map0 {
+ trip = <&gpuss2_alert0>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
trips {
- trip-point0 {
+ gpuss2_alert0: trip-point0 {
temperature = <105000>;
hysteresis = <5000>;
type = "passive";
@@ -7046,13 +7068,20 @@ trip-point1 {
};
};
- gpuss-3-thermal {
+ gpuss3_thermal: gpuss-3-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens1 5>;
+ cooling-maps {
+ map0 {
+ trip = <&gpuss3_alert0>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
trips {
- trip-point0 {
+ gpuss3_alert0: trip-point0 {
temperature = <105000>;
hysteresis = <5000>;
type = "passive";
@@ -7066,13 +7095,20 @@ trip-point1 {
};
};
- gpuss-4-thermal {
+ gpuss4_thermal: gpuss-4-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens1 6>;
+ cooling-maps {
+ map0 {
+ trip = <&gpuss4_alert0>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
trips {
- trip-point0 {
+ gpuss4_alert0: trip-point0 {
temperature = <105000>;
hysteresis = <5000>;
type = "passive";
@@ -7086,13 +7122,20 @@ trip-point1 {
};
};
- gpuss-5-thermal {
+ gpuss5_thermal: gpuss-5-thermal {
polling-delay-passive = <10>;
thermal-sensors = <&tsens1 7>;
+ cooling-maps {
+ map0 {
+ trip = <&gpuss5_alert0>;
+ cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
trips {
- trip-point0 {
+ gpuss5_alert0: trip-point0 {
temperature = <105000>;
hysteresis = <5000>;
type = "passive";
--
2.50.1
next prev parent reply other threads:[~2025-08-21 18:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-21 18:55 [PATCH v4 0/6] DRM/MSM: Support for Adreno 663 GPU Akhil P Oommen
2025-08-21 18:55 ` [PATCH v4 1/6] drm/msm/adreno: Add speedbins for A663 GPU Akhil P Oommen
2025-08-22 11:42 ` Dmitry Baryshkov
2025-08-21 18:55 ` [PATCH v4 2/6] dt-bindings: nvmem: qfprom: Add sa8775p compatible Akhil P Oommen
2025-08-22 8:01 ` Krzysztof Kozlowski
2025-08-21 18:55 ` [PATCH v4 3/6] arm64: dts: qcom: sa8775p: Add gpu and gmu nodes Akhil P Oommen
2025-08-21 19:06 ` Akhil P Oommen
2025-08-22 10:18 ` Dmitry Baryshkov
2025-09-03 12:26 ` Konrad Dybcio
2025-09-03 12:39 ` Dmitry Baryshkov
2025-09-03 13:36 ` Konrad Dybcio
2025-09-03 14:00 ` Dmitry Baryshkov
2025-09-03 15:14 ` Konrad Dybcio
2025-09-06 20:56 ` Akhil P Oommen
2025-09-06 23:02 ` Rob Clark
2025-09-08 15:39 ` Konrad Dybcio
2025-09-09 13:45 ` Akhil P Oommen
2025-08-21 18:55 ` Akhil P Oommen [this message]
2025-09-03 12:18 ` [PATCH v4 4/6] arm64: dts: qcom: lemans: Add GPU cooling Konrad Dybcio
2025-09-04 9:18 ` Gaurav Kohli
2025-08-21 18:55 ` [PATCH v4 5/6] arm64: dts: qcom: lemans-evk: Enable Adreno 663 GPU Akhil P Oommen
2025-08-22 11:42 ` Dmitry Baryshkov
2025-08-21 18:55 ` [PATCH v4 6/6] arm64: dts: qcom: qcs9100-ride: " Akhil P Oommen
2025-08-22 11:42 ` Dmitry Baryshkov
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=20250822-a663-gpu-support-v4-4-97d26bb2144e@oss.qualcomm.com \
--to=akhilpo@oss.qualcomm.com \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cwabbott0@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marijn.suijten@somainline.org \
--cc=mripard@kernel.org \
--cc=quic_abhinavk@quicinc.com \
--cc=quic_gkohli@quicinc.com \
--cc=robh@kernel.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
--cc=srini@kernel.org \
--cc=tzimmermann@suse.de \
/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
all inboxes | Powered by JetHome®