forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sunxi-6.1: Add missing GPU trip point
- Loading branch information
1 parent
11d11cf
commit 7a054c6
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
...rnel/archive/sunxi-6.1/patches.megous/ARM-dts-sun8i-a83t-Add-missing-GPU-trip-point.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From ff6f100b72e096027dbcfd78c4aa8dce00400a71 Mon Sep 17 00:00:00 2001 | ||
From: Ondrej Jirman <[email protected]> | ||
Date: Mon, 13 Mar 2023 06:02:27 +0100 | ||
Subject: [PATCH] ARM: dts: sun8i-a83t: Add missing GPU trip point | ||
|
||
Without this, thermal sensor driver fails to probe. | ||
|
||
Signed-off-by: Ondrej Jirman <[email protected]> | ||
--- | ||
arch/arm/boot/dts/sun8i-a83t.dtsi | 9 +++++++++ | ||
1 file changed, 9 insertions(+) | ||
|
||
diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi | ||
index 4e36bf198..399561321 100644 | ||
--- a/arch/arm/boot/dts/sun8i-a83t.dtsi | ||
+++ b/arch/arm/boot/dts/sun8i-a83t.dtsi | ||
@@ -1290,6 +1290,15 @@ gpu_thermal: gpu-thermal { | ||
polling-delay-passive = <0>; | ||
polling-delay = <0>; | ||
thermal-sensors = <&ths 2>; | ||
+ | ||
+ trips { | ||
+ gpu_crit: gpu-crit { | ||
+ /* milliCelsius */ | ||
+ temperature = <100000>; | ||
+ hysteresis = <2000>; | ||
+ type = "critical"; | ||
+ }; | ||
+ }; | ||
}; | ||
}; | ||
}; | ||
-- | ||
2.35.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters