Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions devices/j72t/firmware.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,16 @@
"coprocessor": "AOP_ext"
}
]
},
{
"destination": "lib/firmware/apple/gfx-s8003.bin",
"sha256": "33ae20cbbe2498e4f119ba4e9a55467e4e0192d4c86d5bf1903adce63ffa5dca",
"steps": [
{
"step": "agx-g5p-ldr-from-kernelcache@1",
"input": "kernelcache"
}
]
}
]
}
702 changes: 702 additions & 0 deletions docs/bring-up/gpu/a9-g5p.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Henrik Klee <henrik@goat-code.com>
Date: Sat, 14 Nov 2026 23:28:48 +0800
Subject: [PATCH] arm64: dts: apple: iPad 5 (J71t): Enable the GPU
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The powervr driver takes the A9's GPU node now and starts its firmware.
Enabled on the J71t, the board Berkay Kösebay's driver runs this GPU on
and the one whose firmware recipe has the GPU's image. The J72t and the
S8003 phones keep it disabled until theirs have it: without the file the
driver would only fail to load it at every boot.

The driver binds only with powervr.exp_hw_support=1 as long as the GPU
does not render.

Assisted-by: LLM
---
arch/arm64/boot/dts/apple/s8003-j71t.dts | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/apple/s8003-j71t.dts b/arch/arm64/boot/dts/apple/s8003-j71t.dts
index 733cefc..4775055 100644
--- a/arch/arm64/boot/dts/apple/s8003-j71t.dts
+++ b/arch/arm64/boot/dts/apple/s8003-j71t.dts
@@ -24,3 +24,10 @@
&wifi {
brcm,board-type = "apple,feara";
};
+
+/*
+ * The GPU: the powervr driver starts its firmware. It does not render yet.
+ */
+&gpu {
+ status = "okay";
+};
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Henrik Klee <henrik@goat-code.com>
Date: Sun, 15 Nov 2026 00:12:59 +0800
Subject: [PATCH] arm64: dts: apple: iPad 5 (J72t): Enable the GPU

The cellular iPad 5 has the same GPU as the J71t and, in the same iPadOS
16.7.10 restore image, the same firmware for it: its kernelcache's
AGXFirmwareKextG5P section is byte for byte the J71t's (checked with
orchard.apple.remote_ipsw; sha256 33ae20cb...5dca). Its firmware recipe
installs the file now, so its node is enabled too.

The S8003 phones stay as they are: iOS 15.8.8's kernelcaches for the
N71m, N66m and N69 carry a firmware image of another size, which the
recipe step refuses and whose layout the driver has not been checked
against.

Assisted-by: LLM
---
arch/arm64/boot/dts/apple/s8003-j71t.dts | 4 +---
arch/arm64/boot/dts/apple/s8003-j72t.dts | 5 +++++
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/apple/s8003-j71t.dts b/arch/arm64/boot/dts/apple/s8003-j71t.dts
index 4775055..018ad6c 100644
--- a/arch/arm64/boot/dts/apple/s8003-j71t.dts
+++ b/arch/arm64/boot/dts/apple/s8003-j71t.dts
@@ -25,9 +25,7 @@
brcm,board-type = "apple,feara";
};

-/*
- * The GPU: the powervr driver starts its firmware. It does not render yet.
- */
+/* The GPU: its firmware file comes from this board's firmware recipe */
&gpu {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/apple/s8003-j72t.dts b/arch/arm64/boot/dts/apple/s8003-j72t.dts
index bc36459..a3e0dea 100644
--- a/arch/arm64/boot/dts/apple/s8003-j72t.dts
+++ b/arch/arm64/boot/dts/apple/s8003-j72t.dts
@@ -24,3 +24,8 @@
&wifi {
brcm,board-type = "apple,fearb";
};
+
+/* The GPU: its firmware file comes from this board's firmware recipe */
+&gpu {
+ status = "okay";
+};
Loading
Loading