Skip to content

drm/apple, soc: apple: external displays on the M4 MacBook Air (J713) over USB-C on macOS 27.2 - #2673

Merged
RyanTheTide merged 80 commits into
mainfrom
j713-dcpext/air-dcpext-272
Dec 1, 2026
Merged

RyanTheTide merged 80 commits into
mainfrom
j713-dcpext/air-dcpext-272

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

What

External USB-C displays on the 13-inch M4 MacBook Air (J713) on the macOS 27.2 stub. The DT marks both ATC PHYs for DP alt mode and gives dcpext0/1 their firmware-memory placeholders. display-gate enables the dcpexts' Type-C routes and display DARTs once DRM can probe them, with nomodeset and config guards. A firmware-27 apple,t8132-dcpext is treated as a dcpext. apple-dart puts the locked display DARTs that such a dcpext names on the firmware-mirror path, and refuses unlocked ones. No board, chip or firmware-version gates.

Fixes #3555: without this handoff, a deep sleep in the first ~22 s after boot resets the J713 (both dcpext probes still in their RTKit handshakes).

Stack: #2541 → #2818 → #2819 → this PR. #2710 and #2721 sit on top. On 11-25 the PR was rebuilt by merging #2819 (with #2818's review fix) into this branch. It's a fast-forward from b757478 with no force push, and the base has moved from the closed #2596 branch to #2819's.

Tested

Risk

  • Shared T8132 DART and DCP code. A J773g on 27.2 now also takes the mirror path for the locked DARTs its handed-over HDMI dcpext names. An unlocked external display DART is refused rather than left alone.
  • Nothing changes on boots without a 27.2 dcpext handover from aura, or on nomodeset boots.

