From: Konrad Dybcio Date: Fri, 10 May 2024 12:58:34 +0000 (+0200) Subject: arm64: dts: qcom: sm6115: Update GPU thermal zone settings X-Git-Tag: io_uring-6.11-20240722~96^2~8^2~70 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=c518b5f6def159222d73f3241fb1802bc846a477;p=linux-block.git arm64: dts: qcom: sm6115: 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 Link: https://lore.kernel.org/r/20240510-topic-gpus_are_cool_now-v1-5-ababc269a438@linaro.org Signed-off-by: Bjorn Andersson --- diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 98782004257d..86ac6af2ef0f 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -3325,6 +3325,8 @@ }; gpu-thermal { + polling-delay-passive = <250>; + thermal-sensors = <&tsens0 15>; cooling-maps { @@ -3336,13 +3338,13 @@ 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"; };