Commit 1a558bbf authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sm6350: Update GPU thermal zone settings



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: default avatarKonrad 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: default avatarBjorn Andersson <andersson@kernel.org>
parent c518b5f6
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -3229,18 +3229,20 @@ ddr-crit {
		};

		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";
				};
			};
@@ -3254,18 +3256,20 @@ map0 {
		};

		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";
				};
			};