Skip to content

Commit a74c7b3

Browse files
gauravkohli1andersson
authored andcommitted
arm64: dts: qcom: talos: Add GPU cooling
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 it reaches 105°C. Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260312-qcs615-spin-2-v8-3-fca38edcd6e6@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 8de397a commit a74c7b3

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/talos.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <dt-bindings/power/qcom-rpmpd.h>
2020
#include <dt-bindings/power/qcom,rpmhpd.h>
2121
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
22+
#include <dt-bindings/thermal/thermal.h>
2223

2324
/ {
2425
interrupt-parent = <&intc>;
@@ -4985,12 +4986,25 @@
49854986
thermal-sensors = <&tsens0 9>;
49864987

49874988
trips {
4989+
gpu_alert0: trip-point0 {
4990+
temperature = <105000>;
4991+
hysteresis = <5000>;
4992+
type = "passive";
4993+
};
4994+
49884995
gpu-critical {
49894996
temperature = <115000>;
49904997
hysteresis = <1000>;
49914998
type = "critical";
49924999
};
49935000
};
5001+
5002+
cooling-maps {
5003+
map0 {
5004+
trip = <&gpu_alert0>;
5005+
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
5006+
};
5007+
};
49945008
};
49955009

49965010
q6-hvx-thermal {

0 commit comments

Comments
 (0)