53 lines
1.3 KiB
Diff
53 lines
1.3 KiB
Diff
|
From c5d9920b34c4797e0e9e0c33a593a1036e79aa98 Mon Sep 17 00:00:00 2001
|
||
|
From: Ondrej Jirman <megi@xff.cz>
|
||
|
Date: Sun, 16 Oct 2022 23:20:59 +0200
|
||
|
Subject: [PATCH 111/469] arm64: dts: sun50i-a64: Add missing trip points for
|
||
|
GPU
|
||
|
|
||
|
Linux 6.1 requires them.
|
||
|
|
||
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
||
|
---
|
||
|
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 18 ++++++++++++++++++
|
||
|
1 file changed, 18 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
||
|
index f31af6e2814b..bf453af77934 100644
|
||
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
||
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
||
|
@@ -243,6 +243,15 @@ gpu0_thermal: gpu0-thermal {
|
||
|
polling-delay-passive = <0>;
|
||
|
polling-delay = <0>;
|
||
|
thermal-sensors = <&ths 1>;
|
||
|
+
|
||
|
+ trips {
|
||
|
+ gpu0_crit: gpu-crit {
|
||
|
+ /* milliCelsius */
|
||
|
+ temperature = <110000>;
|
||
|
+ hysteresis = <2000>;
|
||
|
+ type = "critical";
|
||
|
+ };
|
||
|
+ };
|
||
|
};
|
||
|
|
||
|
gpu1_thermal: gpu1-thermal {
|
||
|
@@ -250,6 +259,15 @@ gpu1_thermal: gpu1-thermal {
|
||
|
polling-delay-passive = <0>;
|
||
|
polling-delay = <0>;
|
||
|
thermal-sensors = <&ths 2>;
|
||
|
+
|
||
|
+ trips {
|
||
|
+ gpu1_crit: gpu-crit {
|
||
|
+ /* milliCelsius */
|
||
|
+ temperature = <110000>;
|
||
|
+ hysteresis = <2000>;
|
||
|
+ type = "critical";
|
||
|
+ };
|
||
|
+ };
|
||
|
};
|
||
|
};
|
||
|
|
||
|
--
|
||
|
2.34.1
|
||
|
|