Skip to content

drm/apple: stop an external firmware-27 pipe on DPMS off - #3157

Merged
DjDeveloperr merged 2 commits into
mainfrom
m2mdf/v27-external-pipe-off
Nov 25, 2026
Merged

DjDeveloperr merged 2 commits into
mainfrom
m2mdf/v27-external-pipe-off

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

What: DPMS off now really stops an external DCP pipe on firmware-27 interfaces, except while the firmware is re-describing the display (second commit). Before, iomfb_poweroff() returned early for every pipe that does not use the H17G method profile (the H17P panel guard). External pipes therefore kept scanning out the last frame. On the M2 Mac mini (27.2 firmware) the HDMI monitor kept showing a frozen desktop while GNOME had both CRTCs off. The early return now applies only to a pipe that drives a panel (dcp_has_panel()), and an external pipe gets the clear swap + setPowerState(0) sequence the H17G pipe already uses. No SoC, board or firmware-version check is added.

Tested:

  • J473 (M2 Mac mini, T8112, 27.2) at ad937dcfb227 pass: soak on the exact signed m2combo18 source plus this second commit (same signed Stage 2, fleet default options checked against the saved entry). 12 DPMS off/on cycles (4 of them with an RTC s2idle while off) and 4 forced off/detect, both monitors back 16/16. Pipe-off HDMI 15/15 and USB-C 16/16 with no clear-swap, setPowerState, flip or IOMFB timeouts. 3/3 RTC wakes on the same boot, GNOME Shell alive. The login hand-over race that broke the first commit (CRTC disable inside the firmware re-attach) happened at boot and was survived.
  • J473 (M2 Mac mini, T8112, 27.2) at 519feff53032 diagnostic pass: full kernel from this exact head, 2/2 DPMS off/on cycles plus 1/1 DPMS-off s2idle cycle on both monitors, dcp_poweroff() done 6/6, modes restored, no DCP timeout, no GNOME Shell crash, 0 AVC, 0 failed units. Command line was the J473 distro line (user4k=on, no panic=10/watchdog/rhgb), not the fleet line; see the correction comment.
  • J473 (M2 Mac mini, T8112, 27.2) pass, same diff as 519feff53032 built as appledrm on fleet89 645f7cd3 (module one-shot, default cmdline), MSI MPG 325CQRXF on USB-C + Acer QG270 S3 on HDMI. 3/3 DPMS-off cycles (mutter PowerSaveMode=3), one of them with a 12 s s2idle while off: dcp_poweroff() done on both DCPs every time, no timeouts. DPMS on restores 2560x1440@144 and 1920x1080@180 (both PQ). Same boot, SELinux enforcing, 0 AVC, 0 failed units, no new kernel error classes. Before the change (stock fleet89, same row), the HDMI DCP got no power-off at all and the monitor kept the last frame.
  • Host tests: run-host-tests.py --only apple-dcp pass; checkpatch clean.

Risk: two-way door. The change is in the shared iomfb_template.c body built twice with DCP_FW_H17(): iomfb_v27.c (firmware-27 interface) and iomfb_h17p.c (the 26.6 H17 template). It reaches every non-panel, non-H17G pipe that gets to iomfb_poweroff() through _dcp_poweroff():

  • DPMS off of an external pipe that is not a retained external pipe: J473 HDMI + USB-C (T8112, 27.2), M3 Air J615 USB-C (27.2), fixed-HDMI M5 such as J775c (T6050, 27.0). H17P external pipes and desktop 26.x pipes leave dcp_poweroff() earlier through their own stop handlers and are unchanged.
  • The direct _dcp_poweroff() in dcp_enable_dp2hdmi_hpd() (drivers/gpu/drm/apple/dcp.c) when a fixed HDMI port is powered on with HPD low (boot or wake without a display): this pipe now also gets the clear swap and setPowerState(0), bounded by the existing 500 ms and 1000 ms waits. The cold-attach row below covers it.
  • Panel pipes (H17P, H17G and firmware-27 panels) are unchanged: they keep the early return or leave earlier through soft DPMS / the H17G blank. The separate desktop-26 template is unchanged.

Not yet:

  • Second-Mac external DCP row: fixed-HDMI J775c on the firmware-27 interface (closest peer), DPMS off/on plus cold attach after a boot with no display (covers the dcp_enable_dp2hdmi_hpd() path). It should record a confirmed stop, mode recovery, no DCP timeout, no GNOME Shell crash and no unresolved hotplug.
  • The same cold attach on the J473 HDMI needs the cable pulled before boot (hands).
Details and evidence

Root cause on the J473 (fleet89, DCP_FIRMWARE_V_27_0, method profile DEFAULT): dcp_poweroff() -> _dcp_poweroff() -> iomfb_poweroff_v27() returned at the H17P guard, so dcp_poweroff() done was never logged in a whole boot. The USB-C monitor only went dark because dcp_poweroff() drops the Type-C synthetic HPD and the firmware treats that as an unplug. The fixed HDMI port has no such step.

Tried first, both fail on the J473: releasing the fixed HDMI DPTX link on DPMS off (#2503), and the same with the AP HPD deasserted before the release. On this DCP both RemotePort calls (group 0 cmd 7, group 8 cmd 8) time out after 1000 ms while the pipe runs; gnome-shell then crashed and HDMI stayed disconnected until reboot. Stopping the pipe through IOMFB instead is what this PR does.

Forcing the connector status to off is not a blanking method under GNOME: KMS keeps the CRTC active (with and without this change).

Evidence (lab store): traces/display/20261125-j473-dpms-relight/{stock-a,t2503-a,t2503-b,t-pipeoff-c}.

On firmware-27 interfaces iomfb_poweroff() returned before the clear
swap and setPowerState(0) unless the pipe uses the H17G method
profile, because H17P has no known safe pipe-off for its panel. Every
other firmware-27 pipe that reaches it is external: a panel pipe takes
the soft DPMS path in dcp_poweroff() and a retained external pipe has
its own stop. Those pipes then kept scanning out the last frame after
DPMS off. On a Mac mini (M2, 27.2 firmware) the HDMI monitor kept
showing the last desktop frame with both CRTCs disabled, and the
USB-C monitor only went dark because its synthetic HPD was dropped.

Keep the early return for panel pipes only, and give an external pipe
the clear swap and power-off sequence the H17G pipe already uses. The
choice follows whether the DCP drives a panel (dcp_has_panel()), not
the SoC or firmware version.

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

@RyanTheTide RyanTheTide left a comment •

Copy link
Copy Markdown
Contributor Author

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 519feff53032b15c09b590d8c5008aa5cc7391c8.
Blockers: Finish the full current-head J473 boot and the shared external DCP regression row. A fixed-HDMI J775c running the firmware-27 interface is the closest peer. The PR's current J473 result uses the appledrm diff on fleet89.
Checked: The two-hunk change keeps the panel guard and the existing pair-stop ordering. Regular retained-external DPMS exits via the separate stop handler. The framebuffer remains retained unless the firmware confirms scanout stopped. The J473 trial completed three off/on cycles on both outputs, restored the two modes, and had no display timeouts.

Evidence

DCP_FW_H17() also selects the H17 26.6 template. Please describe the reachable scope in Risk, including the direct _dcp_poweroff() call when a fixed HDMI port starts without HPD (drivers/gpu/drm/apple/dcp.c:5191). Add cold attach after a disconnected boot to the peer row so the new stop path is covered along with DPMS off/on. This change leaves the separate desktop-26 template's logic intact.

The peer can build the test kernel from this PR head. Record confirmed stop and mode recovery, with no DCP timeout, GNOME Shell crash or unresolved hotplug. Preserve the saved production boot.

DjDeveloperr
DjDeveloperr previously approved these changes Nov 25, 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.

Reviewed 519feff53032: scoping the H17P iomfb_poweroff() early return to panel pipes (dcp_has_panel(dcp)) and letting non-panel firmware-27 pipes run the clear swap + setPowerState(0) path cleanly fixes frozen external HDMI scanout on DPMS off while leaving H17P panels and retained external pipes unchanged. Holding merge for CI, exact-head row, and a 2nd-Mac external-monitor DPMS row.

@github-actions github-actions Bot added area:display Area from CODEOWNERS (bot) blast:m3 Macs affected, from Merge risk (bot) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) labels Nov 25, 2026
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Merge readiness at ad937dcf: not ready yet

