diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2024-05-10 14:58:35 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-06-07 18:03:52 -0500 |
commit | 1a558bbffc2ee9b99226b146fd7928e41db79d41 (patch) | |
tree | 2626ac533eb2df2111369d3b88580a30293bd376 | |
parent | c518b5f6def159222d73f3241fb1802bc846a477 (diff) | |
download | lwn-1a558bbffc2ee9b99226b146fd7928e41db79d41.tar.gz lwn-1a558bbffc2ee9b99226b146fd7928e41db79d41.zip |
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: 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>
-rw-r--r-- | arch/arm64/boot/dts/qcom/sm6350.dtsi | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 6452f0f5d9ac..46e122c4421c 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -3229,18 +3229,20 @@ }; 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 @@ }; 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"; }; }; |