]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: qcom: sm6350: Update GPU thermal zone settings
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 10 May 2024 12:58:35 +0000 (14:58 +0200)
committerBjorn Andersson <andersson@kernel.org>
Fri, 7 Jun 2024 23:03:52 +0000 (18:03 -0500)
Lower the thresholds to something more reasonable and introduce a
passive polling delay to make sure more than one "passive" thermal point
is taken into account when throttling.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240510-topic-gpus_are_cool_now-v1-6-ababc269a438@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6350.dtsi

index 6452f0f5d9ac52cab5927f576c92eeb3b764d912..46e122c4421c5bff93ed992866a7f8a2865c7247 100644 (file)
                };
 
                gpuss0-thermal {
+                       polling-delay-passive = <250>;
+
                        thermal-sensors = <&tsens0 13>;
 
                        trips {
                                gpuss0_alert0: trip-point0 {
-                                       temperature = <95000>;
+                                       temperature = <85000>;
                                        hysteresis = <2000>;
                                        type = "passive";
                                };
 
                                gpuss0-crit {
-                                       temperature = <115000>;
-                                       hysteresis = <0>;
+                                       temperature = <110000>;
+                                       hysteresis = <1000>;
                                        type = "critical";
                                };
                        };
                };
 
                gpuss1-thermal {
+                       polling-delay-passive = <250>;
+
                        thermal-sensors = <&tsens0 14>;
 
                        trips {
                                gpuss1_alert0: trip-point0 {
-                                       temperature = <95000>;
+                                       temperature = <85000>;
                                        hysteresis = <2000>;
                                        type = "passive";
                                };
 
                                gpuss1-crit {
-                                       temperature = <115000>;
-                                       hysteresis = <0>;
+                                       temperature = <110000>;
+                                       hysteresis = <1000>;
                                        type = "critical";
                                };
                        };