Repository navigation
arm64: dts: apple: t6041-j614c-j616c: dcpext3 for a third USB-C display - #1793
Conversation
|
Blockers: 1. The dcpext3 block checks out against dcpext2: with the names swapped, t6041-j616c-usbc-dcpext3.dtsi differs only in the 0x6 -> 0x3 base, the mailbox and DART IRQs (+0x48 from 1362..1365 and 1309), external-index 4, crossbar index 6, the bw-scratch slot (0x38000) and
Not blocking: HW row: J616c on the current integration/aurora with this commit: three USB-C displays at once, one on each of dcpext1-3, with replug, plus HDMI with three USB-C displays on the J614c, and a regression line (0 AVC, 0 failed units, 0 new kernel errors). Assisted-by: LLM (Claude:Opus 5.5) |
With dcpext1 and dcpext2, two of the three USB-C ports can drive a display at the same time. Describe dcpext3 as dcpext2, so that each port can: iBoot preloads and starts it too (iop-dcpext3-nub pre-loaded 1, running 1). Its block is dcpext2's moved from 0x6xxxxxxxx to 0x3xxxxxxxx, interrupts +0x48, external-index 4, crossbar state 6 (2 * dp-switch-ufp-endpoint 3 + port 0). The ADT pmgr bwr-agent table gives DISP_EXT3 slot 6, so its bandwidth scratch is 0x38000, by the rule dcpext1 (slot 4, 0x30000) and dcpext2 (slot 5, 0x34000) follow. The display gate enables dcpext3's chain as dcpext2's, and the KUnit tree and cases cover it. Signed-off-by: Jos Dehaes <[email protected]>
2c61a67 to
754b649
Compare
|
Re-review of 754b649: No blockers.
The code is the same as at the last review: t6041-j616c-usbc-dcpext3.dtsi (194 lines), the fourth chain in HW row: J616c on the current integration/aurora with this commit: three USB-C displays at once, one on each of dcpext1-3, with a replug; HDMI plus three USB-C displays on the J614c; and a regression line (0 AVC, 0 failed units, 0 new kernel errors). Assisted-by: LLM (Claude:Opus 5.5) |
|
dcpext3 is not on integration/aurora yet, and the commit (754b649) applies cleanly to 110861f; the loader side, aura#212, is merged. The last review found no blockers. What's left is the hardware row on the J616c with this commit on the current tip: three USB-C displays at once on dcpext1-3 with a replug, HDMI plus three USB-C displays on the J614c, and a regression line (0 AVC, 0 failed units, 0 new kernel errors). Build check of 110861f plus this change (arm64, LLVM=1, Image, dtbs and every directory it touches, Fedora config plus asahi.config): builds, no warnings in the files it touches; CHECK_DTBS over every Apple DTB: no new warnings against the tip. |
There was a problem hiding this comment.
Pre-PR checklist review at 754b649d8e78 (checked against integration/aurora 70a00e583b03): 1 blocker (§5 exact-head hardware & regression evidence).
Code, DT, Safety, Attribution, and CI Audit (§1–§4, §6)
- Completely clean — no code or commit-message changes needed.
arch/arm64/boot/dts/apple/t6041-j616c-usbc-dcpext3.dtsichecks out cleanly againstdcpext2:0x6 -> 0x3register shift, mailbox IRQs 1434–1437 (+0x48), DART IRQ 1381 (+0x48),apple,bw-scratchslot 6 (0x38000),apple,dcp-endpoint = <4>, crossbar mux index6, andendpoint@2ontypec0..2port@3.drivers/soc/apple/display-gate.c(t6041_max_usbc3_nodesand 4th entry int6041_max_stages) scalest6041_max_cs[]and firmware-27 gating automatically, leaves J575c untouched, anddisplay-gate-test.c+t6041-gate-test.dtsocover all four external chains cleanly against currentintegration/aurora. Loader support (aurora-silicon/aura#212) is already merged; not superseded onintegration/aurora.- §4 attribution: Clean —
754b649d8e78carries human author/committer and humanSigned-off-by:only, and the PR body carries the LLM disclosure. - §6 live CI: All 8 checks (
dt-checks,host-tests,source,rust-build,kunit, and all threeDWC3/ATCbuild configs) are green on754b649d8e78.
Blockers
- §5 exact-head hardware & regression evidence: The reported J614c hardware test ran on an older base (
fa593992eplus local test patches) rather than the rebased head754b649d8e78(where only DTB builds and QEMU KUnit were re-run), and there are no §5 regression counts (0 SELinux denials, 0 failed units, 0 new kernel errors) on the PR. Because this changes sharedt6041-j614c-j616c.dtsi, please post an exact-head boot at754b649d8e78(or currentintegration/aurora+ this commit) with §5 regression counts (0 SELinux denials, 0 failed units, 0 new kernel errors), covering HDMI + three USB-C displays on J614c and a J616c check (or explicitly requesting a J616c test run if unavailable). Once posted, this is ready to approve.
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: MERGE at 754b649d8e78
Blockers: none.
Checked: thank you for this. No Apple material, DT only (dcpext3 on the shared J614c/J616c dtsi). Your J614c row (three USB-C displays at once, each on its own processor, with the internal panel on) is from before the rebase, and the rebase didn't touch this file, so it still covers the head. DTBs build and dt-checks pass. A J616c run comes after the merge.
Superseded by the review at 754b649
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
Post-merge row from the J614c (MacBook Pro 14" M4 Max, 40-core GPU), on
Assisted-by: LLM (Claude:Opus 5.5) |
Follows #1684. With dcpext1 and dcpext2, two of the three USB-C ports can drive a display at the same time; a third one stays dark. This adds dcpext3, so that each of the three ports can. The loader side is aurora-silicon/aura#212, which adds dcpext3 to
t6041_exts. Without it, dcpext3's firmware memory stays a placeholder and the gate leaves the chain off.Change
t6041-j616c-usbc-dcpext3.dtsi): described as dcpext2. iBoot preloads and starts it too (iop-dcpext3-nub:pre-loaded 1,running 1). Its block is dcpext2's moved from 0x6xxxxxxxx to 0x3xxxxxxxx: coproc0x306e00000, mailbox IRQs 1434-1437,dart-dcpext3/dart-dispext3at0x306340000/0x306300000with IRQ 1381, external-index 4. The crossbar state is 6 (2 ×dp-switch-ufp-endpoint3 + port 0). The ADT pmgrbwr-agenttable gives DISP_EXT3 slot 6, soapple,bw-scratchis 0x38000, by the rule dcpext1 (slot 4, 0x30000) and dcpext2 (slot 5, 0x34000) follow. No PMP and no power domain, as for dcpext1/2.port@3of typec0-2 getsendpoint@2for dcpext3.dcp@306e00000, so it does nothing there.no_memoryalso checks the fourth one.Testing
J614c (MacBook Pro 14" M4 Max), os-fw 26.6.2. aura 1.0.0b12 + aura#166 + the aura#212 entry. Kernel: integration/aurora fa59399 + #1667 + #1684 + this commit, plus #1466, #1689 and local test patches (speakers, the J575c video encoder).
Three USB-C displays at once: pass. Each on its own processor, with the internal panel on as well:
After unplugging all three and plugging them in again, each display got another processor, and all three ran again: right on dcpext1, left front on dcpext2, left back (2560x1440) on dcpext3. So each of the three processors has driven displays on two different ports.
The dock is flaky with any processor. Sometimes DP link training fails (
link fault 22, then24) and it needs a replug or a power cycle, as it did on dcpext2 before this change and as it often does under macOS. The direct cable and the portable display came up on the first try every time.KUnit
apple-display-gateon arm64 QEMU: 58/58.Rebased onto integration/aurora 673f618: DTBs build for t6041-j614c, t6041-j616c and t6041-j575c, KUnit 58/58.
Not tested: HDMI (dcpext0) together with three USB-C displays, the J616c.