Check Detail
CI at head ok 20 checks passed
Review ok approved by DjDeveloperr
Requested changes ok none
Hardware row at head ok in the PR body at ad937dcf
Conflicts ok none
PR text ok Risk: two-way · . The change is in the shared iomfbtemplate.c body built twice with DCPFWH17(): iomfbv27.c (firmware-27 interface) and iomfbh17p.c (the 26.6 H17 template). It reaches every non-panel, non-H17G pipe that gets to iomfbpoweroff() through dcppoweroff(): - DPMS off of an external pipe that is not a retained external pipe: J473 HDMI + USB-C (T8112, 27.2), M3 Air J615 USB-C (27.2), fixed-HDMI M5 such as J775c (T6050, 27.0). H17P external pipes and desktop 26.x pipes leave dcp_poweroff() earlier through their own stop handlers and are unchanged. - The direct _dcp_poweroff() in dcp_enable_dp2hdmi_hpd() (drivers/gpu/drm/apple/dcp.c) when a fixed HDMI port is powered on with HPD low (boot or wake without a display): this pipe now also gets the clear swap and setPowerState(0), bounded by the existing 500 ms and 1000 ms waits. The cold-attach row below covers it. - Panel pipes (H17P, H17G and firmware-27 panels) are unchanged: they keep the early return or leave earlier through soft DPMS / the H17G blank. The separate desktop-26 template is unchanged.
Hold no labelled hold by a maintainer

Areas: area:display

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

@github-actions github-actions Bot added blast:m2 Macs affected, from Merge risk (bot) ready-to-merge Meets the merge policy: merge it (bot) labels Nov 25, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

J473 (M2 Mac mini, T8112, 27.2) at 519feff53032 pass: full kernel built from this head (7.3.0-aurora-m2mdf3157), default cmdline, one-shot boot, MSI MPG 325CQRXF on USB-C + Acer QG270 S3 on HDMI.

  • 3/3 DPMS-off cycles (mutter PowerSaveMode=3, one of them with a 12 s RTC s2idle while off): dcp_poweroff() done on both DCPs each time (6/6), no DCP timeout.
  • DPMS on: 2560x1440@144 and 1920x1080@180 back each time. Connectors stay connected with no unresolved hotplug.
  • gnome-shell up throughout (0 ANOM_ABEND). Same boot, SELinux enforcing, 0 AVC, 0 failed units, no new kernel error classes against stock fleet89.
  • Saved fleet89 boot restored and verified afterwards.

Still open from the review: the J775c peer row (DPMS + cold attach after a boot with no display), and the cold-attach case on the J473 HDMI, which needs the cable pulled before boot.

@github-actions github-actions Bot added ready-to-merge Meets the merge policy: merge it (bot) and removed ready-to-merge Meets the merge policy: merge it (bot) labels Nov 25, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Correction to my row above: it did not run on the fleet default command line. The first install attempt of that kernel ran Fedora's 20-grub/99-grub-mkconfig kernel-install plugins, which rewrote /etc/kernel/cmdline and every BLS entry from /etc/default/grub. The head row then booted quiet loglevel=3 rd.udev.log_level=3 systemd.show_status=auto user4k=on rootflags=subvol=root instead of the fleet line (rhgb ... plymouth.ignore-serial-consoles panic=10 systemd.watchdog_sec=60). None of the missing or extra options touch the display path. Still, treat that row as a diagnostic pass at 519feff53032 (J473: 2/2 DPMS cycles plus 1/1 DPMS-off s2idle cycle, both pipes stopped, modes restored), not the default-cmdline acceptance. The J473's fleet cmdline is restored and verified after a reboot. The default-cmdline acceptance on the J473 comes from the combined signed m2combo18 row, which carries this exact commit.

@RyanTheTide RyanTheTide added the hold Held on purpose; skipped by the PR digest label Nov 25, 2026

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Verdict: HOLD at 519feff53032b15c09b590d8c5008aa5cc7391c8

Blockers: On J473 the signed m2combo18 candidate carrying this commit failed to restore the two external displays on the second DPMS-on transition. Both connectors later detected their monitors but stayed disabled. The same boot logged an HDMI IOMFB transaction timeout and a DRM flip timeout during the first relight. Qualify the change again against a matched baseline with the same kernel options and Stage 2.

