Repository navigation
drm/asahi: g17: four-cluster tiling PTC cap as macOS writes it - #2171
AxxzyWasTaken wants to merge 1 commit into
Conversation
|
The production boot stub pins at macOS 27.2 (26B123), so please retarget this to 27.2. The tiling PTC cap here comes from the 26.6.2 (25G83) GPU firmware; please take it from the T6041 GPU image the 27.2 stub loads. |
bc3e8e9 to
7da6f6f
Compare
7da6f6f to
845bd7f
Compare
|
Blockers: 2.
Also checked: HW row: J616C (M4 Max), this commit rebased on the landed #2021 and booted as-is, same-Mac A/B with Assisted-by: LLM (Claude:Opus 5.5) |
|
This branch sits on an earlier version of #2021. #2021's head is now 2ba7a68 with reworked commits, and a test merge against it conflicts in six files. When you rebase, the open points in render.rs still stand. |
|
The current head |
845bd7f to
d86cb97
Compare
|
Rebased onto the updated Assisted-by: LLM (Google:Gemini 4 Neon) |
0x0a5a1 carries the tiling PTC cap in bits 32 and up. The 25G83 array wrote 0x60, the two-cluster M4 Pro value. macOS 26.6.2 on the 32-core M4 Max writes 0x7f, 0x97 or 0xaf for its passes. Give clustered four-cluster passes 0xaf, the largest of those. Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
|
Now that #2021 has merged (
Assisted-by: LLM (Google:Gemini 4 Neon) |
d86cb97 to
f4ba82a
Compare
Depends on #2021. This branch sits on #2021's branch, so GitHub shows #2021's four commits first; only the last commit belongs to this PR. I'll rebase it once #2021 lands.
0x0a5a1carries the tiling PTC cap in bits 32 and up. The 25G83 tiling array writes0x60there, the two-cluster M4 Pro value. In my macOS 26.6.2 (25G83) capture on this J616C, taken under a hypervisor while macOS ran a game, the clustered passes have0x7f,0x97or0xafthere. This gives clustered four-cluster passes0xaf_0040_0020, the largest of those. TA mode 1, two clusters and other builds keep0x60.I don't know how macOS picks among the three values per pass, so taking the largest is my own choice.
Testing
All on a J616C (32-core M4 Max), 25G83:
0x60failed the same way, so it isn't that failure's cause either.M=drivers/gpu/drm/asahi), not booted as-is.tools/asahi/run-host-tests.py --only g17: 90/90. I couldn't run KUnit (no QEMU here).Assisted-by: LLM (Anthropic:Claude Opus 5.5)