Skip to content

arm64: dts: apple: t8142-j704: Enable M5 GPU - #3782

Open
rjianwei wants to merge 1 commit into
aurora-silicon:mainfrom
rjianwei:feat/j704-gpu-dts
Open

rjianwei wants to merge 1 commit into
aurora-silicon:mainfrom
rjianwei:feat/j704-gpu-dts

Conversation

@rjianwei

@rjianwei rjianwei commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

What: Enable the M5 (T8142 / G17G) GPU in t8142-j704.dts (MacBook Pro 14-inch, M5) by including t8142-j813-gpu.dtsi, adding opp13 for J704's 14 GPU perf states, and wiring /reserved-memory/fw-text.
Tested: J704 MacBook Pro 14-inch M5 at 52e94113: PASS — all 14 GPU OPPs (opp00 0 MHz..opp13 1620 MHz @ 1.035 V) populated by Aura Stage 2, aurora 582600000.gpu probes cleanly on 27.2 (26B123), G17G, /dev/dri/renderD128 active with GNOME Shell and Hyprland hardware acceleration, 0 GPU faults, checkpatch.pl 0 errors/warnings.
Risk: two-way · M5 J704 (T8142) only; zero impact on other Macs.
Not yet: Nothing for J704 27.2 stub; other M5 boards are unaffected.

Details
  • Include the shared t8142-j813-gpu.dtsi GPU description in t8142-j704.dts.
  • Add opp13 to &gpu_opp so the OPP table has 14 entries matching J704's 14 GPU perf states (filled dynamically by Aura Stage 2, whereas J813 has 13).
  • Add /reserved-memory/fw-text and wire fw-text into &gpu memory-region/memory-region-names (matching t8142-j813.dts) for firmware identification.
Evidence

Tested on MacBook Pro (14-inch, M5, 24 GB, apple,j704) running macOS 27.2 stub, Aura Stage 2 (1.0.0b17-g378497cf), and Arch Linux ARM (7.3.0-1-46-ARCH and 7.3.0-j704-s2r+):

  • Aura Stage 2 populates all 14 GPU OPPs (opp00 0 MHz through opp13 1620 MHz @ 1.035 V).
  • aurora 582600000.gpu probes cleanly on 27.2 (26B123), G17G firmware (M5 secondary initdata acknowledged, M5 primary initdata acknowledged, M5 firmware opening records retired, Initialized aurora 1.0.0 for 582600000.gpu on minor 1).
  • /dev/dri/renderD128 is created and used by GNOME Shell (CPU usage dropped from ~54% llvmpipe to ~1.7%) and Hyprland (OpenGL ES 3.2 Mesa 26.3.0-devel, Apple M5 (G17G C0)), with 0 GPU faults or recoveries.
  • aurora-stage2-commit succeeds cleanly.
  • scripts/checkpatch.pl: 0 errors, 0 warnings.

Include the shared T8142 GPU description (t8142-j813-gpu.dtsi) on J704
(MacBook Pro 14-inch, M5), add the 14th OPP slot (opp13) to match J704's
14-state ADT table filled by Aura Stage 2, and wire the fw-text
reserved-memory region for firmware identification just like t8142-j813.

Tested on MacBook Pro (14-inch, M5, 24 GB, J704) running macOS 27.2 stub
with Aura Stage 2 (1.0.0b17-g378497cf) and ALARM 7.3.0-1-46-ARCH:
- Aura Stage 2 populates all 14 GPU OPPs (opp00 0 MHz .. opp13 1620 MHz)
- aurora 582600000.gpu probes cleanly on 26B123 G17G firmware
- /dev/dri/renderD128 initializes with 0 GPU faults or recoveries
- GNOME Shell hardware acceleration works smoothly

Signed-off-by: WJW <[email protected]>
@rjianwei
rjianwei requested review from a team as code owners December 1, 2026 11:43
@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) needs-hw-row No hardware row at the PR head (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot) labels Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Merge readiness at 52e94113: not ready yet

Check Detail
CI at head ok 2 checks passed
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head ok in the PR body at 52e94113
Conflicts ok none
PR text ok Risk: two-way · M5 J704 (T8142) only; zero impact on other Macs.

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@github-actions github-actions Bot added blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) and removed needs-hw-row No hardware row at the PR head (bot) needs-template PR body lacks Tested or Risk (bot) labels Dec 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant