summarylogtreecommitdiffstats
path: root/0008-Modfy-GPU-node-for-Panfrost-driver.patch
diff options
context:
space:
mode:
authorboogie2023-07-21 00:12:50 +0200
committerboogie2023-07-21 02:18:56 +0200
commit14a0a8705f127a23347fcbdfbde4dbb058b13182 (patch)
tree056405c80516964dd4941fbc062a57666775abb4 /0008-Modfy-GPU-node-for-Panfrost-driver.patch
parenta001021fbecb1867e9b443501c783700d47f5010 (diff)
downloadaur-14a0a8705f127a23347fcbdfbde4dbb058b13182.tar.gz
update to rkr4.1 and deliver libmali together
Diffstat (limited to '0008-Modfy-GPU-node-for-Panfrost-driver.patch')
-rw-r--r--0008-Modfy-GPU-node-for-Panfrost-driver.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0008-Modfy-GPU-node-for-Panfrost-driver.patch b/0008-Modfy-GPU-node-for-Panfrost-driver.patch
new file mode 100644
index 000000000000..10d0acab176a
--- /dev/null
+++ b/0008-Modfy-GPU-node-for-Panfrost-driver.patch
@@ -0,0 +1,29 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: ZHANG Yuntan <yt@radxa.com>
+Date: Mon, 5 Dec 2022 17:35:53 +0800
+Subject: [PATCH] Modfy GPU node for Panfrost driver
+
+This change is necessary for panfrost to detect GPU in RK3399 SoC.
+
+This partially reverts eca1fb47441368e146603effffc59902dc7d2d76.
+---
+ arch/arm64/boot/dts/rockchip/rk3399.dtsi | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+index 64b2d7f2fee5..d8a975ab85a5 100644
+--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
++++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+@@ -2200,7 +2200,8 @@ gpu: gpu@ff9a0000 {
+ compatible = "arm,malit860",
+ "arm,malit86x",
+ "arm,malit8xx",
+- "arm,mali-midgard";
++ "arm,mali-midgard",
++ "rockchip,rk3399-mali", "arm,mali-t860";
+ reg = <0x0 0xff9a0000 0x0 0x10000>;
+ interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH 0>,
+ <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH 0>,
+--
+2.38.1
+