Checked: The trial matched the saved fleet kernel options. Both outputs reached 2560×1440 at 144 Hz and 1920×1080 at 180 Hz before DPMS testing. The focused OpenGL tests and all eight Geekbench Vulkan workloads passed. The earlier diagnostic run used different boot options and a different kernel image.

Evidence

J473 (M2, T8112, firmware 27.2), 7.3.0-aurora-m2combo18, candidate source f244b9c90c39616ee6593925003480319548d0b4, paired Stage 2 SHA-256 starts e1073db5. Both DCPs confirmed power-off in the first two off steps. HDMI reported the flip and present timeouts after the first relight, and both CRTCs remained inactive at the second relight and at the post-wake relight. RTC wake itself completed. The zero exit from the probe does not capture the failed output state. The exact cause is still being isolated.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Verdict: HOLD at 519feff53032, from the author.

J473 (M2 Mac mini, T8112, 27.2) fail on the signed combined kernel that carries this commit (7.3.0-aurora-m2combo18 + its signed Stage 2, fleet default command line verified against the saved entry): DPMS cycle 2 left both monitors off until reboot.

  • Cycle 1 powered both pipes off cleanly. On DPMS on, the HDMI monitor woke from real standby and dropped HPD in the middle of the 1080p180 modeset. About 10 s later the HDMI CRTC hit flip_done timed out (IOMFB transaction timeout, then the modeset timed out).
  • DPMS off 2 then ran the new pipe-off on that hung pipe: iomfb_poweroff_v27: clear swap timed out and setPowerState(0) timeout 1000 ms. After that GNOME did not relight either monitor (both stayed disabled through DPMS on, three RTC wakes and a connector re-detect).
  • The same HDMI wake bounce recovered in 8 of 9 earlier wakes, including all three in the head row above. Before this change the HDMI pipe never powers off, so the monitor never enters standby and this race could not happen. Same boot otherwise: display modes, HDR, GPU workloads and 3/3 RTC s2idle all passed.

What it needs: handle a DP2HDMI sink that drops and re-raises HPD while the pipe is being powered on (wait for the debounced HPD before the modeset, or retry the modeset once the firmware has described the display again), and skip the clear swap / power-off on a pipe whose last commit did not complete. A fix will follow on this PR, with a J473 soak of at least 10 DPMS cycles on the fleet command line.

@RyanTheTide RyanTheTide removed the ready-to-merge Meets the merge policy: merge it (bot) label Nov 25, 2026
The external pipe-off on firmware-27 interfaces ran whenever a CRTC was
disabled. On a Mac mini (M2, 27.2 firmware) the desktop's CRTC disable
at the login hand-over can land while the firmware describes the HDMI
display again after a hotplug. The firmware then answers neither the
clear swap nor setPowerState(0); both time out, the next power-on
waits for power in vain, and the display stays dark.

A firmware re-describe withdraws the mode first (mode_state.valid is
false until a mode set completes), and nothing of ours scans out then.
Leave such a pipe to the firmware and only stop a pipe that runs a
mode we set.

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

Copy link
Copy Markdown
Contributor Author

Second commit ad937dcfb227 fixes the J473 failure from my HOLD above. The control run showed the cause: it was not the GPU workload.

  • Cause: at the login hand-over the firmware re-attaches and re-describes the HDMI display on every boot (it withdraws the mode, then republishes its AV services). If GNOME disables the CRTC inside that window, the first commit's pipe-off runs against a pipe the firmware is rebuilding. Neither the clear swap nor setPowerState(0) is answered, the next power-on reports "wait for power timed out", and the display stays dark. A control run with DPMS as the first workload hit this at boot (27.0 s re-attach, 27.016 s CRTC disable), so workload order is ruled out.
  • Fix: skip the external pipe-off while mode_state.valid is false. The firmware withdrew the mode, so no scanout of ours is left to stop, and only a completed mode set makes the mode valid again. This keys on driver state, with no timer or delay. Normal DPMS off is unchanged.
  • Row: J473 (M2 Mac mini, T8112, 27.2) at ad937dcfb227 pass. The kernel was the exact m2combo18 source plus this commit, with the same signed Stage 2 and the fleet default options. The hand-over race occurred at boot and was survived. Then 12 DPMS off/on cycles (4 with an RTC s2idle while off) and 4 forced off/detect brought both monitors back 16/16. Pipe-off HDMI 15/15 and USB-C 16/16 with zero timeouts, 3/3 RTC wakes on the same boot. Evidence: lab store traces/display/20261125-j473-dpms-relight/m2combo18v-j473-soak1.

