Skip to content

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

Open
ja-818 wants to merge 1 commit into
aurora-silicon:integration/aurorafrom
ja-818:j716s-gpu-panel
Open

ja-818 wants to merge 1 commit into
aurora-silicon:integration/aurorafrom
ja-818:j716s-gpu-panel

Conversation

@ja-818

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

Copy link
Copy Markdown

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.

🤖 Generated with Claude Code

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 <95070226+ja-818@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@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 <noreply@anthropic.com>. 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.

Assisted-by: LLM (Gemini 4 Neon)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants