arm64: dts: qcom: sm6115: Update GPU thermal zone settings
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Fri, 10 May 2024 12:58:34 +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-5-ababc269a438@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6115.dtsi

index 98782004257db140f54d4e4e10ec981a8fbc6c2e..86ac6af2ef0f335dc5d76e36f8b525ac92ce2f12 100644 (file)
                };
 
                gpu-thermal {
+                       polling-delay-passive = <250>;
+
                        thermal-sensors = <&tsens0 15>;
 
                        cooling-maps {
 
                        trips {
                                gpu_alert0: trip-point0 {
-                                       temperature = <115000>;
-                                       hysteresis = <5000>;
+                                       temperature = <85000>;
+                                       hysteresis = <1000>;
                                        type = "passive";
                                };
 
                                trip-point1 {
-                                       temperature = <125000>;
+                                       temperature = <110000>;
                                        hysteresis = <1000>;
                                        type = "critical";
                                };