Verdict from the author: FINISH, then merge at ad937dcfb227 once CI passes, a non-author review is done, and the J775c peer row is in (fixed-HDMI DPMS plus cold attach after a boot with no display).

@github-actions github-actions Bot added the ci-failing A check failed at the PR head (bot) label Nov 25, 2026
@github-actions github-actions Bot added needs-review No approving review from Core or Omarchy Mac yet (bot) and removed ci-failing A check failed at the PR head (bot) labels Nov 25, 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.

LGTM — audited the 2-commit diff at ad937dcfb227: gating external H17P pipe-off on !dcp_has_panel(dcp) and skipping it when !READ_ONCE(dcp->mode_state.valid) (matching the existing mode_state.valid readers across dcp.c / iomfb_template.c) cleanly avoids racing firmware display re-attachment, backed by 20/20 green CI and the 16/16 J473 DPMS soak pass. Holding merge for the requested J775c peer row.

@github-actions github-actions Bot removed the needs-review No approving review from Core or Omarchy Mac yet (bot) label Nov 25, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Tested: J616s (M4 Pro, T6040) signed shared regression, carrying ad937dcfb227ed4ee394cb73fafdbc964d72fa8b unchanged in merge candidate ab436cca7ae9. Kernel 7.3.0-aurora-m2combo19, signed Image SHA-256 prefix 4b923f22, J616s Stage 2 prefix 6816bc5e, default kernel options.

Vulkan 4/4, hardware GL 1/1, Wi-Fi 3/3 before and after, one short RTC wake, and hardware graphics after wake. The active USB4 tunnel stayed up at 20 Gb/s on two lanes. Zero scoped kernel errors, zero SELinux denials, and zero failed units. Restored saved 7.3.0-aurora-fleet89, original Stage 2, and empty next entry.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

