Skip to content

T8122: get the J615 (firmware 27.2) through a deep-sleep entry: keep the live MTP DART, stop the internal DCP cold - #3413

Open
RyanTheTide wants to merge 3 commits into
mainfrom
fix/t8122-deep-mtp-dcp
Open

RyanTheTide wants to merge 3 commits into
mainfrom
fix/t8122-deep-mtp-dcp

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

What: Two fixes that let the M3 MacBook Air 15" (J615, T8122, macOS 27.2 firmware) get through a deep-sleep entry on the merged T8122 sleep framework (#3140). (1) The MTP DART, which the boot loader hands over live (apple,bypass-handoff-streams), refused every sleep but suspend-to-idle with -EBUSY; it is now kept through a firmware-driven sleep exactly as through s2idle (the rtkit helper already keeps the MTP running then). (2) The internal DCP on the 27.2 image is now stopped by the sleep engine after the sleep's last refusal, where the sleep driver's own SoC data says its commit powers that coprocessor down for good (new apple_sleep_display_no_restart(dev), T8122 only today). Before, the commit cut its power under running firmware and the resume panicked. Its .suspend stays the ordinary one. It registers a first-pass last stop (polled RTKit idle, run bit cleared), and the engine moves T8122's display_off behind that stop, so a refused sleep leaves the display running. .resume asks apple_sleep_coproc_stopped(). (3) Test-only apple_sleep.refuse_late=1 refuses one early_context sleep at its very last check.

Tested: J615 M3 Air 15" at 66923b11 merged on main 18058ea2 (with #3425 + #3445): forced late refusal of a deep sleep 3/3 recovered on the same boot, with the internal DCP completing swaps after each (16/16, 16/16, 18/18 against a 16/16 baseline) and NVMe 4.9-5.2 GB/s; default command line boot smoke + s2idle 3/3, 0 failed units (row in the PR comments). Earlier, at 66923b11 on the old base: J615 default-cmdline boot smoke + s2idle 3/3 OK; deep dry run every check passed, panel back; commit: reset 60 s after the commit, no resume panic (same as before). (On that base the forced late refusal stopped in NVMe's refused-sleep recovery, #3435, fixed by #3445.) Earlier, J615 (M3 Air 15", 27.2 firmware) at 6a757b15, kernel built from this head with the fleet config, main's J615 DTB via a one-shot: default command line boot smoke (eDP, MTP keyboard/trackpad, Wi-Fi, NVMe 5.1 GB/s, Enforcing, 0 failed units) and s2idle 3/3 with all of it still up after each (0 'MTP bypass lost'); with apple_sleep.deep=1 (GPU blacklisted, DCPEXT off): dry run every check passed (was -EBUSY from 2fa808000.iommu), and a committing sleep now runs to the last mile and is reset 60 s after the commit instead of panicking in the resume ~10 s in. J473 (M2 mini, T8112, not an affected family: no change expected) at 6a757b15: boot smoke (both displays, input, Wi-Fi, NVMe, Enforcing, 0 failed) and s2idle 3/3 OK.

Risk: two-way · only Macs whose sleep data has display_no_restart (T8122: J613/J615) or whose boot loader hands the MTP over live, and only in a firmware (deep) sleep; T8122 deep sleep is still opt-in (apple_sleep.deep=1, untested_commit). s2idle and every other SoC unchanged.

Not yet: the J615 still does not wake from deep sleep: after these fixes it is reset 60 s after the commit, independent of the RTC alarm (open, see Details). GPU (G15G 27.2 deep_sleep: false) and the 27.2 DCPEXT still refuse/aren't stopped; rows used modprobe.blacklist=aurora and apple_t8122_display.dcpext=0 to isolate.