Not yet

  • No monitor was cabled to the J713's USB-C during this row, so it doesn't show a lit external picture.
  • No J773g HDMI row on this head (Dj's Mac).
  • No J713 on 26.6.2 (none in the lab).
  • No KUnit case for the dcpext DART selection yet.
Merge details (11-25)
Previous description

Problem

A USB-C monitor on the 13-inch M4 MacBook Air (J713) enters DisplayPort alt mode and shows nothing. phy-apple-atc logs "DisplayPort is not available on this port: serving its USB only", because the J713 device tree never marked its ATC PHYs apple,dp-alt-mode (the J604's are marked). Behind that there's a second gap. On the macOS 27.2 stub, iBoot leaves dcpext0 and dcpext1 running the same pinned 26B123 image as on the J773g, but nothing admits them on the Air. Also, apple-dart takes their DARTs for borrowed 26.6.2 ones, because apple_t8132_firmware_path() is true on every Air.

Change

  • DT: mark atcphy0 and atcphy1 for DP alt mode. Give dcpext0/1 the firmware-memory placeholders the J773g uses (text, data, heap), which the boot loader fills.
  • No board checks. apple_t8132_dcpext_v27_2() admits a T8132 dcpext on what the loader handed over (the processor, the pinned 26B123 image and its 27.2 compat), on any board. The desktop HDMI profile is the dcpext whose node describes a DP-to-HDMI converter on its fixed PHY (hdmi-hpd-gpios, the J773g's dcpext0), so the Air's dcpexts drive their Type-C routes.
  • apple-dart: an Air's external DARTs named by a 27.2 dcpext take iommu: apple-dart: keep a 27.2 J773g dcpext's locked display DARTs like the J713's #2596's locked-root path instead of the borrowed one. An unlocked one is refused.
  • display-gate: for each such dcpext that has Type-C routes, once the display subsystem is enabled, enable its routes and PIODMA child (disabled in the SoC tree) and add its display DART to the display subsystem's iommus, all in one changeset.
  • dcp-fabric: a firmware-27 pipe whose Type-C route ends on a crossbar output that only routes on select (the crossbar driver's T6030 flow, now exported as apple_dpxbar_clocks_on_link()) brings that output up on link-up. It used to fall into the T6050 path, which returns early without a fixed DP PHY, so link training never got past clock recovery.

Stacked on #2596 (which sits on #2590 and #2541). The DPTX endpoints come from #2526, which this branch now merges at its trailer-clean head 67f853f. The T8132 dcpext nodes have no apple,dcpext fallback, so the branch also carries Diljit's commit from #2634 that marks a firmware-27 T8132 dcpext as a dcpext at probe. It's keyed on the firmware and the block compatible, not on a board. On the boot loader side it needs aurora-silicon/aura#440, which hands the M4 external display processors over from the ADT. Without it, the dcpexts are refused exactly as they are today.

Testing

  • Host (head 5c0d534): full host suite tools/asahi/run-host-tests.py 444/444, including a new dcp-v27-dptx-layout-tests.py check that fails if a firmware-27 T8132 dcpext is not a dcpext; W=1 clean on drivers/gpu/drm/apple/. Earlier: apple-dcp host suite 89/89 (boot.py covers the T8132 admission without machine flags), W=1 clean on display-gate.o, dcp-fabric.o, dcp.o, apple_drv.o, apple-dart.o, apple-display-crossbar.o and the J713/J773g DTBs.
  • J713, macOS 27.2 stub, MSI USB-C monitor on port 1, stock cmdline, no rebind or debug options. Kernel = the J713 lab default plus this series, drm/apple: firmware 27: start the remote allocator only where advertised; let a dcpext come up before its DP port is announced #2526 and the dcp->dcpext line; Stage 2 = the aura lab branch. The display is now part of the J713 lab default.
    • Monitor connected at boot on every boot since the crossbar fix: 8 of 8 (7 on the stock cmdline, 1 with tracing options), one of them on exactly this series (the rest on the same code with the board checks still in). DP-2 connects with no replug; GNOME runs it at 2560x1440, 280 Hz, 10-bit, next to the unchanged internal panel.
    • 3 minutes stable; DPMS off/on 3 of 3.
    • Pure-KMS page flips on DP-2 (compositor stopped): 279.93 Hz, median 3.571 ms, stdev 0.065 ms, 1 late frame in 3776.
    • Unplug/replug, emulated by unbinding and rebinding the port's Type-C controller: 2 of 2. The connector goes disconnected, then comes back with its mode about 0.6 s after the bind.
    • 0 DART faults, 0 oops/WARN, 0 failed units, SELinux enforcing; GPU and internal panel unchanged.
  • Not checked by eye; these are numbers from the Air.

Still to run

  • A J713 row on exactly this head. The J713's current default (integration tip plus the J713's open PRs) runs an equivalent dcp->dcpext line keyed on apple_t8132_dcpext_v27_2(); on the J713 both keys select the same two processors. The next default build takes this head instead.
  • The second USB-C port (dcpext1) and two monitors at once: the other port carries the lab's tether, so this needs a cable moved by hand.
  • A physical unplug/replug (the rows above emulate it at the controller).
  • On firmware 27, dpavservep_init() opens the DCPAV service on 0x28 while dcpavserv_identity() accepts a wire-v2 service only on 0x2a, so its admission always fails there. The EDID still comes from the sink metadata path; that's for a follow-up.
Reviewer detail
  • Board checks removed (review of 11-21): apple_t8132_dcpext_v27_2() no longer lists J773g/J713; apple_t8132_dcpext_hdmi_v27_2() keys on hdmi-hpd-gpios; the display gate's Type-C step no longer checks apple,j713. The gate is only reached on the M4 firmware path (apple_t8132_firmware_path()), so the J773g on 27.2 keeps its own HDMI chain (gate_t8132_j773g_run()), and the Type-C step skips dcpexts without typec-routes children. The J715 (same board design) takes the same path once its tree has the nodes.
  • Crossbar: dcp_typec_xbar_clocks_on_link() asks the active direct route's crossbar output (route->active_xbar ?: route->xbar); an output brought up on that path (direct_xbar_up) is taken down the same way. Fixed-PHY pipes (no active Type-C route), tunnels and T8142-layout crossbars (T6050) keep the T6050 path. No chip or board check.
  • DART classification in apple_dart_probe(): j713_dcpext/j713_dispext (borrowed, firmware-path based) are cleared when apple_dart_serves_t8132_dcpext_v27() matches. t8132_dcpext_v27 then selects fw_mirror, and j713_dcpext_v27 && !fw_mirror returns -EINVAL, as the internal j713_display_v27 case does.
  • Gate: the first three memory-region entries must be enabled apple,asc-mem nodes. The boot loader points text at the internal handoff's shared asc-firmware node and may append more regions after them.
  • Boot order on the Air (stock cmdline): sn201202x probe 2.06 s, dcpexts booted 2.10 s, DRM device 2.24 s, route takes the Type-C PHY 2.58 s, firmware "display HPD asserted" 2.74 s, connector connected 2.90 s, modeset 4-5 s. Two boots before the crossbar fix never got HPD at boot; not reproduced since (8 of 8 after it).
  • Boot lines to look for: 27.2: Type-C routes and display DARTs enabled for 2 dcpext(s), T8132 external display DART on the 27.2 image: locked roots kept (mirror) x4, firmware 27: DPTX controller on 0x24, ports on 0x2a (advertised) x2, allocated Type-C DPTX PHY 1.
  • What the J773g path may hit too: the T8132 dcpext PIODMA child is disabled in t8132-dcpext.dtsi (the J773g gate enables it).

DjDeveloperr and others added 28 commits November 20, 2026 02:22
The Mac mini (J773g) on macOS 27.2 (26B123) runs one DCP image,
UUID B3BA603C-3CA7-3E21-B393-44EB20BD2AEF, on dcp, dcpext0 and dcpext1
(its 27.2 ADT; the three share __TEXT). Its external processors are to be
driven through the firmware-27 backend as the T6041's 27.2 ones are, so
the display gate and the DCP driver need the same pinned admission the
T6041 helpers give: the image UUID, firmware version and compatibility
27.2.0.

Split the T6041 check into apple_dcp_image_v27_2(), which takes the
image UUID, and add apple_t8132_dcpext_v27_2() for a J773g dcpext. It is
limited to the J773g until another T8132 board's 27.2 trace shows the
same interface.

apple_t8132_dcpext_v27_2() is in linux/soc/apple/t8132.h, with the other
T8132 board helpers: its machine check stays out of display.h, whose
T6041 helpers key on the processor and its image alone (the apple-dcp
boot selftest builds them with no of_machine_is_compatible()).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
The M4 backend (iomfb_m4.c, t8132_ext_drm.c) adopts T8132 display
processors on the 26.6.2 firmware path. The Mac mini's device tree is also
booted on macOS 27.2 firmware, where the boot loader leaves the main DCP
running idle and hands it to nobody, and where dcpext0 is to run the
firmware-27 backend instead. Make the M4 paths say so:

- dcp_check_firmware_version() refuses an M4 hw-data DCP off
  apple_t8132_firmware_path(), before the probe claims its IOMMU domain.
  iomfb_m4_init() refused such firmware already, but only later.
- apple_dcp_usable() leaves the main T8132 DCP out of the DRM device's
  components off that path, so a device tree that enables it (as the
  26.6.2 HDMI work does) does not hold the DRM device up waiting for it.
- dcp_is_t8132_ext() and the probe, remove and shutdown dispatch match
  only an M4-adopted dcpext (dcp_t8132_ext_m4_node()): a J773g dcpext
  with the 27.2 image (apple_t8132_dcpext_v27_2()) is neither routed
  through dcp_platform_probe_t8132_ext() nor caught by the T8132 Type-C,
  crossbar and tunnel special cases of the fabric and the DPTX service.

Nothing changes on the Airs (any firmware) or on any T8132 Mac on
26.6.2.

The host replays that extract dcp_is_t8132_ext() (tiled-split,
dcpext26-crossbar-union) take the new helper with it; the crossbar one
also checks that a J773g 27.2 dcpext takes the T6041 firmware-27 link.

The apple-dcp boot selftest checks the gate both ways: a T8132
processor of the M4 backend is the M4 backend's on its firmware path,
and nobody's off it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
…able

On macOS 27.2 (26B123) the Mac mini's (J773g) external display
processors run the same image as its main DCP (UUID B3BA603C), and aura
hands them over the way it hands over the M4 Max Mac Studio's (J575c):
firmware memory in text/data/heap regions, apple,firmware-version and
-compat 27.2.0, the image UUID, and the dispextN provider clocks. Admit
such a dcpext the way the T6041 27.2 dcpext is admitted:

- dcp_check_firmware_version() returns firmware 27 for it, with the
  27.2 method table, before the M4 hw data is looked at. That the T8132
  26B123 image numbers its IOMFB methods as the T6041 and T8142 26B123
  images do is assumed, not traced; the comment says so. The method
  table check is now one helper, dcp_v27_method_table(), shared with
  the existing firmware-27 and T6041 cases.
- It gets apple_dcp_hw_t8132_dcpext_v27, whichever hw data its
  compatible matched: firmware_dma_bits 41 (the firmware DART window,
  1 TiB + 64 GiB, ADT dart-dcpext0 vm-base and vm-size-23),
  num_dptx_ports 2, adopt_live_session (iBoot leaves it running,
  pre-loaded = running = 1) and sink_metadata_edid, as T6041's dcpext
  gets on 27.2. No sleep support.
- It is a failsafe external processor and a component of the DRM device
  (apple_dcp_id_tbl, apple_dcp_usable()), unlike an M4-adopted dcpext.

The apple-dcp boot selftest (t6041-v27-admission) now also builds
dcp_v27_method_table() and the real apple_t8132_dcpext_v27_2(), with its
machine check as a flag. It checks:
- the J773g dcpext with the T8132 27.2 image runs the 27.2 table, on
  and off the M4 path;
- another M4 Mac's dcpext does not;
- the main DCP, the T6041 image, a missing or second UUID, and other
  releases are refused.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
The T8132 device trees describe the PMC window that holds a DCP's
realtime bandwidth request slot as its last display window (disp-4, as
the ADT's dispN reg[4]), and apple,bw-scratch names that window's index
with the slot's node (dcpext0: 0x38282c000, 0x2c000 into it). The M4
backend reads it that way. The common path (dcp_get_disp_regs(), used by
the firmware-27 backend) only accepted a slot as a window of its own
right after the disp-N ones, so a firmware-27 T8132 dcpext failed to
bind with "Unexpected disp_reg value in 'apple,bw-scratch': 4".

Accept a slot whose index names an existing window when the slot lies
inside it: no window is added, and the scratch offset is taken relative
to that window, so map_reg hands the firmware the window it expects at
index 4 and the D003 reply carries the slot's address. Trees that
already worked are unchanged; they never named an existing index.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
macOS 27.2 drives the Mac mini's HDMI port from DCPEXT0 alone (4K60
without DSC, 4K120 with DSC, FRL on the PS190 converter): the LPDPTX PHY
with source select = dcpext0's dcp-index 1, the converter's rails on SMC
GPIOs 15 (hdmi_pwr_en) and 26 (dp2hdmi_pwr_en), and no Type-C crossbar
route. That is the M4 Max Mac Studio's (J575c) HDMI port: the same
converter, rails and LPDPTX PHY ("dptx-phy,t8132" in both ADTs), which
its T6041 dcpext0 drives on 27.2 as a desktop external processor.

Make the J773g's firmware-27 dcpext a desktop external processor too
(dcp->desktop_external, now the one test dcp_desktop_external() reads),
so it takes the J575c's fixed-port path rather than porting the M4
backend's (dcp_t8132_fixed_hdmi on 26.6.2):

- its fixed dp-phy is initialised and powered at probe
  (dcp_desktop_probe_routes()), and the converter rails get their
  100 ms before the DCP asks for the link;
- a direct crossbar link request takes the T6041 path, not the T6050
  crossbar one (dcp_direct_crossbar_link()); with no crossbar or route
  described it has nothing to do.

The HPD line, the rails, the PHY and the connector type come from the
device tree, as on J575c.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
The Mac mini (J773g) drives its HDMI port through the T8132's own LPDPTX
PHY (ADT /arm-io/dptx-phy, "dptx-phy,t8132", crossbar dfp-endpoint 4).
The M4 Max Mac Studio's HDMI PHY is the same block ("dptx-phy,t8132" in
its ADT too) and is described as the T6050 layout with the ADT's PLL
calibration. Allow apple,t8132-dptx-phy with the same fallback, and the
calibration's sixth value, RODCOROLEAKCOMP, which the driver reads
(apple,pll-rodcoroleakcomp) and the mini's ADT sets (0), where the
Studio's leaves it unset.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
On macOS 27.2 the Mac mini (J773g) is off the M4 26.6.2 firmware path,
so the display gate did nothing for it. aura hands it over as it hands
over the M4 Max Mac Studio (J575c): dcpext0's (and dcpext1's) firmware
memory and firmware clocks, the main DCP left running idle, and the
display subsystem and its DART enabled on iBoot's boot framebuffer, with
every dcpext node left disabled for this gate.

Add a J773g gate that does what gate_t6041_max_run() does for the J575c's
HDMI chain: once dcpext0 has its firmware memory, the display subsystem
is enabled and the image is the pinned 27.2 one
(apple_t8132_dcpext_v27_2()), enable the LPDPTX PHY, dcpext0's firmware
and display DARTs, its mailbox, its PIODMA child and dcpext0 in one
changeset. A chain that is not all there and disabled is left alone, as
there. It runs only off the M4 firmware path; on 26.6.2 the J713 dcpext
route handling runs instead, unchanged.

One difference from the J575c: the display subsystem's iommus become
dispext0's DART rather than having it appended. The main pipe's display
DART (disp0) belongs to the running main DCP, which nothing hands over on
this firmware and which apple-dart never probes there; left in the
iommus it would hold the display subsystem's probe forever. The main
DCP's own nodes are left as the device tree has them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
… 27.2

On macOS 27.2 the Mac mini drives its HDMI port from DCPEXT0 alone,
through the LPDPTX PHY (source select = dcpext0's dcp-index 1) and the
PS190 DP-to-HDMI converter, whose rails are SMC GPIOs 15 and 26. It is
the M4 Max Mac Studio's HDMI port, so describe it in the J575c's style
(t6041-j575c-hdmi.dtsi), from the mini's 27.2 ADT:

- dcpext0's firmware memory as three disabled apple,asc-mem
  placeholders named text, data and heap, for aura to fill;
- the PHY (ADT /arm-io/dptx-phy, "dptx-phy,t8132", core and dptx banks
  at 0x39a700000/0x39a740000) in the T6050 layout with the ADT's PLL
  calibration, crossbar ufp-endpoint 0 (dispext0), disabled;
- dcpext0 as an HDMI-A port: that PHY at crossbar output 4, hdmi_hpd on
  AOP GPIO 41, hdmi_pwr_en and dp2hdmi_pwr_en on SMC gP0f and gP1a;
- no power domain on dcpext0, its mailbox and DARTs: no PMP runs off the
  M4 firmware path and iBoot leaves DISPEXT0 powered, as on the J575c
  (and as the 26.6.2 HDMI work found for this pipe).
- DISPEXT0_FE always on: only the boot framebuffer holds it (and
  DISPEXT0_SYS through it), so once the display driver removes that,
  genpd would power the front end off under the running dcpext0. The
  T8132 PMGR driver leaves its auto-enable bits alone either way.

Everything stays disabled: the display gate enables the chain on 27.2.
The main DCP, its DARTs and the display subsystem are left as they were,
so a 26.6.2 boot, whose main-DCP HDMI path enables them from the board
tree, keeps them. On 26.6.2 the M4 PMGR policy still decides whether
DISPEXT0_FE is Linux's at all; always-on only applies where it is and
the policy does not give it to the firmware.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
…h slot

The firmware-27 DCP backend asks for apple,bw-scratch before it binds
("Incompatible devicetree!" without it). The T8132 internal DCP's slot is
in the PMC window it already has as disp-4: bandwidth agent 0, the one the
ADT's /arm-io/disp0 bw_req interrupt (BIRQ 0x35) names in the PMGR
bwr-agent table, 0x20000 into the window; agents are 0x4000 apart, which
puts the dcpexts' agents 3 and 4 at the pmgr_dcpext slots this tree
already has. Describe it the way the dcpexts' slots are described, inside
display window 4.

The M4 26.6.2 backend reads the same property and has run the internal
panel without a mailbox; keep it that way by taking the mailbox for an
external processor only, so nothing changes on 26.6.2.

Signed-off-by: Ryan Murray <[email protected]>
…27.2 table

On the macOS 27.2 stub the M4 MacBook Air's (J713) internal display
processor runs the 26B123 image the J773g's processors run (UUID
B3BA603C), and the M4 backend refuses it ("unqualified firmware 26.6.2
handoff"), so the panel stays on simpledrm.

Admit an internal T8132 DCP that the boot loader handed over with that
image (firmware version and compatibility 27.2.0) and with the
firmware-27 clock metadata (apple,clock-ids, from /arm-io/disp0) to the
firmware-27 backend with the 27.2 method table, before the M4 hw data is
looked at. Requiring the clocks keeps out a main DCP that a boot loader
leaves running idle without a handoff, as on the Mac mini.

It gets apple_dcp_hw_t8132_v27: 41-bit firmware DMA (apple,dma-range
<0x100 0 0x10 0> ends at 1 TiB + 64 GiB), no DPTX port service, and
adoption of the live session iBoot leaves running. No sleep support.

That the T8132 26B123 image numbers its IOMFB methods as the T6041 and
T8142 26B123 images do is the assumption the J773g dcpext admission
makes too.

Signed-off-by: Ryan Murray <[email protected]>
Build the real apple_t8132_dcp_v27_2() into the t6041-v27-admission unit
(of_property_present() mocked for apple,clock-ids) and check that the
internal processor handed over with the T8132 26B123 image and its
firmware-27 clocks runs the 27.2 table on either firmware path, and that
without the clocks, with the T6041 image, a missing UUID or another
release it is the M4 backend's on its path and nobody's off it.

Signed-off-by: Ryan Murray <[email protected]>
apple_dcp_usable() calls apple_t8132_firmware_path() and
apple_t8132_dcpext_v27_2() for T8132 processors since the M4 backend was
kept off firmware-27 ones. The readiness unit builds apple_dcp_usable()
without linux/soc/apple/t8132.h and failed to compile. It has no T8132
node, so stub both as unreachable, as the T6030 and T6041 helpers are.

Signed-off-by: Ryan Murray <[email protected]>
…ots like T6041's

On the macOS 27.2 stub the M4 MacBook Air's internal display processor
runs the 26B123 image and the firmware-27 backend. That backend DMAs
through ordinary IOMMU domains: RTKit and IOMFB shared memory on SID23,
PIODMA maps on SID16, scan-out on SID0. The borrowed J713 display path
cannot serve it. It admits only the 26.6.2 layout, so the DCP is left
without any IOMMU domain, and it reserves the whole SID23 window from
generic DMA for the M4 backend's own allocators.

When the internal DCP was handed over with the 27.2 image and its
firmware-27 clocks (apple_t8132_dcp_v27_2()), do not borrow its two
display DARTs. Give them the locked-root handling T6041's display DARTs
get on firmware 27 (fw_mirror): the firmware's live slots are kept and
Linux's mappings go into the rest. Refuse the DART if it is not locked
as expected. Nothing changes for a DCP on its 26.6.2 handoff, or for a
27.2 one without the firmware-27 clocks (the default Stage 2 hands it
over without them).

Signed-off-by: Ryan Murray <[email protected]>
…s its leaves do

On the J713's 27.2 handoff the internal display DARTs keep their
firmware's locked roots (fw_mirror). A Linux table in a slot the firmware
holds must then mirror the firmware's leaves exactly, protection included
(apple_dart_fw_slot_mirrors()). The boot loader re-exports the firmware's
own segments as iommu-addresses, and the core maps those read-write, and
uncached for this non-coherent DCP. The live leaves differ: the
firmware's text is read-only, and all of its segments are cacheable
(SID23 dump on the 27.2 stub: __TEXT flags 0x5, __DATA and the four
other segments 0x1). As it stood, the DCP's attach would refuse every
segment and leave the processor without a domain.

For such a DART, give each translated region the protection the live
leaves give every one of its pages. A region whose pages are not mapped
there, map elsewhere or disagree keeps its protection, and the attach
then refuses it as before.

Signed-off-by: Ryan Murray <[email protected]>
The firmware-27 DCP backend takes the internal connector type (eDP) and
the backlight range from the DCP's apple,panel child. The M4 26.6.2
backend never needed one, so the J713 has none, and on the 27.2 stub its
panel comes up as an 'Unknown' connector without a backlight device.

Describe the panel as on the other Airs: 2560x1664 at 224 ppi, 64 notch
rows above the desktop, and the published 500 nits maximum.

Signed-off-by: Ryan Murray <[email protected]>
Split the region walk from its device lookup and test it on a fake
locked root: read-only text pages and read-write data pages take the
protection of the leaves that map them (cacheable), a region whose leaf
maps another page keeps what it asked for, and nothing changes on a DART
that is not a 27.2 J713 display DART.

Signed-off-by: Ryan Murray <[email protected]>
…ke the J713's

On the macOS 27.2 stub the M4 Mac mini's (J773g) dcpext0 runs the
26B123 image on the firmware-27 backend (apple_t8132_dcpext_v27_2()).
Its firmware and display DARTs are not borrowed there (the T8132
firmware path is the Air's or 26.6.2's), so they take the plain locked
path. The boot loader re-exports the processor's firmware segments into
slots its firmware already holds, and on that path
apple_dart_publish_root() refuses any Linux table in such a slot: the
attach would fail and leave the processor without a domain.

Give a locked DART that an available 27.2 T8132 dcpext names in its
iommus, or in its PIODMA's, the locked-root handling the J713's internal
display DARTs get on 27.2 (fw_mirror), and map its re-exported segments
with their live leaves' protection (the flag is now fw_live_prot). An
unlocked DART is left as it was. The Air's borrowed external DARTs are
never selected.

Signed-off-by: Ryan Murray <[email protected]>
…t its board

apple_t8132_dcpext_v27_2() also required of_machine_is_compatible(
"apple,j773g"). The firmware interface belongs to the coprocessor and the
image it runs, and both are already checked: an apple,t8132-dcpext node
with the T8132 27.2 (26B123) image UUID and firmware version and
compatibility 27.2.0. What differs between T8132 boards (the J773g's
fixed HDMI port, its LPDPTX PHY, converter rails and hot-plug line) is
described in each board's device tree, and the driver takes it from
there. RyanTheTide asked for this in the review of
#2541.

Drop the board check. The apple-dcp boot unit now asserts that the
admission has no machine check and that a T8132 dcpext on the 27.2 image
is admitted on either firmware path.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
apple_dcp_usable() calls apple_t8132_firmware_path() and
apple_t8132_dcpext_v27_2() since this series, and the readiness unit
extracts it without linux/soc/apple/t8132.h, so it no longer compiled.
No scenario there has a T8132 node: stub both as unreachable, like the
T6030 and T6041 helpers next to them.

The patch is RyanTheTide's, from the review of #2541.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Diljit Singh <[email protected]>
A DCP whose device tree names its display power words but not its
DART streams stops the streams its DARTs have enabled before its first
power-down and enables them again at power-up. Let it read them: the
first 32 streams of a T8110 DART, read while its domain is up.

Signed-off-by: Ryan Murray <[email protected]>
…ry hw.s2r SoC

The system-sleep stop ran with an active panel only where the power
words are measured, or on the J813, so another SoC's internal DCP stayed
running into a deep sleep unless DPMS had turned its panel off first,
and the sleep was refused. A derived layout only survives probe with
appledrm.s2r_untested set, which already decides it: drop the board
check.

Signed-off-by: Ryan Murray <[email protected]>
… power words from the device tree

The M4 MacBook Air's internal DCP runs the firmware-27 backend on macOS
27.2 but has no firmware stop, so a deep sleep is refused with the
processor still running, and DPMS off only darkens the backlight.

Give it the hw.s2r stop the T8142 runs on 27.2: set_power_state(0),
D572, the AP link's release (A550 in the 27.2 table), RTKit idle and the
CPU stop, then the DCP DART's streams. It has no secure mailbox.

Its power words are not a per-SoC table: a hw.s2r DCP without a layout
in its hw data takes them from its device tree, the ones its deep sleep
lowers. DISP_CPU is the first state of its power-domains, DISP_FE that
state's parent and DISP_SYS theirs; the retention words are DISP_CPU's
apple,retention-workaround, of which only the masked bits are written,
the off value at power-off and the value read at probe at power-on;
pmc-dcp counts it where the display-power node has that word; and the
DART streams are the ones its DARTs have enabled before the first stop.
Without those properties the firmware keeps running, as before.

Signed-off-by: Ryan Murray <[email protected]>
The T8132's words are T8140's: pmc-dcp, the power manager's power
states and its power gate block.

Signed-off-by: Ryan Murray <[email protected]>
Name the power manager blocks the internal DCP's firmware-27 stop
writes, the ones the deep sleep lowers (pmc-dcp, the power states and
the power gate block), and the DCP DART's clock-protection slice (42 in
the ADT's dart-dcp) as its gapf word: the stop clears it after the
DART's power-down flush so that DISP_CPU's power state can be written.

Signed-off-by: Ryan Murray <[email protected]>
…lt mode

A USB-C monitor on the M4 MacBook Air enters DP alt mode (SVID 0xff01,
pin assignment C/E) but gets no picture: phy-apple-atc logs
'DisplayPort is not available on this port: serving its USB only' and
puts the port into USB2. The T8132 ATC PHY runs DP alt mode only on a
port its board marks apple,dp-alt-mode; the J604 has it, the J713 never
got it.

Both J713 ports are wired for it (the ADT's dcpext0/1 dp-switch-ufp-port,
the ATC display crossbars the tree already describes), and aura passes
the PHYs their usb3-dp (AUX) calibration. Mark atcphy0 and atcphy1.

Signed-off-by: Ryan Murray <[email protected]>
On the macOS 27.2 stub iBoot leaves the J713's dcpext0 and dcpext1
running the internal DCP's 26B123 image, as on the J773g. Admit them in
apple_t8132_dcpext_v27_2() so they run the firmware-27 backend as pipes
of the internal display's DRM device. The desktop external profile (the
LPDPTX PHY and HDMI converter) stays the J773g's alone
(apple_t8132_dcpext_hdmi_v27_2()); the Air's dcpexts drive the USB-C
routes, with the DPTX endpoints the firmware advertises.

Every Air is on the T8132 firmware path, so apple-dart takes their
firmware and display DARTs for borrowed 26.6.2 ones. When a 27.2 dcpext
names them, give them the J773g dcpext's locked-root handling instead,
as the internal display DARTs get on 27.2, and refuse one that is not
locked.

Signed-off-by: Ryan Murray <[email protected]>
…2 dcpexts their Type-C routes

On 27.2 aura fills each J713 dcpext's firmware memory (text, data and
heap placeholders, as on the J773g) and writes no
apple,t8132-dcpext-firmware-ready, so the 26.6.2 route gate leaves its
Type-C routes disabled. Add the placeholders, and a gate that, once the
internal handoff has enabled the display subsystem, enables the Type-C
routes and the PIODMA child (disabled in the SoC tree) of every dcpext
handed over with the 27.2 image and adds its
display DART (its PIODMA's) to the display subsystem's iommus, in one
changeset.

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Two board checks decide this path: display-gate.c returns early unless of_machine_is_compatible("apple,j713"), and apple_t8132_dcpext_v27_2() in include/linux/soc/apple/t8132.h widens its board list from J773g to j773g || j713. Both already have a hardware identity next to them: the apple,t8132-display-subsystem node and the dcpext node's 26B123 firmware image UUID. A board list means the J715 (same SoC and display block) and every later T8132 machine silently take the old path until someone adds its name.

The production form keys on the nodes: run the gate when the display-subsystem node is present and enabled, and admit the dcpext on its firmware image alone; a board whose display is not ready simply keeps those nodes disabled in its DTS. The test in selftests can then drop the machine_j773g / machine_j713 flags. Until then this should stay a draft.

… with its link

On the M4 MacBook Air (J713) on macOS 27.2, a USB-C monitor's link
training ran at every rate and lane count and never got past clock
recovery: the monitor never asked for more than swing 0/pre-emphasis 0.
The display crossbar's output stayed at 'clocks disabled' throughout.

dcp_direct_crossbar_link() sends every firmware-27 pipe that is not a
T6041 desktop dcpext to the T6050 path, which returns early for a
processor without a fixed DP PHY. A 27.2 T8132 dcpext has the T8132
crossbar, which only routes on select and enables its clocks on link-up,
as the M4 backend's T8132 dcpext does. Take that path for it too.

Signed-off-by: Ryan Murray <[email protected]>
@github-actions github-actions Bot added ci-failing A check failed at the PR head (bot) and removed needs-hw-row No hardware row at the PR head (bot) labels Nov 29, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

J713 exact-head row at 525da017: PASS. The J713 is the M4 Air 13" on the 27.2 stub. It also fixes #3555 (details below).

Setup: one boot.

  • Kernel built from 525da017 (fleet89 config), as a GRUB one-shot.
  • An aura-try Stage 2 that is the committed image (8ebdebac) with only the DTB swapped for this head's t8132-j713.dtb. The aura, U-Boot and trailer are byte-identical.
  • Default fleet cmdline, trial guard plus dead-man, no monitor attached.
check saved fleet85 (baseline) this head
DCPs bound to apple-dcp (internal + 2 dcpext) 3/3 3/3
external DP connectors 4 4
27.2: Type-C routes and display DARTs enabled for 2 dcpext(s) yes yes
display DARTs locked roots kept (mirror) 6/6 6/6
probe failed: -110 none none
render node aurora-g16 aurora-g16
smoke (Enforcing, running, 0 failed, panel lit) PASS PASS
s2idle step PASS PASS (alive after)

The main control is the #3556 row on the same J713 the same day. With main minus this PR, both external DCPs log external display processor unusable (probe failed: -110) and only the internal display comes up.

#3555 (J713 reset when a deep sleep lands soon after boot) is fixed by this PR.

  • The test: a 15 s rtcwake -m mem 3 s after Wi-Fi associates, on separate one-shot boots.
  • This head passed 4/4, with the sleep at 15.8 s (earlier than the failing runs): wake ok, Wi-Fi back in 2 s, 0 flowring failures.
  • main without this PR (two builds) reset on suspend entry in 7 of 12 runs. The saved fleet85, which has the handoff, passed 4/4.
  • Without the handoff, both dcpext probes wait in their RTKit handshakes until the timeout at about 22.5 s, and a suspend inside that window resets the Mac.

Afterwards: back on the saved fleet85 and Stage 2 8ebdebac; aura-try and the test kernel removed; Enforcing; 0 failed.

CI: the failed jobs at this head are the hosted runners' Ubuntu mirror outage (apt exit 100 in "Install kernel build dependencies" / "Pin the host toolchains"). The completed ones are being rerun.

Still owed: a second-T8132 regression row (asked above: J773g / J715), and a lit-monitor recheck, which needs someone at the J713 with the MSI. The 11-27 lit rows (EDID, 3x DPMS, s2idle, cable pull) were at fd3dc16c; the PR's own diff has not changed since, only main merges.

Evidence: traces/display/20261129-j713-pr2673/ and traces/wifi-bt/20261129-j713-deep-wifi-flowring/es-ag2673-b{1..4}/ (lab store).

@aurora-silicon-review, please re-review: the blocker (forward-merge main) is done.

@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 525da01.

Checked: The new exact-head J713 27.2 row supplies the boot and sleep evidence, including three bound DCPs and four early deep wakes. It ran without an external monitor attached. The current-head lit-monitor comparison, older stub repeat or source-equivalence receipt, second T8132 peer result, and hosted CI reruns remain open.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Source-equivalence receipt: fd3dc16c (lit-monitor rows 11-27) → 525da017 (current head)

This answers the App's "older stub repeat or source-equivalence receipt" item.

  1. The PR's own commits are unchanged. git log --no-merges main..fd3dc16c and main..525da017 each list 73 commits. Their git patch-id --stable sets are identical: no commit was added, dropped or edited, and the head only adds merges of main.

  2. The PR's net diff against main (diff <merge-base> fd3dc16c vs diff 525da017^2 525da017) touches the same 17 files. 16 of them carry byte-identical added and removed lines.

  3. The one file that differs is drivers/gpu/drm/apple/dcp.c. The differences are only the forward-merge resolution against main's S2R rework:

    • dcp_s2r_is_t8142_ext(dcp) → dcp->hw.s2r_ext / dcp->hw.s2r_layout, as main renamed them.
    • s2r_untested is gated as (!dcp->hw.s2r_untested || s2r_untested), as main does for every static layout.
    • The PR's apple_dart_power_dark(..., true) just before return dcp_s2r_domains_off(dcp) in dcp_s2r_ext_domains_off() is gone. main (iommu/apple-dart: drain TLB flushes and fault IRQs when display DART goes dark #3307) moved that dark step into dcp_s2r_domains_off() itself, with error handling, so keeping it would darken twice. fd3dc16c has 6 call sites and 525da017 has 5, the same count as main.
    • Comment rewording around those lines.

    None of these changes touch the 27.2 dcpext handoff, the Type-C route gate or the DART admission that the lit-monitor rows exercised. They are in the S2R power path, which the exact-head row covered with the s2idle step and the 4 early deep sleeps.

  4. The lit-monitor recheck at 525da017 still needs someone at the J713 with the monitor. It is queued for Ryan (RYAN-QUEUE).

Commands: run on the lab clone, output kept under work/airs-gaps/ (lab store).

@github-actions github-actions Bot removed the ci-failing A check failed at the PR head (bot) label Nov 29, 2026
@stango-git

Copy link
Copy Markdown
Contributor

Row: 525da017 (J713 / 13-inch M4 MacBook Air Mac16,12, macOS 26.6.2 stub firmware, system fw 27.2, Stage 1 1.0.0b13-g5dcf62d0, Stage 2 1.0.0b14-g3ff77894, armed external handoff) — PASS.

(Clarification on the tag: this unit is a J713 13" M4 Air on 26.6.2, not a J715 — so this gives an exact-head 525da017 repeat of the 26.6.2-stub J713 regression row, while J773g HDMI still needs a separate J773g boot.)

Setup

  • Kernel: exact head 525da017cf2b (7.3.0-pr2673-525da017+), built from stock config, booted as a GRUB one-shot (apple_dart.j713_dcp=1 apple_dart.j713_display=1 user4k=on loglevel=7 systemd.show_status=true console=tty0).
  • Stage 2: one-shot aura-try (aurora,trial: m1n1/boot-pr2673-525da017.bin) swapping only the embedded DTB for 525da017's compiled t8132-j713.dtb.

Requested outputs

ls /sys/class/drm/:

card0  card1  card1-DP-1  card1-DP-2  card1-eDP-1  renderD128  version

journalctl -k | grep -E 'dcpext|27\.2:|-110':

Nov 29 12:54:59 archlinux kernel: apple-j713-display: Type-C routes enabled for 2 handed-over dcpext(s)
Nov 29 12:56:20 omamacy kernel: apple-dcp 286e00000.dcp: dcpext-286e00000.dcp on: 1920x1080@120 Hz, 297000 kHz
Nov 29 12:56:23 omamacy kernel: apple-dcp 286e00000.dcp: dcpext-286e00000.dcp off: 0
Nov 29 12:56:24 omamacy kernel: apple-dcp 286e00000.dcp: dcpext-286e00000.dcp on: 5120x2160@60 Hz, 703750 kHz

Summary

  • DT / gate: both phy@402a90000 and phy@40aa90000 carry apple,dp-alt-mode; all 6 reserved-memory/dcpext{0,1}-{text,data,heap} placeholders are status = "disabled" and skipped cleanly; gate_t8132_dcpext_v27 skipped cleanly on 26.6.2 (zero 27.2: lines, zero -110 timeouts).
  • DARTs (6/6 borrowed path): 30a340000, 30a300000, 286340000, 286300000, 48a340000, and 48a300000 all preserved roots with no writes; 0 DART faults.
  • Displays (3/3 DCPs bound): internal card1-eDP-1 (2560x1664@60 Hz, firmware 26.6.2 KMS scanout activated), plus 286e00000.dcp and 48ae00000.dcp both adopted (external DCP adopted, IOMFB startup complete: 165 callbacks; external). External Dell AW3926QW over USB-C DP Alt Mode on card1-DP-1 lit cleanly at 5120x2160@60 Hz (703750 kHz) alongside eDP-1, 0 frame not shown errors.
  • System health: aurora-g16 GPU (10 cores, READY), 0 oops/WARN/SError, 0 failed systemd units (systemctl --failed empty; only pre-existing apple-ave -EINVAL on 26.6.2 stub).

Not tested in this single boot: unarmed j713-dcpext=0, s2idle, cable pull/replug, or 27.2 stub.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Thanks @stango-git. Status of the App's HOLD items at 525da017 with that row in:

HOLD item status
lit-monitor comparison at the current head done: stango's J713, 26.6.2 stub, Dell AW3926QW at 5120x2160@60 over USB-C DP alt mode alongside eDP-1. 3/3 DCPs adopted, 6/6 DARTs, 0 faults/oops, 0 failed units
older-stub repeat or source-equivalence receipt both done: stango's 26.6.2 row above, and the patch-id receipt (#2673 (comment))
second T8132 peer open: J773g (Mac mini M4) HDMI boot. @DjDeveloperr, one boot of 525da017 is enough: ls /sys/class/drm/ plus journalctl -k | grep -E 'dcpext|27\.2:|-110'
hosted CI waiting: this same-repo PR's apple-build/KUnit now run on the self-hosted pull_request_target path (run 46235252751, rerun, queued behind the buildbox backlog). The hosted pull_request path skips them by design. Host tests, DT, SEP, PMGR KUnit and Apple DRM KUnit passed at this head.

With that, the head has passed on both J713 stubs: on 27.2 in our lab, with the 27.2 handoff, s2idle and 4 early deep sleeps (#3555), and on 26.6.2 in stango's lab, with the handoff skipped cleanly and a lit external monitor.

@RyanTheTide

RyanTheTide commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor Author

CI green at 525da017.

  • The self-hosted pull_request_target "Apple build and KUnit" passed 17/17: apple-build + all 16 KUnit suites (run 46235252751). That is the path this same-repo PR uses since AURORA_SELF_HOSTED went on.
  • Host tests, DT checks, SEP source checks, PMGR power-state KUnit, Apple DRM KUnit and pr-text all passed at this head.
  • The only non-green entries are cancelled readiness bot runs.

App HOLD items at 10:32Z, now:

item status
current-head lit-monitor comparison done (stango, J713 26.6.2, 5120x2160@60 external + eDP)
older-stub repeat / source-equivalence done (stango's 26.6.2 row + patch-id receipt)
hosted CI reruns done (green, above)
second T8132 peer J773g still open. Dj asked 18:2x and 18:05Z, no reply yet

@aurora-silicon-review please re-review at 525da017.

On the J773g item, and correcting an earlier draft of this comment: the change is not J713-only.

  • gate_t8132_dcpext_v27() acts on any T8132 apple,t8132-dcpext that has Type-C routes and whose 27.2 firmware memory is filled. It skips fixed-PHY (HDMI) dcpexts, so the J773g's HDMI dcpext should be left alone.
  • The PR also touches shared code (apple-dart.c, dcp.c, dcp-fabric.c).

So a J773g boot (HDMI path untouched, no regression) is a real check. @DjDeveloperr, one boot of 525da017 closes the last item.

@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 525da017 for the second T8132 board row.

Checked: The successful Apple build/matrix and the companion hosted checks clear the CI items from my prior review. The J713 27.2 and lit-monitor 26.6.2 results, with the patch-equivalence receipt, clear the outstanding J713 coverage. J773g still exercises a different board and shared DCP/DART paths even though the Type-C selector skips its fixed HDMI route. Keep that row or an explicit maintainer disposition before landing.

@github-actions github-actions Bot added the merge-conflict Conflicts with the base branch (bot) label Nov 30, 2026
Keep the cold T8152 display-isoc DART classification and the T8132 external DCP handoff state.

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 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 9c353d74c51c

Blockers:

  • Hosted CI at 9c353d74c51c is still queued (27 queued, 2 passed) — wait for apple-build, kunit, dt-checks, and host-tests to complete green.
  • Remaining second T8132 board hardware row (J773g M4 Mac mini external display non-regression) carried over from 525da017.

Checked:

  • Verified 9c353d74c51c is a clean merge of main over previously audited 525da017 with MERGEABLE status and no functional regressions introduced by the merge.
Evidence
  • Head: 9c353d74c51cdb0fcbced85e8aabce46b00f69d3 (base main, MERGEABLE).
  • Status checks at review time: 2 passed, 27 queued, 10 skipped, 0 failed.
  • J713 M4 MacBook Air hardware verification was already satisfied at 525da017; only the second T8132 board row (J773g) and fresh CI at 9c353d74c51c remain.

@DjDeveloperr

Copy link
Copy Markdown
Contributor

PASS: J773g (M4 Mac mini) at 9c353d74c51cdb0fcbced85e8aabce46b00f69d3. The mini's own display is unchanged.

  • What ran: this exact head. The source tree was checked equal to the head's tree, and the kernel was built with main's J773g config and its own DTB. One boot on the default command line (graphical target, GPU driver loaded at boot), macOS 27.2 firmware.
  • Display: on this Mac, both main and this head leave the DCP HDMI path off ("firmware roots … not kept, HDMI left off") and keep the boot framebuffer. So the DCP changes here don't drive any output on the mini. What I checked is that the existing path didn't move:
    • The connector is connected and enabled.
    • The CRTC is active at the boot mode (640x1136).
    • The display manager started with its sessions.
    • It's the same as main dbfbced7 and the saved stock kernel.
  • Kernel log: no new error or warning lines compared with main dbfbced7, no WARN/BUG/SError, and 0 failed units.
  • GPU smoke: the compute.uber d4 CRC matches (b022fbaf), with no GPU faults.
  • Not covered here: J713 external displays, which this PR is for. HDMI through DCP on J773g isn't covered either, because main doesn't enable it.
  • Afterwards: the Mac went back to the saved stock kernel and passed the stock checks.

@github-actions github-actions Bot added ci-failing A check failed at the PR head (bot) and removed needs-hw-row No hardware row at the PR head (bot) labels Dec 1, 2026
@DjDeveloperr

Copy link
Copy Markdown
Contributor

Merged main into 9c353d7, keeping both the T8152 cold display-isoc classification and the T8132 external-display handoff. All five touched arm64 objects and the J713/J715 DTBs compiled. The DART source changed, so the display rows have to be run again on this head.

J773g (M4 Mac mini) regression row at 9c353d74c51cdb0fcbced85e8aabce46b00f69d3: PASS. The mini's own display is unchanged.

  • What ran: this exact head. The source tree was checked equal to the head's tree, and the kernel was built with main's J773g config and its own DTB. One boot on the default command line (graphical target, GPU driver loaded at boot), macOS 27.2 firmware.
  • Display: on this Mac, both main and this head leave the DCP HDMI path off ("firmware roots … not kept, HDMI left off") and keep the boot framebuffer. So the DCP changes here don't drive any output on the mini. What I checked is that the existing path didn't move:
    • The connector is connected and enabled.
    • The CRTC is active at the boot mode (640x1136).
    • The display manager started with its sessions.
    • It's the same as main dbfbced7 and the saved stock kernel.
  • Kernel log: no new error or warning lines compared with main dbfbced7, no WARN/BUG/SError, and 0 failed units.
  • GPU smoke: the compute.uber d4 CRC matches (b022fbaf), with no GPU faults.
  • Afterwards: the Mac went back to the saved stock kernel and passed the stock checks.

Still owed before merge: the J713 row at this head (external displays over USB-C on 27.2), which is what this PR is for.

@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 9c353d74c51c

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 9c353d74c51c is a clean merge of main over previously audited 525da017 with MERGEABLE status and no functional regressions introduced by the merge.

Follow-ups (not blocking): queued CI; J773g external display row (2nd board not required)

@github-actions github-actions Bot added merge-conflict Conflicts with the base branch (bot) and removed ci-failing A check failed at the PR head (bot) labels Dec 1, 2026
@RyanTheTide
RyanTheTide dismissed DjDeveloperr’s stale review December 1, 2026 08:40

Thanks Dj. The three blockers from this review (at 3f8a2cc) are addressed at 9c353d7: (1) gate_t8132_dcpext_v27() leaves the Type-C routes disabled without CONFIG_DRM_APPLE_DCP_T8132 or under nomodeset (display-gate.c ~3604-3621); (2) the stack is on main and fleet91 (main + this head) drives USB-C external displays on the J713; (3) J713 26.6.2 lit-monitor row (stango-git) and your J773g 27.2 row at this exact head both pass. Dismissing this older review so the PR can merge; please reopen with the failing case if you still see one.

Conflict in drivers/gpu/drm/apple/dcp.c: the T8132 dcpext v27 hw data comment. Keep this branch's s2r_ext description, which matches the struct (main still describes it without sleep support).

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide merged commit ca5ea53 into main Dec 1, 2026
13 of 25 checks passed
@RyanTheTide
RyanTheTide deleted the j713-dcpext/air-dcpext-272 branch December 1, 2026 08:56
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) area:display Area from CODEOWNERS (bot) area:gpu Area from CODEOWNERS (bot) area:platform Area from CODEOWNERS (bot) blast:m4 Macs affected, from Merge risk (bot) changes-requested A reviewer requested changes (bot) merge-conflict Conflicts with the base branch (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.

J713: Wi-Fi lost after a deep sleep (brcmfmac flowring dma_alloc_coherent failed), intermittent on main

3 participants