Skip to content

Commit 96ea453

Browse files
gauravkohli1andersson
authored andcommitted
arm64: dts: qcom: qcs8300: 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 reaching 115°C. Signed-off-by: Gaurav Kohli <quic_gkohli@quicinc.com> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250903-a623-gpu-support-v5-4-5398585e2981@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent e7fc2fe commit 96ea453

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7262,12 +7262,25 @@
72627262
thermal-sensors = <&tsens0 5>;
72637263

72647264
trips {
7265+
gpuss0_alert0: trip-point0 {
7266+
temperature = <115000>;
7267+
hysteresis = <5000>;
7268+
type = "passive";
7269+
};
7270+
72657271
gpuss0-critical {
72667272
temperature = <125000>;
72677273
hysteresis = <1000>;
72687274
type = "critical";
72697275
};
72707276
};
7277+
7278+
cooling-maps {
7279+
map0 {
7280+
trip = <&gpuss0_alert0>;
7281+
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7282+
};
7283+
};
72717284
};
72727285

72737286
audio-thermal {
@@ -7382,12 +7395,25 @@
73827395
thermal-sensors = <&tsens1 5>;
73837396

73847397
trips {
7398+
gpuss1_alert0: trip-point0 {
7399+
temperature = <115000>;
7400+
hysteresis = <5000>;
7401+
type = "passive";
7402+
};
7403+
73857404
gpuss1-critical {
73867405
temperature = <125000>;
73877406
hysteresis = <1000>;
73887407
type = "critical";
73897408
};
73907409
};
7410+
7411+
cooling-maps {
7412+
map0 {
7413+
trip = <&gpuss1_alert0>;
7414+
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7415+
};
7416+
};
73917417
};
73927418

73937419
video-thermal {

0 commit comments

Comments
 (0)