Skip to content

arm64: dts: apple: t6050-j716s: describe the GPU and the internal panel - #2922

Open
ja-818 wants to merge 4 commits into
aurora-silicon:mainfrom
ja-818:j716s-gpu-panel
Open

ja-818 wants to merge 4 commits into
aurora-silicon:mainfrom
ja-818:j716s-gpu-panel

Conversation

@ja-818

@ja-818 ja-818 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

The J716s had no GPU or internal-panel nodes, so the loader's display and GPU handoff refused it and Linux stayed on the boot framebuffer. This adds t6050-j716s-gpu-panel.dtsi after the J714s's: chip-level nodes checked against the J716sAP 27.2 (26B123) ADT (they match the J714s's) and the J716s's own 16-inch 3456x2234 mini-LED panel. All disabled until the loader enables them.
Seen on one J716s (27.2 stub, omarchy-m5 v272-17 kernel plus a J716s GPU board entry): apple-dcp drives the panel at 3456x2234 with backlight, the GPU driver registers, the panel comes back after lid sleep. Report: betizzel/omarchy-m5#28.

The J716s had no GPU or internal-panel nodes, so the loader's display and
GPU handoff refused it (no dcp, disp0 or gpu alias) and Linux stayed on
the boot framebuffer.

Add t6050-j716s-gpu-panel.dtsi after t6050-j714s-gpu-panel.dtsi: the
chip-level nodes (sgx, the GFX and GFX1 ASCs, the dart-dcp and dart-disp0
windows, clocks), each checked against the J716sAP 27.2 (26B123) ADT,
where they match the J714s's, and the J716s's own 16-inch 3456x2234
mini-LED panel. Everything stays disabled until the loader enables it.

Seen on one J716s (27.2 stub) with omarchy-m5's v272-17 kernel and a
J716s GPU board entry in the driver: apple-dcp drives the panel at
3456x2234 with backlight control, the GPU driver registers, and the
panel comes back after lid sleep. The GPU also needs the driver's J716s
board support (aurora-silicon#1173); this only describes the hardware.

Signed-off-by: Julian Arango <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@RyanTheTide

Copy link
Copy Markdown
Contributor

Review at 8659491.

Thanks for this. The GPU half matches the bindings, but a few things need to change before it can land:

  1. t6050-j716s-gpu-panel.dtsi:92: apple,max-brightness = <600> has no source, and it replaces the machine's own value. The loader's T6050 display handoff writes this property from the ADT's user-accessible-max-nits, but only when the node does not already have it (aura src/kboot_display_handoff.c:3761-3762). Please drop it, as t6050-j714s-gpu-panel.dtsi does, so the backlight ceiling comes from the J716sAP ADT.
  2. Duplication: apart from the header comment and the panel node, this file is byte-identical to t6050-j714s-gpu-panel.dtsi: aliases, display-subsystem, the six reservations, the dart-dcp/dart-disp0 dma-ranges, both GFX mailboxes, the GPX/AFR always-on marks and the sgx override. t6050-k116s-gpu.dtsi already copies the GPU part a third time. Please move the chip-level nodes into one shared t6050 dtsi that J714s and J716s (and K116s) include, and keep only the panel node per board.
  3. :84-91: width-mm/height-mm/adj-height-mm are worked out from the 254.6 ppi spec, not read from the ADT. That is fine as a fallback, because the driver takes the ADT dimensions when it has them, but please say so in the comment. In :12-13, drop the personal handle. "the DCP on 27.3" also contradicts the 27.2 (26B123) ADT and stub that the commit describes.
  4. Bindings: I checked by hand (dtbs_check not run). sgx (apple,agx-g17s: one reg, reg-names "sgx", two mboxes, six memory-regions in schema order, power-domains from the t6050 node) matches apple,agx.yaml. The mailboxes match apple,ascwrap-v6.yaml, and the panel compatible matches the apple,dcp.yaml pattern. No problem found.
  5. Commit: please drop the Co-Authored-By: Claude ... trailer, and drop the "Generated with Claude Code" line from the PR description. The Signed-off-by is fine; a real address is preferred over the noreply one. "drm/asahi: M5: InitData for the macOS 27.2 and 27.3 firmware (G17S bring-up on J716s) #1173" refers to another tree's PR, so please name it in full.
  6. Testing: the only run was on a different kernel with an out-of-tree GPU board entry. Please post a J716s boot at this head on this tree and its loader, showing the dcp/disp0 handoff accepted and the backlight maximum reported, the GPU probe, and a lid-sleep resume. The loader matches the T6050 DCP image by UUID (kboot_display_handoff.c:3430), so please also say whether it accepts the J716s 27.2 image.

@DjDeveloperr DjDeveloperr left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formal §1–§6 pre-PR checklist review at 8659491e4054f37e9999ec1f6dac264b8434e6b0.

The fail-closed status = "disabled" handoff structure and the sgx / gfx_mbox / gfx1_mbox bindings look clean, and the fork diff is pure DTS (safe for a maintainer to approve fork CI runs). However, three hard checklist items block merge:

Blockers

  1. §3 Hardcoded backlight ceiling overrides ADT (arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi:98):
    apple,max-brightness = <600>; hardcodes a panel brightness ceiling instead of reading it from the machine. Worse, Aura's T6050 display handoff (aura/src/kboot_display_handoff.c:3761-3762) only populates apple,max-brightness from the ADT's user-accessible-max-nits when the property is absent from the DT (!fdt_getprop(dt, panel, "apple,max-brightness", NULL)). Drop apple,max-brightness (matching t6050-j714s-gpu-panel.dtsi) so the ceiling comes from the J716sAP ADT.
  2. §4 AI trailer in commit message (8659491e4054):
    The commit message carries Co-Authored-By: Claude Opus 5.5 <[email protected]>. Commits must carry human author/committer and human Signed-off-by: only (zero AI trailers in commits; keep AI disclosure in the PR body).
  3. §5 CI not run & missing exact-head integration/aurora hardware evidence:
    • Fork CI workflows (Host tests, Device tree checks) are action_required and have not run yet (diff is safe to approve).
    • The only reported boot was on a different kernel (omarchy-m5 v272-17) with an out-of-tree GPU board entry and lacks regression counts. Please post a J716s boot at the updated head on integration/aurora + Aurora loader showing: dcp/disp0 handoff accepted, ADT-sourced backlight max, GPU probe state, lid-sleep resume, and regression status (0 SELinux denials, 0 failed units, 0 new kernel errors).

Non-blocking notes

  • Duplication: Everything outside the panel node is byte-identical to t6050-j714s-gpu-panel.dtsi (and t6050-k116s-gpu.dtsi duplicates the GPU portion too). Factoring the shared T6050 GPU/display handoff nodes into a common .dtsi would prevent drift.
  • Comment cleanup: :18-19 mentions "the DCP on 27.3" (contradicting the 27.2 / 26B123 ADT stated just above) and includes a personal handle; also clarify that width-mm/height-mm/adj-height-mm are fallback values computed from the 254.6 ppi spec when ADT dimensions are absent, and qualify the cross-repo #1173 reference in the commit message.

Checklist summary

  • §1 No model gating: Pass (DT hardware description; all nodes disabled until loader handoff).
  • §2 Production-ready: Pass (default cmdline).
  • §3 Safety: Blocked on hardcoded apple,max-brightness = <600>.
  • §4 Clean-room & attribution: Blocked on Co-Authored-By: AI trailer in commit 8659491e4054.
  • §5 Evidence: Blocked on action_required CI and missing integration/aurora exact-head J716s boot + regression row.
  • §6 Naming: Pass.

@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) changes-requested A reviewer requested changes (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) ci-failing A check failed at the PR head (bot) labels Nov 24, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: FINISH, then merge at 8659491e4054

Blockers:

  1. arch/arm64/boot/dts/apple/t6050-j716s-gpu-panel.dtsi:98: apple,max-brightness = <600>; hardcodes the panel's brightness ceiling. Aura's T6050 display handoff publishes the panel's own value from the ADT, and the DT constant overrides it. Fix: drop the property and let the handoff supply it.
  2. The commits carry Co-Authored-By: trailers naming an AI tool; remove them and force-push.
  3. Missing row: one J716s boot at the head with the GPU up and the internal panel lit at the ceiling from the handoff. I've approved the waiting CI runs.

Checked: thank you for the J716s bring-up. No Apple material.

@DjDeveloperr
DjDeveloperr dismissed their stale review November 25, 2026 01:37

Superseded by the review at 8659491

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Merge readiness at 045a6383: not ready yet

Check Detail
CI at head ok 5 checks passed
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes no requested by DjDeveloperr
Hardware row at head no no line with the head SHA 045a6383, a Mac and a result in the PR body or a comment
Conflicts no merge conflicts with main: merge it in (no force push)
PR text adopt when you next edit add a 'Tested:' line; a 'Risk:' line (door and Macs) (guide)

Areas: area:bringup

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

@rolotrealanis98

Copy link
Copy Markdown
Contributor

Tested on J716s (16-inch M5 Pro, 27.3 beta stub, aura loader) at 8659491: the J716s daily kernel with the DTB built from it plus this PR (t6050-j716s-gpu-panel.dtsi in place of the J714s file it used before).

  • panel: apple-dcp drives the internal panel, eDP connected at 3456x2234, backlight device present, no DCP errors
  • GPU: handed over and running (G17S, 27.3 26C5035r firmware): vulkaninfo and vkcube ok, 0 GPU faults
  • 0 SError, 0 deferred probes, 0 new kernel errors, 0 failed units

Our board file also had cs under pmgr_gpx and the gpx/afr/gfx states marked okay; with this PR alone the hand-off works the same (aura enables those three states itself), so they are not needed here.

@github-actions github-actions Bot removed the needs-hw-row No hardware row at the PR head (bot) label Nov 26, 2026
@github-actions github-actions Bot added the merge-conflict Conflicts with the base branch (bot) label Nov 28, 2026
The J716s file was the J714s file apart from the panel node. Move the
chip-level display and GPU nodes into t6050-j714s-j716s-gpu.dtsi and keep
only each board's panel in its gpu-panel file; the J714s DTB is unchanged.

Drop the J716s panel's fixed apple,max-brightness: the loader's T6050
display handoff supplies the backlight ceiling from the ADT, as on the
J714s. Say that the panel dimensions are computed from 254.6 ppi.

The GPU mailboxes replace the gfx_asc and gfx1_asc inventory nodes, so
point the J716s ADT coverage manifest at /soc/mailbox@2302600000 and
/soc/mailbox@2302e00000; dt-checks failed on the absent
/soc/gpu-coproc@2302e00000.

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide requested review from a team as code owners November 29, 2026 05:51
@RyanTheTide

Copy link
Copy Markdown
Contributor

Thanks for the J716s description, @ja-818, and thanks to your tester for the row. We pushed a maintainer rework to this branch: a merge of current main (the include conflict next to main's media/ISP includes in t6050-j716s.dts) and 90b9796. That commit moves the chip-level display and GPU nodes into a new t6050-j714s-j716s-gpu.dtsi, so each board's gpu-panel file now keeps only its panel. It also drops the J716s panel's fixed apple,max-brightness (the loader's T6050 handoff supplies the ceiling from the ADT), says the panel size is computed from 254.6 ppi, and points the J716s ADT coverage manifest at /soc/mailbox@2302600000 and /soc/mailbox@2302e00000. That last change fixes the dt-checks "absent DT path" failure.
New head: 90b9796. Tests: the J714s DTB is byte-identical before and after the split (decompiled diff empty); CHECK_DTBS (dtschema 2026.9) shows no warnings on t6050-j716s; apple-adt-coverage.py for t6050-j716s reports broken=0 (main: broken=1) with one fewer MISSING entry.
Still needed: a J716s row at this head (handoff accepted, backlight maximum from the handoff, GPU probe and vkcube, lid-sleep resume), dt-checks green in CI, then App review and a squash merge that drops the Co-Authored-By trailer.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: FINISH at 90b9796

Checked: The new board include keeps panel geometry only, uses the common chip nodes, removes the fixed brightness ceiling, and matches the coverage paths to the mailbox nodes. The reported dtschema result and byte-identical J714s DTB support the split.

Blockers: Post a J716s boot with the revised DTB showing GPU, internal panel and the loader-supplied brightness ceiling. Keep hosted DT checks and a clean squash commit for the old trailers.

@github-actions github-actions Bot added ci-failing A check failed at the PR head (bot) and removed ci-failing A check failed at the PR head (bot) merge-conflict Conflicts with the base branch (bot) labels Nov 29, 2026
@github-actions github-actions Bot added the merge-conflict Conflicts with the base branch (bot) label Nov 30, 2026
Keep the shared J714s/J716s GPU description and retain main's G17S OPP include in the J714s board file, where it was qualified.

Signed-off-by: DjDeveloperr <[email protected]>
@github-actions github-actions Bot added needs-hw-row No hardware row at the PR head (bot) and removed ci-failing A check failed at the PR head (bot) merge-conflict Conflicts with the base branch (bot) labels Nov 30, 2026

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: HOLD at 045a638394e4

Blockers:

  • Hosted CI did not execute on this fork head (dt-checks and host-tests are SKIPPED; only readiness ran) — confirm dt-checks / DTB build pass at 045a638394e4.
  • Missing live hardware boot verification on J716s with the reworked shared-DTSI layout (90b97968/045a638394e4; the existing J716s report was run on pre-rework 8659491e), plus a J714s non-regression boot check confirming the extracted t6050-j714s-j716s-gpu.dtsi preserves J714s display/GPU bring-up.

Checked:

  • Verified 045a638394e4 is a clean merge of main over 90b97968 with MERGEABLE status.
  • Audited arch/arm64/boot/dts/apple/t6050-j714s-gpu-panel.dtsi, t6050-j714s-j716s-gpu.dtsi, and adt-coverage/t6050-j716s.txt (gfx-asc / gfx1-asc mailbox mapping updates).
Evidence
  • Head: 045a638394e4edcb020808caad1b41132bb4013a (base main, MERGEABLE).
  • Status checks: readiness / readiness SUCCESS; dt-checks SKIPPED; host-tests SKIPPED.
  • Prior J716s boot report (rolotrealanis98, 2026-11-26) predates the 2026-11-29 t6050-j714s-j716s-gpu.dtsi refactor (90b97968).

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Merged main into 045a638. The J714s retains its G17S OPP include and its rebuilt DTB is byte-identical to main. The J716s DTB builds. The remaining items are the J716s GPU/panel hardware row and the extra trailer in original commit 8659491, which needs an author-supplied correction.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: MERGE at 045a638394e4

Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.

Checked: - Verified 045a638394e4 is a clean merge of main over 90b97968 with MERGEABLE status.

  • Audited arch/arm64/boot/dts/apple/t6050-j714s-gpu-panel.dtsi, t6050-j714s-j716s-gpu.dtsi, and adt-coverage/t6050-j716s.txt (gfx-asc / gfx1-asc mailbox mapping updates).

Follow-ups (not blocking): dt-checks/DTB build at head; J716s boot row on reworked DTSI, J714s non-regression

@github-actions github-actions Bot added the merge-conflict Conflicts with the base branch (bot) label 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) changes-requested A reviewer requested changes (bot) merge-conflict Conflicts with the base branch (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)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants