Skip to content

Commit 419c9ab

Browse files
gauravkohli1Jie Zhang
authored andcommitted
FROMLIST: 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> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251204-qcs615-spin-2-v4-7-f5a00c5b663f@oss.qualcomm.com
1 parent 22b9fb6 commit 419c9ab

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
@@ -18,6 +18,7 @@
1818
#include <dt-bindings/power/qcom-rpmpd.h>
1919
#include <dt-bindings/power/qcom,rpmhpd.h>
2020
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
21+
#include <dt-bindings/thermal/thermal.h>
2122

2223
/ {
2324
interrupt-parent = <&intc>;
@@ -4806,12 +4807,25 @@
48064807
thermal-sensors = <&tsens0 9>;
48074808

48084809
trips {
4810+
gpu_alert0: trip-point0 {
4811+
temperature = <105000>;
4812+
hysteresis = <5000>;
4813+
type = "passive";
4814+
};
4815+
48094816
gpu-critical {
48104817
temperature = <115000>;
48114818
hysteresis = <1000>;
48124819
type = "critical";
48134820
};
48144821
};
4822+
4823+
cooling-maps {
4824+
map0 {
4825+
trip = <&gpu_alert0>;
4826+
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4827+
};
4828+
};
48154829
};
48164830

48174831
q6-hvx-thermal {

0 commit comments

Comments
 (0)