J473 (M2 Mac mini, T8112, 27.2) at ad937dcfb227 pass on the signed combined m2combo19 kernel (frozen main 02c235a + this PR + GPU #3162/#3055) with its signed Stage 2. The fleet default options were checked against the saved entry.

  • 6 DPMS off/on cycles (2 with an RTC s2idle while off) and 2 forced off/detect: both monitors back 8/8. Pipe-off HDMI 9/9 and USB-C 10/10 with no clear-swap, setPowerState, flip or IOMFB timeouts. 3/3 RTC wakes on the same boot.
  • The same boot had an unrelated GPU firmware crash during Geekbench 6 (reported to the GPU owners). The display results above held through it.

The only merge gate still open is the J775c peer row.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Tested: J473 (M2 Mac mini, T8112, firmware 27.2), exact ad937dcfb227 in signed merge candidate ab436cca7ae9. Kernel 7.3.0-aurora-m2combo19, Image SHA-256 prefix 4b923f22, Stage 2 prefix e1073db5, saved fleet kernel options.

  • Both outputs recovered in 8/8 relight snapshots (16/16 connector checks). The final modes were 144 Hz over USB-C and 180 Hz over HDMI.
  • Two DPMS-off wakes and three ordinary short RTC wakes completed. Both playback streams were closed when sampled.
  • Monitor audio failed the same-boot check. Each ALSA jack was on and exposed a valid stereo ELD before the sequence. After the ordinary RTC wakes, both jacks were off, both ELDs were empty, and PipeWire showed two display cards with zero display-audio sinks.

Compare the saved display-audio routes in a short guarded A/B with the same kernel base, boot options, and Stage 2. Capture settled-login, relight, and wake checks.

Restored the saved fleet89 boot with SELinux Enforcing, zero failed units, and no pending one-shot entry.

@satchlj

satchlj commented Nov 25, 2026

Copy link
Copy Markdown
Member

Tested (fixed-HDMI control row): Mac Studio M5 Max (J775c, T6050, DCP firmware 27.0), exact PR head ad937dcfb227 built cleanly with the standing J775c config/DTB (7.3.0-pr3157+ #1, Image.gz SHA-256 af1df6a21fa4360b96df748825f6f0380b6fab5162ad7fc4220550d91cdb9e86), boot_id 41d051af-3f3a-4258-bd95-52c27bfc4f0f.

  • Cmdline: rdinit=/init nr_cpus=18 maxcpus=18 root=UUID=3da7492b-6c5e-4e84-9eac-65b89fae44c6 arm64.nomte
  • Display: fixed HDMI HDMI-A-1 at [email protected] (392e00000.dcp, 29c200000.phy / dptx_phy).
  • Row A — 3× rtcwake -m freeze -s 10 (display on): 3/3 PASS (rc=0, wall 11.82s / 11.95s / 11.96s); dcp_poweroff() done → dcp_poweron() clean every cycle, HDMI [email protected] dpmsStatus: 1.
  • Row B — 2× DPMS off/on (hyprctl dispatch dpms off/on) + live sysfs check: 2/2 PASS; during DPMS off card0-HDMI-A-1 transitions connected / disabled / Off and logs dcp_poweroff() done, then restores cleanly to connected / enabled / On ([email protected], dpmsStatus: 1). On #3157 alone, dptx_phy stays on and 29c200000.phy stays active (0 ms suspended) during DPMS off (expected; releasing the fixed HDMI link on DPMS off is tracked separately in drm/apple: release a fixed HDMI link on DPMS off with DCP firmware 27 #2503).
  • Row C — DPMS off → rtcwake -m freeze -s 10 → DPMS on: PASS (rc=0, wall 11.48s); HDMI restores cleanly to [email protected] dpmsStatus: 1.
  • Health: setmode_failed=0, failed_units=0, 0 IOMFB/DPTX/flip timeouts.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Audio control for the merge gate (J473, M2 Mac mini, T8112, 27.2). Both sides used the same signed Stage 2 and fleet default options, the same silent sequence (settled login, then DPMS off/on ×2 plus one DPMS-off RTC s2idle plus forced off/detect, then 3 RTC wakes), and the same scoring at each stage.

m2control19 (main 02c235a, without this PR) m2combo19 (main 02c235a + this PR at ad937dcfb227)
ELD both monitors (settled / after DPMS / after 3 wakes) 3/3 3/3
HDMI + USB-C sinks present 3/3 3/3
RTC wakes on the same boot 3/3 3/3
Outputs back after DPMS/detect 4/4 each 4/4 each
Pipe-off timeouts / AV service slot exhaustion n/a / 0 0 / 0

J473 (M2 Mac mini, T8112) at ad937dcfb227 pass: monitor audio identical with and without this PR. The ELD loss seen on the earlier combined boot belongs to a separate bug (AV service slot exhaustion on a longer boot after a GPU firmware crash), and so does the USB-C sink's generic PipeWire label after DPMS (present on both sides). Both are tracked outside this PR.

@DjDeveloperr
DjDeveloperr merged commit 4f1168e into main Nov 25, 2026
24 of 27 checks passed
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

ORCH5's audio gate is met with the AV service slot-leak fix #3175. This PR should merge together with it or after it.

J473 (M2 Mac mini, T8112, 27.2) at ad937dcfb227 pass. The kernel was the signed m2combo19 source (main 02c235a + this PR) plus #3175, with fleet default options. On one boot: 18 DPMS-off batches (6 with an RTC s2idle while off), 6 forced off/detect and 3 RTC wakes. Both monitors' audio kept jack, ELD and sink at all 8 checkpoints, and both outputs came back 24/24. 42 pipe-offs with 0 clear-swap, setPowerState, flip or IOMFB timeouts, 3/3 wakes on the same boot, 0 "no reusable service slots". Evidence (lab store): traces/display/20261125-j473-dpms-relight/gate-c19s-a.

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

Labels

area:display Area from CODEOWNERS (bot) blast:m2 Macs affected, from Merge risk (bot) blast:m3 Macs affected, from Merge risk (bot) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) hold Held on purpose; skipped by the PR digest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants