Repository navigation
arm64: dts: apple: t6050-j716s: describe the GPU and the internal panel - #4189
Conversation
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 <ryan@aurorasilicon.org>
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 <hey@djdev.me>
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 <julianarango1818@gmail.com>
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Main added the J716s's left-back USB4 router (ATC0) and the right port's router and DP tunnels after the camera include in t6050-j716s.dts, where this branch includes t6050-j716s-gpu-panel.dtsi. Both stay, the GPU and panel include last. The J714s DTB builds byte-identical to main's. Signed-off-by: Julian Arango <julianarango1818@gmail.com>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: MERGE at 0262c1a6651b
Checked on this head merged with main 2533c76f02e3 (main has only GPU driver commits since):
- The J714s DTB is byte-identical to main's. Of the 14 T6050/T8142 boards I built, only the J716s DTB changes, and everything added stays
disableduntil the loader enables it. - The J716s row at
045a6383(main5a870d0f+ #2283) carries over. The three GPU/panel dtsi files are the same, and the J716s DTB differs from that row's only by what main added since (PMU RTC alarm, ANEdma-coherent, the CLPC high-power changes) and by #2283's dcpext/Type-C/DP nodes. #2283 is still open; without it the J716s has no external displays, as on main, and nothing this PR needs is in it. apple-adt-coverage.py: J716sMISSING681 -> 680,broken=0. DART power domains, sibling drift and the AGX binding test: no new findings.m5-hotspot-fans,t6050-dp-tunnel,t6050-combo-joinandclpc-gpu-demandhost tests pass.- The earlier findings on #2922 are fixed: no fixed
apple,max-brightness, no trailer, shared nodes split out, and a row with the ceiling coming from the handoff.
Voltages: main already has the ADT path. t6050-g17s-gpu-opp.dtsi (b6e1fd01f0b2) has zero tables that Aura's Stage 2 fills from the ADT, and the driver then uses the part's own voltages when every frequency matches and each voltage is within 50 mV of the table. The J714s and K116s include it; the J716s does not (t6050-j716s-gpu-panel.dtsi), so it keeps the J714 table. That is a stability question, not a damage one: your part runs lower than its own table, and the loader on main doesn't admit the J716s's 27.2 (26B123) or 27.3 beta GPU build anyway. So no refusal is needed. Please add that include as a follow-up PR with a J716s boot that shows GPU voltages from the boot loader's ADT tables: N states differ.
Follow-up, not blocking: #4190 (GFX kept on through s2idle). With a loader that hands the GPU over, repeated sleeps can lose the GPU until it lands. Its lid-sleep row is the only thing missing there.
What: 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 them: the chip-level display and GPU nodes shared with the J714s in t6050-j714s-j716s-gpu.dtsi, the J716s's 3456x2234 mini-LED panel with no fixed brightness ceiling (the handoff supplies it from the ADT), and the ADT coverage manifest pointed at the GFX mailboxes. Replaces #2922: the same commits and trees, the first recreated without the trailer it carried, plus a merge of current main.
Tested: J716s (M5 Pro 16"), rolotrealanis98's row on #2922 (#2922 (comment)): 045a638 with main 5a870d0 and #2283, merged locally (both sides kept, the gpu-panel include last), on a 27.3 beta stub, booted through aura with their local loader build. Internal panel handed over at 3456x2234, picture confirmed; backlight maximum 1000 from the handoff; G17S GPU up (26C5035r); vkcube 600 frames, rc 0; 0 GPU faults; 0 WARNING/BUG/Oops. This head's tree is 045a638 merged with main f7e3388 by the same resolution: the J716s and J714s DTBs are byte-identical to that merge's, and the J714s DTB to main's.
Risk: two-way door · J716s; the J714s through the shared file, with an unchanged DTB
Not yet: a J714s boot (none here); the J716s's external displays; GFX kept on through suspend-to-idle (follow-up PR); the GPU voltages question below.
Details
05f292483c4d^{tree}is 045a638's tree.apple-adt-coverage.pyagainst main:base MISSING=681 broken=0; head MISSING=680 broken=0.Thanks to @rolotrealanis98 for both J716s rows on #2922, to @RyanTheTide for the rework, and to DjDeveloperr for the merge.