Repository navigation
drm/apple: toggle display pipe PMC interfaces across S2R domain transitions - #3300
Conversation
…itions Wire consumer PMC BWR and boost interface clear/restore into the direct MMIO display-domain transition helpers (dcp_s2r_domains_off() and dcp_s2r_domains_on()) in hardware power-domain order: - preflight PMC availability in dcp_s2r_suspend() and dcp_s2r_ext_suspend() before stopping firmware, so an unavailable provider or CONFIG_APPLE_PMC=n on a configured pipe refuses sleep cleanly instead of stranding a stopped firmware during refused-sleep recovery. - off: preflight PMC before touching DART/PMGR, lower CPU and FE, wait for FE off, clear PMC interface enables (recording s2r_pmc_off), then lower SYS and wait for CPU off. - on: raise SYS and wait for SYS on, restore PMC interface enables before raising FE and CPU (aborting before setting s2r_domains_up if restore fails), then raise FE and CPU. Treat -ENODEV (and -EOPNOTSUPP when CONFIG_APPLE_PMC is disabled on pipes with no configured PMC interface in DT) as an absent optional interface, while propagating -EOPNOTSUPP and all other errors for pipes with a configured or malformed PMC interface topology. Signed-off-by: Erik Bourget <erik@ebourget.net>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
Clear dcp->dpms_powered_off in dcp_dpms_power_on() only when s2r_fw_down is already false or after dcp_s2r_display_on() succeeds, so a failed PMC interface restore or post-start boot/display-on failure leaves dpms_powered_off armed for the next unblank to retry instead of returning early while s2r_pmc_off and s2r_fw_down remain set. Unwind post-domain start failures via dcp_s2r_unwind_failed_start() in both dcp_s2r_display_on() and dcp_s2r_prewarm_work(), stopping secure port polling, detaching the RTKit mailbox, clearing CPU RUN, stopping DART streams, and powering down the display domains and PMC interface so the next retry starts from a clean stopped state. Also lower DISP_SYS if dcp_s2r_pmc_on() fails in dcp_s2r_domains_on(). Add a KUnit suite (apple-dcp-s2r-pmc) under CONFIG_DRM_APPLE_DISPLAY_KUNIT_TEST covering failed PMC restore, failed post-start boot handshake, and failed post-start display-on followed by clean retries. Signed-off-by: Erik Bourget <erik@ebourget.net>
|
Updated the PR body with the J713 (M4 Air, 27.2 firmware) hardware run at head |
There was a problem hiding this comment.
Verdict: HOLD at 4b09f069
Blockers:
- Targets non-
mainbase branchfeat/apple-pmc-consumer-interface-chain(#3297), which is still open. Full build/KUnit/host-tests CI has not run againstmain. Once #3297 lands onmain, retarget this PR tomainand run full CI for full review.
Checked: PR base branch (feat/apple-pmc-consumer-interface-chain), dependency PR #3297 status, CI status (readiness and pr-text only), no AI attribution, human Signed-off-by.
Evidence
- Base branch
feat/apple-pmc-consumer-interface-chaincorresponds to open PR #3297. - Because this PR does not target
main,apple-build,host-tests, and KUnit workflows have not run on4b09f069.
When wait_for_completion_timeout(&dcp->s2r_dart_done, ...) times out in dcp_s2r_display_on(), return -ETIMEDOUT instead of 0 so dcp_s2r_unwind_failed_start() powers the display domains and PMC interface back down and dcp_dpms_power_on() keeps dpms_powered_off and s2r_fw_down armed to retry on the next unblank. Route KUnit display_on hooks through dcp_s2r_power() with a test D572 timeout so apple-dcp-s2r-pmc exercises the completion timeout and retry path directly. Signed-off-by: Erik Bourget <erik@ebourget.net>
|
Addressed both review blockers on top of
Verified at head
Once |
|
Merged Conflict: only
Nothing else changed. The PR's added and removed lines against main are the same as they were against its old base, and main's own changes come through unchanged. Local checks (arm64,
Still needed: hosted CI at |
There was a problem hiding this comment.
Refresh at 4ecdedc24ec7. I rechecked rollback and the terminal fault latch. If restoring PMC fails, FE and CPU stay down. If a DART cannot drain, its domains stay up and the latch stops both internal and external restart. No code issue found. The substantive hosted checks passed. GitHub shows one cancelled readiness run.
J773g has covered external DPMS, s2idle and deep-sleep refusal matching baseline. The remaining rows are J713 DPMS/s2idle/deep and T6050 on erikwb's J716c. J714s can also exercise the T6050 path if the boot exposes an active display PMC interface. A maintainer who did not push this head still needs to approve.
Independent review of the forward merge at 4ecdedc24ec7 (parents: the earlier head a37ced381725 and main 87c01c2c901d).
Verdict: MERGE. The merge keeps both sides intact, the branch still merges cleanly into today's main, and the build and style checks below came back clean apart from the noted pre-existing items. Exact-head hosted CI and the hardware rows are still owed before landing.
1. Merge correctness. I redid the merge myself and compared the result with 4ecdedc2:
git merge-tree --write-tree --merge-base=006f20f150fe a37ced381725 87c01c2c901d(006f20f150feis GitHub's merge base for the two parents) conflicts indrivers/gpu/drm/apple/dcp.conly. The local clone is shallow, so I passed the base explicitly.git diff-tree -r <that tree> 4ecdedc2: the only file that differs isdcp.c. Every other file equals a clean merge.- In
dcp.c, all three conflict blocks are resolved the way the notes say:dcp_s2r_domains_on()starts with main'sKUNIT_STATIC_STUB_REDIRECT, then the PR'ss2r_start_stuckcheck.- Main's
dcp_s2r_warm_rtkit_boot()is kept, followed by the PR'sdcp_s2r_mailbox_off(),dcp_s2r_disp_streams_off()anddcp_s2r_unwind_failed_start(). The brace that both sides shared now closes the last helper. dcp_s2r_test.canddcp_s2r_pmc_test.care both included.
- Each of these functions is defined exactly once. The two test files share no top-level names.
- Nothing was lost or reordered. For all five files the PR touches, the ordered list of added and removed lines is identical between
006f20f1..a37ced38and87c01c2c..4ecdedc2(thegit diff -U0+/- lines hash the same). The same holds the other way for main's changes in the four files both sides edited (006f20f1..87c01c2canda37ced38..4ecdedc2). Fordcp.cthat is 472 added and 33 removed lines on the PR side, and 1587 added and 217 removed on main's side. - The two sides still fit together:
- Main's
apple-dcp-s2rsuite stubsdcp_s2r_domains_on()anddcp_s2r_warm_rtkit_boot(). It never setss2r_test_opsors2r_start_stuck, so its three cases follow the same op sequence as before. - The PR's
s2r_test_opsbranch indcp_s2r_warm_restart()still returns before the newdcp_s2r_wake_darts()call. - The PR's failed-start unwind still undoes what
dcp_s2r_wake_darts()turns on. Ons2r_disp_dart_with_dcppipes,dcp_s2r_stop_streams()drains both DARTs. On the other pipes,dcp_s2r_disp_streams_off()drains the display DART.
- Main's
2. Current main. I built on main f4b229b300bb. None of its commits since 87c01c2c touch the PR's files, and git merge-tree --write-tree --merge-base=87c01c2c f4b229b3 4ecdedc2 is clean (tree 132800e301f6). Main moved to b47fc630ebd9 while the build ran. Its 38 further commits change 36 files: none of them is one of the PR's files, none is a header, and drivers/iommu/apple-dart.c changes no exported symbol or prototype that dcp.c calls. git merge-tree --write-tree --merge-base=87c01c2c b47fc630 4ecdedc2 is clean too (tree 9fbec8d79f99). The GitHub compare gives merge base 87c01c2c, with the PR 15 commits ahead and 50 behind.
3. Build (test merge 8030a19c = main f4b229b3 + 4ecdedc2, arm64, LLVM=1, clang, warm reflink of a stock aurora_defconfig output):
- The config came from
make aurora_defconfigand is byte-identical to a freshaurora_defconfigin an empty output directory. It hasDRM_APPLE=m,DRM_APPLE_DISPLAY_KUNIT_TEST=y(so both S2R test files are compiled intodcp.o),APPLE_PMC=yandKUNIT=m. make -j20 -k Image modulescompiled everything, including the rebuiltdcp.oandpmc.o. It then stopped at modpost on exactly one error:ERROR: modpost: drivers/gpu/drm/apple/appledrm.ko: symbol 'snd_pcm_lib_preallocate_free' undefined!. That error predates this PR. It comes from main'sdrivers/gpu/drm/apple/audio-legacy-test.c(from #3410;sound/core/pcm_memory.cdoes not export the symbol), and this PR touches neither file. modpost reports every undefined symbol in a single pass, so nothing else inappledrm.koor any other module is unresolved.make KBUILD_MODPOST_WARN=1 -j20 Image modules(that same error downgraded to a warning) finished with exit code 0. It producedvmlinux,Imageandappledrm.ko(vermagic7.3.0-rv3300-8030a19c). The other modpost lines are main's existing "missing MODULE_DESCRIPTION()" warnings on four unrelated test modules.make W=1 -j20 drivers/gpu/drm/apple/ drivers/pmdomain/apple/finished with exit code 0, 0 warnings and 0 errors. It recompiled 81 objects with the W=1 flags,dcp.oandpmc.oamong them. The 17 objects it left alone are 14.mod.ostubs, plusdcp-fabric-core.o,dcp-fabric-test.oandiomfb-state-test.o. Those three are built fromdrivers/gpu/drm/Makefile, not theapple/directory, and neither this PR nor the merge touches them.- KUnit did not run here (no QEMU on this host). The KUnit plan in hosted CI covers that.
4. checkpatch. scripts/checkpatch.pl --strict on git diff f4b229b3 8030a19c (the PR's net diff against main, 5 files, +1607/-39): 0 errors, 0 checks, 1 warning. The warning is the generic "does MAINTAINERS need updating" for the new dcp_s2r_pmc_test.c. The SPDX sub-check could not run on the build host (no ply module). I checked the new file's header by hand: // SPDX-License-Identifier: GPL-2.0-only.
Hardware. The merge changes no logic on either side. The PR's added and removed lines are the same as at a37ced381725. Still, the S2R path now runs main's dcp_s2r_wake_darts() and dcp_s2r_warm_rtkit_boot() together with the PR's PMC ordering and unwind. So the rows still owed in the PR body (J713 DPMS, s2idle and deep suspend, and J716c) should run at this exact head. They should not be carried over from a37ced381725 or the composites. One J313 DPMS and deep S2R pass is also useful, as an unaffected T8103 row for main's T8103 DART-wake change running alongside this PR.
Still needed: exact-head hosted CI (apple-build, host-tests and the KUnit plan were pending when I checked), those hardware rows, and an approval from an account that did not push this head.
Commands I ran (on the pc build host, partial clone with GIT_NO_LAZY_FETCH=1, builds through ~/bin/aurora-build with 20 threads):
git merge-tree --write-tree --merge-base=006f20f150fe a37ced381725 87c01c2c901d # conflict: dcp.c only
git diff-tree -r <merged tree> 4ecdedc24ec7 # only dcp.c differs
git diff -U0 006f20f1 a37ced38 / 87c01c2c 4ecdedc2 (and 006f20f1 87c01c2c / a37ced38 4ecdedc2), +/- lines hashed per file # all identical
git merge-tree --write-tree --merge-base=87c01c2c f4b229b3 4ecdedc2 # clean, 132800e301f6
git merge-tree --write-tree --merge-base=87c01c2c b47fc630 4ecdedc2 # clean, 9fbec8d79f99
make ARCH=arm64 LLVM=1 aurora_defconfig && make -j20 -k Image modules # only the known modpost error
make ... KBUILD_MODPOST_WARN=1 -j20 Image modules # rc 0, appledrm.ko built
make ... W=1 -j20 drivers/gpu/drm/apple/ drivers/pmdomain/apple/ # rc 0, 0 warnings, 0 errors
scripts/checkpatch.pl --strict <(git diff f4b229b3 8030a19c) # 0 errors, 1 warning, 0 checks
|
J773g 4ecdedc PASS (7.3.0-j773g-comp4-2856-3227 on main 1262f9e, boot_id=a2fdb8dc-5904-45ba-aca5-cd6391aa061a; DP-3 3840x2160 at boot, 4x DPMS off/on OK, 3x s2idle with DP-3 returning, mem refusal matches base [48ae00000.dcp errno=-16] with DP-3 restored; 0 stuck/latch/rollback, 0 DART faults, 0 WARN/Oops, 0 failed units) |
|
Local host CI at
|
Keep the PMC availability and preflight helpers alongside the external DCP disconnect and idle-stop helpers added by main. The external suspend path still checks PMC before disconnecting. Signed-off-by: DjDeveloperr <hey@djdev.me>
The fixture extracts the external DCP suspend path and models its dependencies. Stub the PMC preflight so the external idle cases can exercise the disconnect and stop logic with a working interface. Signed-off-by: DjDeveloperr <hey@djdev.me>
|
Forward-merged main as The DCP host suite passed 118 cases on the merge, and all seven external-idle cases passed after adding the stub, including the six negative controls. The merge preview is clean on main The earlier J773g DPMS and s2idle result still covers the PMC change on its tested base. Committed external deep sleep now uses #3822’s path, so the J713/PMC-active T6050 receipts need to identify a build with both changes. |
|
J713 (MacBook Air 13" M4, T8132), macOS/system firmware 27.2: PASS, internal panel only, at exact head
Afterwards the Mac went back to the production default (fleet94, Enforcing). |
There was a problem hiding this comment.
Verdict: MERGE at a601a4f
Checked: The power-off path darkens the display DART and lowers FE/CPU before disabling the PMC interface. It keeps SYS up on a PMC error and still checks CPU-off. Power-on raises SYS and restores PMC before touching FE/CPU. An exact-function host check passed normal sequencing, failed PMC restore with FE/CPU held off, and failed PMC-off plus CPU timeout latching out a restart. The forward merge keeps PMC preflight ahead of the external disconnect. The final stub is confined to the external-idle host fixture, which passed. The exact J713 receipt covers four internal DPMS cycles, s2idle and committed deep sleep. Apple build, host tests and PMGR KUnit are green. The display KUnit job is still running.
|
Local checks for
Commandspython3 tools/testing/kunit/kunit.py build --arch=arm64 --jobs=8 \
--make_options LLVM=1 --make_options 'CC=ccache clang' \
--make_options "BINDGEN=$bindgen" --build_dir="$arm64_out" \
--kunitconfig=drivers/soc/apple/clpc.kunitconfig \
--kunitconfig=drivers/gpu/drm/apple/tests/.kunitconfig \
--kunitconfig=drivers/gpu/drm/apple/tests/topology.kunitconfig \
--kunitconfig=drivers/gpu/drm/apple/tests/display.kunitconfig
python3 tools/testing/kunit/kunit.py run --arch=um --jobs=8 \
--build_dir="$uml_out" --kunitconfig="$dcp_uml"
python3 tools/testing/kunit/kunit.py run --arch=um --jobs=8 \
--build_dir="$uml_out" --kunitconfig="$dcp_uml" \
--kunitconfig="$pmc_uml" 'apple-pmc*'
# Repeat on main with filter apple-pmc.apple_pmc_test_dcs_floor.
for suite in clpc dcp-s2r-ext-idle apple-dcp; do
CC=clang HOSTCC=clang python3 tools/asahi/run-host-tests.py --jobs 4 --only "$suite"
done
Tested on J713 at the same head: 4/4 internal DPMS cycles, s2idle, and committed deep suspend passed. External DPMS remains open. |
sithglan
left a comment
There was a problem hiding this comment.
Verdict: MERGE at a601a4f903c0b8792ebee4a9b0ceddeea016d0a7
Blockers: none (once KUnit finishes green)
Checked:
- Reviewed
drivers/pmdomain/apple/pmc.c& KUnit test:apple_pmc_interface_consumer_set(dom, true)rolls backboost_enableon abwr_enablewrite failure, andapple_pmc_interface_consumer_state()cleanly distinguishes off (-EALREADY) from split/dirty hardware state (-EIO) whenconsumer_offis set. - Reviewed
drivers/gpu/drm/apple/dcp.c(dcp_s2r_pmc_preflight,dcp_s2r_domains_off,dcp_s2r_domains_on,dcp_s2r_domains_on_rollback,dcp_s2r_start_stuck):- Preflight runs before firmware stop on both internal and external suspend paths.
- Power-off polls
DISP_FEoff before disabling the PMC interface and never lowersDISP_SYSunless the PMC interface is confirmed off or absent; partial failures keepDISP_SYSup, tracks2r_pmc_restore, and marks2r_start_stuckifDISP_CPUfails to power off. - Power-on polls
DISP_SYSon before re-enabling the PMC interface, unwinds cleanly viadcp_s2r_domains_on_rollback()on aDISP_CPUbring-up failure, and latchess2r_start_stuckif rollback leaves domains up.
- Reviewed the head commit
a601a4f903c0(tools/asahi/dcp-s2r-ext-idle-tests.py): clean 1-line stub fordcp_s2r_pmc_preflight()matching the external idle fixture's other dependency stubs. - Checked CI (
apple-build,host-tests,KUnit pmgr-pwrstate,readiness,pr-textall green) and Ryan's exact-head J713 internal-panel DPMS + s2idle + deep-sleep PASS receipt.
What: Wire consumer PMC BWR/boost interface preflight, clear, and restore into direct-MMIO display-domain S2R transitions (
dcp_s2r_domains_{off,on}()) in hardware power-domain order (CPU -> FE -> PMC -> SYSon off;SYS -> PMC -> FE -> CPUon resume), roll back boost enables and verify hardware enable bits on PMC restore failures, track pending PMC restoration separately from confirmed hardware-off state, keepDISP_SYSup and still pollDISP_CPUoff across PMC-off failures (latchings2r_start_stuckon timeout), keepdpms_powered_offarmed until restart succeeds, drain both display and DCP DARTs before lowering domains, and latchs2r_start_stuckacross both internal and external S2R paths (bde2a1d9743f..a37ced381725); builds on#3297(now onmain).Tested: J713 (T8132, firmware 27.2) at
a601a4f903c0: internal DPMS 4/4, s2idle and committed deep suspend passed, with no PMC or DART errors. Hardware receipt. Apple build, host tests and the PMGR power-state KUnit job passed at this head. On the merge tree with main536a613c0abe, all four grouped KUnit configs built for arm64, 128 DCP cases passed under UML, and 117 affected host checks passed.Risk: two-way door · Apple SoCs using direct-MMIO display-domain S2R/DPMS power-gating (
dcp_s2r_domains_{off,on}()) and consumer-switched PMC display-pipe interfaces (apple_pmc_interface_consumer_*()).Not yet: External DPMS and the external-pipe PMC interface on J713 with a dock, plus external DCP on firmware 26.6.2. T6050 hardware coverage and hardware fault-injection coverage for power-on rollback and DART drain remain open.
Details
#3297(merged tomainin645b086d9989). Targetsmain;git merge-tree --write-tree origin/main a37ced381725is clean (922512a6262c6c3b177b252a1e8a6bc0d25df135).dcp_s2r_pmc_preflight()indcp_s2r_suspend()anddcp_s2r_ext_suspend()before stopping firmware or disrupting presentation, so an unavailable PMC provider orCONFIG_APPLE_PMC=non a configured pipe refuses cleanly instead of stranding a stopped firmware during refused-sleep recovery.6a84c1d95460):dcp_s2r_domains_off(): preflights PMC before darkening DART or lowering PMGR, lowersDISP_CPUandDISP_FE, pollsDISP_FEoff, clears PMC interface enables (recordings2r_pmc_off), then lowersDISP_SYSand pollsDISP_CPUoff.dcp_s2r_domains_on(): raisesDISP_SYSand pollsDISP_SYSon whens2r_pmc_offis set, restores PMC interface enables before raisingDISP_FEandDISP_CPU(aborting before settings2r_domains_upif restore fails), then raisesDISP_FEandDISP_CPU.4b09f0691c2d,597803b9d48b,bde2a1d9743f,f29b4f2d9f48):dcp_dpms_power_on()keepsdpms_powered_offarmed whens2r_fw_downis true untildcp_s2r_display_on()succeeds.dcp_s2r_display_on()returns-ETIMEDOUTwhen D572 completion times out, unwinding throughdcp_s2r_unwind_failed_start()so the next unblank retries cleanly.dcp_s2r_unwind_failed_start()drains the display DART (dcp_s2r_disp_streams_off()) beforedcp_s2r_stop_streams()anddcp_s2r_domains_off(), and latchess2r_start_stuckwithcrashed = trueif either drain or domain power-off fails sodcp_s2r_warm_restart()refuses to restart over domains left powered on.b43e08447acd,241b8646ccdf,e21f17ce0577,fbdf48f794c2,224e82ed0a8f,3124f5f5237e,a37ced381725):DISP_CPUtimes out indcp_s2r_domains_on(),dcp_s2r_domains_on_rollback()lowers the PMC word,DISP_CPU, andDISP_FE, turns off any PMC interface raised during that power-on, lowersDISP_SYSonly if the PMC interface is off or absent (keepingDISP_SYSup if an existing PMC interface remains on), and pollsDISP_CPUoff. If rollback fails,dcp_s2r_domains_on()latchesdcp_s2r_start_stuck().apple_pmc_interface_consumer_set()restores the priorboost_enablebit if writingbwr_enablefails on power-on, andapple_pmc_interface_consumer_check()checks both hardware enable bits before returning-EALREADY.dcp_s2r_pmc_on()fails indcp_s2r_domains_on(),dcp_s2r_domains_on()checks the PMC interface state (tryingdcp_s2r_pmc_off()if active) and keepsDISP_SYSup while latchingdcp_s2r_start_stuck()unless the interface is confirmed off or absent.dcp_s2r_ext_start(),dcp_s2r_ext_cycle(),dcp_s2r_refused_domains_off(),dcp_s2r_domains_off(), anddcp_s2r_domains_on()checks2r_start_stuckbefore clearingcrashedor touching hardware.CONFIG_APPLE_PMC=nfallback: Tracks confirmed hardware-off state (s2r_pmc_off) separately from pending PMC restoration (s2r_pmc_restore). Ifapple_pmc_interface_consumer_off()fails after loweringDISP_CPU/DISP_FE, checks and restores PMC on-EALREADY; if clearing BWR and rolling back boost both fail (-EIOcheck), keepss2r_pmc_offclear (leavingDISP_SYSup) while settings2r_pmc_restoreso the nextdcp_s2r_domains_on()must successfully restore PMC before raisingDISP_FEorDISP_CPU. Across alldcp_s2r_pmc_off()failures (including failed restoration or-EIOstate check),dcp_s2r_domains_off()keepsDISP_SYSup, still pollsDISP_CPUoff, and latchesdcp_s2r_start_stuck()if that poll times out so a later unblank cannot restore PMC and requestDISP_CPUon before the CPU has power-cycled. Treats-ENODEV(and-EOPNOTSUPPwith no configured DT PMC interface) as an absent optional interface.git revert -m 1 <merge-commit>onmain; kernel driver and KUnit changes only.Evidence
a37ced381725:./scripts/checkpatch.pl --strict --git e21f17ce05770d3b685c02a8e8468c147958a4b3..HEAD:0errors,0warnings,0checks acrossfbdf48f794c2(148lines),224e82ed0a8f(213lines),3124f5f5237e(241lines), anda37ced381725(177lines).git merge-tree --write-tree origin/main HEAD(8616760ed646): clean (922512a6262c6c3b177b252a1e8a6bc0d25df135).make ARCH=arm64 LLVM=1 W=1 drivers/gpu/drm/apple/dcp.o drivers/pmdomain/apple/pmc.o(defconfig+asahi.config,CONFIG_RUSTdisabled locally):0errors (dcp.o0warnings;pmc.o0new warnings,14pre-existing kernel-doc warnings onapple_pmc_domain)../tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1 --kunitconfig=drivers/gpu/drm/apple/tests/display.kunitconfig:Ran 205 tests: passed: 204, skipped: 1(apple-dcp-s2r-pmc24/24passed, covering DPMS retry, D572 timeout, display DART drain,s2r_start_stuck, prewarm unwind, CPU timeout rollback, PMC restore failure SYS retention/latch, stuck external start/cycle refusal, faileddomains_offrollback followed by unblank restore/blocking, andDISP_CPUoff timeout on PMC-off failure blocking restart;1skippedapple_g17_rx_util_min_test, needsCONFIG_UCLAMP_TASK)../tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1(CONFIG_APPLE_PMC=y,CONFIG_APPLE_PMC_KUNIT_TEST=y):Ran 18 tests: passed: 18(apple-pmc18/18passed, includingapple_pmc_test_interface_consumer_on_stuck).3124f5f5237e(prior toa37ced381725ondcp.c/dcp_s2r_pmc_test.c):./tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1 --kunitconfig=drivers/gpu/drm/apple/tests/topology.kunitconfig:Ran 211 tests: passed: 210, skipped: 1(1skippedapple_g17_rx_util_min_test, needsCONFIG_UCLAMP_TASK)../tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1 --kunitconfig=drivers/pmdomain/apple/.kunitconfig.pmgr-pwrstate:Ran 30 tests: passed: 30(apple-pmgr-pwrstate30/30passed).python3 tools/asahi/run-host-tests.py:837/838passed (apple-dcp84/99ok with the15pre-existing unrelated TAP failures).a37ced381725):M1 Air,T8103, G13G, firmware27.2, default cmdline, one-shot Stage 2 + GRUB): PASS (unaffected smoke row:T8103display pipes use no PMC interface) in composite807c3bbf2263(origin/maind3de772ac0c1+#3507,#3332,#3850,#3359,#3334+#3410,#3300a37ced381725,#3289): clean boot (0Oops/BUG/WARNING/SError/Call trace;err+lines subset of default kernel;speakerguardd-v2-switchtest.servicefailed identically on a separate#3321build without#3359, not attributed to#3300),>= 7internaleDP-1DPMS off/on cycles (backlight 0 -> 130, plusDP-2DPMS when docked), and3/3docked deep S2R PASS (rtcwake -d /dev/rtc1 -m mem -s 20,suspend_statsfail 0, 16 MB RAM integrity PASS, pre/post-sleepcompute-checkandrender-checkPASS; software-undockeds2idlehung and is tracked under#3334).M4 Air,T8132,27.2firmware): composite25e08d2ee142(origin/maind3de772ac0c1+#3717,#3273,#3289,#3300a37ced381725,#3359,#3409) built cleanly (kb run -p linux-j713,352 s, exit0,CONFIG_DRM_APPLE_DCP_T8132=y); hardware pass not run whileJ713is off-network.M5 Max,T6050,27.2firmware): standalone#3300(a37ced381725) built cleanly (kb run -p linux-j716c), not yet booted (excluded from theJ716ccomposite due to a six-hunkdcp_s2r_domains_off()merge conflict with#3398, and theJ716cpass stopped on the composite'ss2idlenon-wake before booting the standalone build).e21f17ce0577:Apple build and KUnit(apple-build,KUnit plan,KUnit dcp-fabric dcp-topology dcp-display): PASS (https://github.com/aurora-silicon/linux/actions/runs/46799385083).Host tests(host-tests): PASS (https://github.com/aurora-silicon/linux/actions/runs/46799385403).pr-textandpr-readiness: PASS.241b8646ccdf, composite with#32970378182e01b8, prior toe21f17ce0577..a37ced381725): J713 (M4 MacBook Air, T8132, 27.2 firmware, default command line): Linux 7.3.0 built from429e7e15f122with0378182e01b8and241b8646ccdf(plus five other open PR heads) merged cleanly, one-shot Stage 2 with that tree's devicetree: boots with0failed units and0AppArmor denials; 4 internal-panel DPMS off/on cycles (each off returnsdpmsStatusfalse, each on re-initialises the DCP firmware and returns true), a 20 ss2idlecycle (PM: suspend entry (s2idle)toPM: suspend exit,suspend_statsfail0), a 25 s deep suspend/resume (PM: suspend entry (deep)toPM: suspend exit, no reset,fail0) and 4 more DPMS cycles after resume, withisp,vencandavddomainsoff-0anddispext*/pmc-dispext*-interfacedomainsonafterwards. The external display processors did not probe in this build (-ENODEV, "no IOMMU domain";maindoes not carry the dock-display stack, and that stack conflicts with these two PRs), so the external-pipe consumer chain (dispext{0,1}_cpu -> _fe -> pmc-dispext{0,1}-interface) and the failure paths (power-on rollback, display DART drain unwind,s2r_start_stuck) were not exercised on hardware; those are covered by KUnit only.4b09f0691c2d(prior to597803b9d48b..a37ced381725and#3307merge):27.2firmware, default cmdline +panic=10, candidate37edba02c535): clean boot (0failed units,0AppArmor denials, same 3errlines as default), 3+3eDP-1DPMS off/on cycles before and after deep sleep, 20 ss2idlePASS (PM: suspend exit), and full hardwaredeepsleep resume PASS (no reset; allisp,venc, andavd_sysdomainsoff-0,dispext*anddisp_*on).3840x2160@120external display ondcpext, default cmdline, default Stage 21.0.0b17-gf5ddfff2, fleet candidate5509a254a6bd): boots cleanly, 3 DPMS off/on cycles ofeDP-1and external output, 2 deep sleeps ands2idleunaffected,0failed units,0AppArmor denials (unaffected row: T8103 display pipes use no PMC interface; one earlier full run hung ins2idleand did not reproduce on later runs or without#3329/#3332).3e4078f656d5): boots cleanly to SDDM/Hyprland (eDP-13456x2234@120), Borealis GPU (7,940/7,940dEQP-VK.ssbo.*Pass,0GPU faults),2xDPMS off/on cycles,0new failed units,0LSM denials,0new kernel errors — unaffected.6a84c1d95460(j713-dcpext/air-dcpext-2727a8022a6d24d+#32972b1bab104938+#33006a84c1d95460+#3307eab8b5157340+#330805d728d91d68):286e00000.dcpand48ae00000.dcppowered domains off in 1 ms, completedpm_test=devicesdeep suspend/resume and refused-sleep power-cycle recovery, and re-gated 5 s after resume with0errors/warnings.