Details
  • DART: apple_dart_system_suspend() refused anything but PM_SUSPEND_TO_IDLE for a live-MTP DART. In a firmware sleep apple_rtkit_helper_suspend() keeps the MTP firmware running (AP idle notice only), so its DART is kept the same way: no save/reset, device_set_awake_path(), and the resume checks stream 1 is still in bypass (-EIO and an error otherwise). The noirq callbacks skip it, since the runtime suspend they'd call refuses a live MTP.
  • DCP: dcp_sleep_owned() was 26.6-only. On 27.2 the DCP took the ordinary suspend path, the T8122 commit powered DISP_CPU off cold, and the resume talked to dead firmware. Now dcp_sleep_owned() = (26.6 and not external) or apple_sleep_display_no_restart(dcp->dev). The new helper is true only during a firmware sleep, on a SoC whose sleep data sets display_no_restart, for the device that is display[0] of the sleep node's apple,display-coprocessors (the internal display). No chip/board/firmware-version gate. Same trade-off as the merged 26.6 path: panel off until reboot after a committed sleep (no 27.2 restart path yet); a sleep refused after the DCP's .suspend also leaves it stopped.
  • Refusal ordering checked: the DART change only removes a refusal; the DCP stop happens in .suspend only when the sleep commits (!apple_sleep_dry_run()), as for 26.6.
  • Open blocker after these (J615): the commit powers the clusters down (cf. the 11-24 G/H rows on soc: apple: J613 (T8122) suspend-to-RAM on the shared T8142 sleep framework (draft: wake unshown) #2572), then the Mac is reset 60 s after the commit, independent of the RTC alarm (+15/+45 s here; +15/+20/+50 s on 11-24) and of WD1/WD2/AON_WDT; Linux's .resume is never reached. On this firmware aura publishes /chosen/aurora,s2r-mailbox (it points RVBAR at itself on M3), so a wake enters aura's smp_s2r_return_to_os() first; that writes one line on the always-on DockChannel, which a KIS capture can show (next step).
Evidence

Lane rows (J615, one-shot aura-try with only the DTB replaced by main's, GRUB one-shot, RTC wake, M1 Pro VDM dead-man): traces/power/20261128-m3-deepsleep/README.md (lab store).

Row Kernel Result
r1dry fleet90 (no fix), GPU blacklisted dry run aborts: apple-dart 2fa808000.iommu: platform_pm_suspend returns -16
r2dry fleet90 + DART fix dry run: every check passed
r3c1 + DEV PMU notes, no DCP fix commit -> PMU notes step 0x7e (back in Linux before device resume) -> panic reboot ~10 s later (kernel.panic=0 moves the reset to ~+67 s)
r4c1/r4c2 + DCP fix commit -> last note 0x60 (last mile), no panic; reset ~60 s after the commit, RTC +15 s and +45 s alike
prA exact head 6a757b15, default cmdline boot smoke OK; s2idle 3/3 rc=0, checks OK after each (the dwc3-apple ... genpd_prepare returns -11 lines are on production fleet90's s2idle too)
prBdry exact head, deep=1 (GPU blacklisted, dcpext=0) dry run: every check passed
prBc1 exact head, commit, RTC +15 s reset ~60 s after the commit (no resume panic)
pr2A rework head 66923b11, default cmdline boot smoke OK (eDP enabled, MTP, Wi-Fi, NVMe 5.1 GB/s, Enforcing, 0 failed); s2idle 3/3 rc=0, eDP enabled after each
pr2Bdry 66923b11, deep=1 dry run: every check passed; panel back, brightness restored
pr2Brl / pr2Drl 66923b11 + refuse_late=1 (pr2Drl: + DEV-only PMU notes and kmsg dumper, not in this PR) panic in NVMe's refused-sleep recovery: apple_nvme_reset_work -> apple_rtkit_reinit -> apple_nvme_sart_dma_destroy -> sart3_get_entry SError (#3435)
pr2Bc1 66923b11, commit, RTC +15 s reset ~60 s after the commit; no early resume panic
J473 exact head, default cmdline, production Stage 2/DTB boot smoke OK; s2idle 3/3 rc=0 (rtc1 apple-pmu-rtc); its dwc3-apple ... -11 and brcmfmac LPAS setup failed (-107) lines are in the J473's production baseline too

…akes it for good

On T8122 the sleep's commit powers the internal display coprocessor down
and nothing starts it again after the wake (the SoC's sleep data says so:
display_no_restart). Its driver stopped it cold for that commit only on
the 26.6 image. On the 27.2 image (J615, MacBook Air 15-inch M3) the DCP
took the ordinary suspend path: the commit then cut its power under the
running firmware, and on the J615 the commit either fell through at once
and the resume ran into the dead firmware (a panic a few seconds after the
sleep started), or did not get going at all.

Let the sleep driver say which display coprocessor its commit takes for
good: apple_sleep_display_no_restart(dev) is true for the first of the
sleep node's apple,display-coprocessors (the internal display) on a SoC
whose sleep data has display_no_restart, during a firmware sleep. The DCP
driver then stops that coprocessor cold before the commit, as it does for
26.6, and leaves it stopped until a reboot. Nothing changes for any other
SoC, for external display processors, for suspend-to-idle or for a dry run.

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide marked this pull request as ready for review November 27, 2026 18:22
@RyanTheTide
RyanTheTide requested review from a team as code owners November 27, 2026 18:22

@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: FINISH, then merge.

Blocker: The firmware-27 DCP now stops irreversibly in its device suspend callback, before the platform's remaining refusal checks. If a later device or the platform declines the sleep, the kernel can unwind to an awake laptop with its panel still off until reboot. Please preserve the display on this abort path or move the cold stop behind the refusal checks. The DART retention fix can be reviewed independently.

Checked: The new ownership predicate matches the first display phandle, so it does not select DCPEXT when the DT is ordered as documented. It requires firmware sleep, and dry run still skips the cold stop. The live-MTP DART retains bypass and checks it on resume. The J615 default s2idle row passed. The deep row still resets and bypasses the GPU and external display paths, so it does not exercise a normal late refusal with the internal panel kept usable.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Thanks, agreed on the blocker. Reply per item:

  • Cold stop before later refusals (blocker): confirmed, and it goes one step further on T8122. The engine's own display_off (t8122_sleep_display_off(), the "display prepare" step of apple_sleep_enter() for an early_context SoC) already powers DISP_CPU off before its coprocessor checks, SMC notice, final check, wakeup-pending check and SEP stop, any of which can still refuse. So a late refusal strands the internal display on T8122 today, 26.6 included, and this PR moved the DCP's stop earlier still (into .suspend). The right fix has two parts: (1) the engine stops the display after its last refusal, and (2) the DCP's RTKit idle runs as a registered coprocessor last-stop (apple_sleep_coproc_register(), as SIO does with apple_rtkit_sleep_idle_polled()), with .resume asking apple_sleep_coproc_stopped() to tell a committed sleep (stopped, panel off until reboot) from a refused one (still running, resume as usual). That needs its own J615 rows, including a forced late refusal with the panel checked afterwards. Back to draft until then.
  • DART: split out as iommu: apple-dart: keep a live MTP through a firmware-driven sleep #3425 (same commit df442f67, rows in its body), so it can go ahead on its own.

@RyanTheTide
RyanTheTide marked this pull request as draft November 27, 2026 18:33
… last refusal

The previous change stopped the firmware-27 T8122 internal DCP cold in its
.suspend. Any later refusal (another device's .suspend, the engine's
coprocessor checks, the SMC notice, a pending wakeup, SEP) then unwound to
an awake Mac whose panel stays off until a reboot. The engine's own T8122
display_off has the same hole: it powers DISP_CPU down at the start of the
entry, before those checks.

Stop that DCP where nothing can refuse any more instead:

- The DCP's suspend is the ordinary one again (firmware left running), and
  where the SoC's sleep data says the commit powers this display down for
  good (apple_sleep_display_no_restart()), it registers a last stop with
  the sleep engine, in its first pass of stops (as the GPU registers):
  RTKit AP/IOP idle, polled with interrupts off, the receive bit off and
  its run bit cleared.
- The engine does not count such a readied internal display as a running
  coprocessor at its refusal check, and powers it down (display_off) only
  right after that first pass of stops, past the last refusal and still
  before the wake is armed and macOS's off words drop. A failure there
  goes on to the commit, as a failed coprocessor stop does.
- The DCP's .resume asks apple_sleep_coproc_stopped(): a committed sleep
  stopped the firmware, which stays stopped until a reboot, as on 26.6; a
  refused one resumes it as usual.

- apple_sleep.refuse_late=1 (test only, one sleep) refuses an
  early_context sleep at its very last check, after every other, to row
  what such a refusal unwinds.

The 26.6 DCP keeps its cold stop in .suspend, and an engine whose display
has no readied stop keeps display_off where it was, so nothing changes for
J613 26.6, for other SoCs, for external display processors, for s2idle or
for a dry run.

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

Copy link
Copy Markdown
Contributor Author

Reworked per the plan in my earlier comment (new commit on top; no force push):

  • Cold stop before later refusals (blocker): fixed. The firmware-27 internal DCP's .suspend is the ordinary one again; where apple_sleep_display_no_restart() holds, it registers a first-pass last stop with the engine (apple_sleep_coproc_register_first()): polled RTKit AP/IOP idle, receive bit off, run bit cleared. That stop runs after SEP's stop, past every refusal. The engine skips such a readied internal display at its "bound display coprocessor is still running" refusal. It now powers the display down (display_off) right after that first pass instead of at the start of the entry. That is still before the wake arm, the macOS-off match and the PMP stop, so the old relative order holds. .resume asks apple_sleep_coproc_stopped(): a committed sleep leaves it stopped (panel off until reboot, as 26.6), and a refused one resumes it as usual.
  • Engine's own early display_off: moved behind the last refusal for that case. For 26.6 (DCP still cold-stopped in .suspend, no readied stop) and every other SoC it stays where it was.
  • Forced late refusal: new test-only apple_sleep.refuse_late=1 (one sleep, clears itself) refuses after every other check; rows below.

Rows at 66923b11 (J615, details in the body): default-cmdline smoke + s2idle 3/3 OK; deep dry run passes and the panel comes back; commit: the same 60 s post-commit reset, no resume panic. The forced late refusal did not come back, but the panic is in NVMe, not the DCP: a refused non-dry T8122 sleep sends ANS's warm-sleep fallback into a cold reset whose apple_rtkit_reinit() reads the SART while it is in reset or gated (SError in sart3_get_entry). That's pre-existing; every earlier T8122 refusal was a dry run. Filed as #3435. So the DCP's refused-resume path still lacks its row. I'm keeping this a draft until #3435 is fixed and the refusal row is clean, unless you'd rather take the rework on the dry/commit rows alone.

@RyanTheTide

RyanTheTide commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor Author

The forced-late-refusal row that was blocked by #3435 is done. Fix: #3445.

J615 (27.2 firmware), kernel = this head 66923b1 + #3445 (deep=1, untested_commit, apple_sleep.refuse_late=1, GPU blacklisted, dcpext=0), 3/3:

  • the engine refuses at the last check (test: refused at the last check (refuse_late)); rtcwake returns in about 1 s on the same boot
  • the DCP isn't stopped on a refusal: after each, card1-eDP-1 reads enabled (the review's blocker: no panel left off by a late refusal; I checked the DRM state, not the backlight)
  • NVMe restarts from its reset (nvme: apple: restart ANS cleanly after a refused T8122 warm sleep #3445) and the disk stays usable (4.3-4.9 GB/s, write + sync OK)

Also at this head + #3445: deep dry run passes (eDP enabled after); default cmdline smoke + s2idle 3/3 OK; a deep commit still hits the J615 60 s post-commit reset (separate, open).

Before #3445 the same row panicked in NVMe (SError), not in the DCP. Marking ready. The refuse_late rows need #3445 underneath; the rest of this PR doesn't depend on it.
Evidence: traces/power/20261128-m3-deepsleep/rows/pr4-summary.txt (lab store).

@RyanTheTide
RyanTheTide marked this pull request as ready for review November 27, 2026 22:20

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

The original DCP refusal blocker is resolved in source: the ordinary suspend path leaves the controller running. The readiness-gated deferred power-off and first stop occur after the final checks and SEP success, and refusal disarms the registered callback and resumes normally. The J615 3/3 combined run confirms eDP remains enabled in DRM after a late refusal. Treat this as code approval only. Land #3425 and a corrected #3445 first, then refresh the refusal row with the corrected dependency and verify visible scanout as well as DRM state. The committed sleep still resets, so leave the existing deep-sleep qualification gate in place.

@github-actions github-actions Bot added area:display Area from CODEOWNERS (bot) area:platform Area from CODEOWNERS (bot) blast:m3 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Merge readiness at 1fae0d6a: not ready yet

Check Detail
CI at head no failing: kunit, apple-build, host-tests, kunit, source, pr-text / pr-text
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head ok comment at 1fae0d6a
Conflicts ok none
PR text ok Risk: two-way · only Macs whose sleep data has displaynorestart (T8122: J613/J615) or whose boot loader hands the MTP over live, and only in a firmware (deep) sleep; T8122 deep sleep is still opt-in (applesleep.deep=1, untestedcommit). s2idle and every other SoC unchanged.

Areas: area:display, area:platform

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

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Update: #3445 changed under this PR (b0ced07: ANS's old buffers are kept while it uses them). This head 66923b1 + #3445 b0ced07 on J615: refuse_late 4/4 on the same boot with card1-eDP-1 enabled after each, plus default-cmdline smoke + s2idle 3/3 OK. Evidence traces/power/20261128-m3-deepsleep/rows/pr7/ (lab store).

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Refusal row on the merged base, as asked: #3425 and #3445 are in main now, so the forced late refusal no longer stops in NVMe (#3435).

Kernel: main 18058ea2 (with #3425 + #3445) with this branch's head 66923b11 merged on top (test-only merge, no other changes). J615 (M3 Air 15", macOS 27.2 firmware). DT-only one-shot with main's J615 DTB; apple_sleep.deep=1, GPU module blacklisted, apple_t8122_display.dcpext=0, as in the earlier rows.

Visible scanout: DRM reporting enabled isn't enough, so each check switches to a text VT, writes 80 lines over 4 s and counts the internal DCP's dcp:iomfb_swap_submit / iomfb_swap_complete trace events. Then it switches back to the GNOME session. Backlight on (140/500, bl_power 0).

row result
baseline, same boot, no sleep eDP enabled/On, 16 swaps submitted / 16 completed
deep + refuse_late=1 + untested_commit, ×3 on one boot 3/3 refused at the last check (refuse_late), rtcwake rc=1, same boot. After each: eDP enabled/On, 16/16, 16/16, 18/18 swaps completed; NVMe O_DIRECT read 4.9-5.2 GB/s
earlier on the same boot: 5 more forced refusals + 2 s2idle all refused/returned on the same boot; NVMe read 3.6-3.7 GB/s + 64 MiB fsync'd write OK, / rw, btrfs device stats 0, 0 failed units (one geoclue.service start timeout, a known transient unrelated to this change)
default command line (deep not offered), same kernel boot smoke: Enforcing, 0 failed units, Wi-Fi connected, MTP input. s2idle 3/3 rc=0: after each, 18/18, 18/18, 18/17 swaps (one still in flight when the trace stopped), NVMe 5.1 GB/s

Kernel errors on the default-cmdline boot that the fleet kernel doesn't show: dockchannel-hid ... output report 0x40 failed, PS 0x470: asserting RESET while powered down, the ANE H16 requires bootloader-reserved no-map TEXT/DATA preload ranges and a brcmfmac ... r_ptr 0 outside depth 0. They come from main, not from this PR (it only touches dcp.c, dcp-internal.h, sleep.c and sleep.h). No panic, SError or oops.

A committed deep sleep is unchanged: the J615 still doesn't wake from it on 27.2 firmware. That's a separate open issue, and this PR doesn't claim it.

@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 Nov 29, 2026
Resolve dcp_platform_resume(): run the commit-stop disarm first so it always unregisters, then the v26 sleep resume from main.

Signed-off-by: DjDeveloperr <[email protected]>

@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 1fae0d6a65b7

Blockers:

  • Hosted CI at 1fae0d6a65b7 is still queued (29 jobs queued: apple-build, host-tests, rust-build, pr-text, readiness, DWC3/ATC matrix, and KUnit suites) — wait for all checks to complete green.

Checked:

  • Audited the full 4-file diff (+133/-1, MERGEABLE against main) and merge commit 1fae0d6a65b7: resolving dcp_platform_resume() by running dcp_commit_stop_disarm(dcp) before dcp_v26_sleep_resume(dcp) cleanly ensures the registered commit-stop callback is always unregistered on resume while preserving main's v26 sleep resume path.
  • Previously approved logic at 66923b11 (dcp_commit_stop_arm(), dcp_commit_stop(), sleep_display_late(), apple_sleep_display_no_restart(), refuse_late) and J615 hardware verification (refuse_late 4/4, s2idle 3/3, merged-base refusal row) remain intact.
Evidence
  • Head: 1fae0d6a65b7e0874ba060ca7c2c16c17c5ebe8f (base main, MERGEABLE, merge of main 07cb39a289 over 66923b11b0).
  • Ready to approve once hosted CI passes green at 1fae0d6a65b7.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merge-up review (our own PR, so no approval from this account): conflict-pass merge commit 1fae0d6: dcp.c resume keeps main's dcp_commit_stop_disarm block alongside the PR change. Nothing outside the conflict. Needs a non-author approval plus CI and rows at this head before merge.

@github-actions github-actions Bot added ci-failing A check failed at the PR head (bot) needs-hw-row No hardware row at the PR head (bot) and removed merge-conflict Conflicts with the base branch (bot) labels Dec 1, 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: MERGE at 1fae0d6a65b7

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: - Audited the full 4-file diff (+133/-1, MERGEABLE against main) and merge commit 1fae0d6a65b7: resolving dcp_platform_resume() by running dcp_commit_stop_disarm(dcp) before dcp_v26_sleep_resume(dcp) cleanly ensures the registered commit-stop callback is always unregistered on resume while preserving main's v26 sleep resume path.

  • Previously approved logic at 66923b11 (dcp_commit_stop_arm(), dcp_commit_stop(), sleep_display_late(), apple_sleep_display_no_restart(), refuse_late) and J615 hardware verification (refuse_late 4/4, s2idle 3/3, merged-base refusal row) remain intact.

Follow-ups (not blocking): queued hosted CI

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

J615 (MacBook Air 15", M3, T8122, firmware 27.2) at 1fae0d6a65b7e0874ba060ca7c2c16c17c5ebe8f: FAIL - the deep-sleep entry can't be reached on current main, but nothing regressed. With apple_sleep.deep=1 modprobe.blacklist=aurora (the rows' command line), both the dry run and 3 forced late refusals (refuse_late=1, untested_commit) are refused early, in dpm_suspend, by the external DCP: apple-dcp 31ac00000.dcp: no firmware stop for a deep sleep: refusing it / dcp_platform_suspend returns -16. That refusal is main's bdb97ea. Main b1def93 (12-01) removed the T8122 dcpext kill switch that the earlier rows used to keep DCPEXT unbound (apple_t8122_display.dcpext=0 no longer exists), so the sleep never gets to this PR's MTP DART keep or its internal-DCP last stop. Each refusal recovered on the same boot: eDP enabled, DCP swaps completing, NVMe 3.7 GB/s, s2idle after it OK. The default command line on the same kernel is clean: Enforcing, 0 failed units, 0 oops/AVC/DART faults, 2 DCPs bound, eDP enabled, Wi-Fi up, s2idle 3/3 with Wi-Fi and eDP after each. Showing the claim on main needs a firmware stop for the T8122 DCPEXT, or a way to leave it unbound. Kernel = main 27d585c8dfb3 + #2161 #3224 #3117 #3217 #3413 (exact heads), one grub2-reboot one-shot boot, default command line and Stage 2.

This branch has not been deployed

No deployments
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) area:platform Area from CODEOWNERS (bot) blast:m3 Macs affected, from Merge risk (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants