Repository navigation
Conversation
Power off unattached Type-C-only firmware-27 external display processors (dcpext) after 5 seconds of inactivity once no Type-C route, cable, display connector, or Type-C background work is active. Use an explicit idle state machine (ON, OFF, FAILED, CLOSED) serialized under ext_idle_lock strictly inside dcp_typec_fabric_lock and scoped to idle-capable pipelines: - dcp_ext_idle_wake() never blocks on cancel_delayed_work_sync() while holding fabric locks, and dcp_ext_idle_off_work() checks pending Type-C work non-blockingly under hpd_mutex without calling dcp_disable_typec_work(), avoiding fabric/worker lock inversions and workqueue disable-depth imbalance. - Poll iomfb_channels_idle() after A500 instead of an unconditional sleep, restore admission on pre-send A500 allocation failure (-ENOMEM), abort before cutting power if quiescence or DART stream shutdown fails, recover only domain power-off failures via dcp_s2r_ext_cycle(), latch FAILED across subsequent wake attempts and dcp_poweron(), and reconcile state on a successful sleep restart. - Initialize ext_idle state early at probe, close admission (waking an idle-gated pipe before unbind/remove tears down resources) on component unbind, platform remove, and shutdown, and wake an idle-gated pipe before system suspend so DART PM never accesses registers while the display domains are powered off, re-arming the idle timer on resume. On main, this remains gated by dcp_s2r_ext_capable() (currently requiring s2r_ext and s2r_untested on firmware-27 external processors) until J713 v27.2 external display support lands. Signed-off-by: Erik Bourget <[email protected]>
…in' into feat/dcp-v27-ext-idle-off # Conflicts: # drivers/gpu/drm/apple/dcp.c
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
dcp_push() now delegates to dcp_push_try() in iomfb.c, so extract dcp_push_try() alongside dcp_push() in tools/asahi/dcpext26-startup-tests.py. Signed-off-by: Erik Bourget <[email protected]>
|
Fixed the
Verified at
|
There was a problem hiding this comment.
Verdict: FINISH, then merge at 8dfc3f87
Blockers:
- Hosted CI is not yet complete at
8dfc3f87(readinesswas cancelled and KUnit suites fromasahionward are still queued; wait for all checks to finish green). - External Type-C/Thunderbolt display hot-plug verification after an external DCP has been powered off idle is still needed (carried forward from the review on closed #3308), and confirm default-command-line behavior without
appledrm.s2r_untested=1on the targeted boards (note companion PRs #2673/#3297/#3300 for J713).
Checked: PR body and commit delta (8dfc3f87 only extracts dcp_push_try in tools/asahi/dcpext26-startup-tests.py, leaving driver files identical to 944b0ba7 reviewed on #3308), no AI attribution, human Signed-off-by, apple-build/host-tests/kunit/pr-text status.
Evidence
8dfc3f87fixes thedcpext26-startup-testsstructural failure without changing any kernel C file relative to944b0ba7.apple-build,host-tests,kunit,pr-text, andKUnit ane-boot/ane-pm/dcp-fabric/dcp-topologyPASS at8dfc3f87;readinesswas cancelled and remaining KUnit jobs are queued.- Carrying forward the remaining gates noted on #3308 (full green CI + real external Type-C/TB hotplug after idle power-off).
|
CI at To help close Blocker #2 from review, I have an M5 Air (J813 / T8142, fw 27.2) and an M1 Air (J313 / T8103, fw 27.2.1) here with a physical USB-C DisplayPort monitor (EIZO) and Thunderbolt NVMe enclosure. If an exact-head |
|
Ran physical USB-C display (EIZO
|
…-off Signed-off-by: Erik Bourget <[email protected]>
External display processors whose display DART shares the coprocessor power domain (s2r_disp_dart_with_dcp) require T8020 dark-DART state saving, post-restore wake ordering, and layout-wide domain-off tracking before runtime idle power-gating can safely power-cycle the display DART. Keep dcp_ext_idle_capable() false when s2r_disp_dart_with_dcp is set so system suspend continues to work on main while runtime idle-off remains gated on dark-DART wake support, and add a KUnit test covering the capability gate. Signed-off-by: Erik Bourget <[email protected]>
|
Added commit
Verified at
Hardware status & open items:
|
There was a problem hiding this comment.
Verdict: FINISH at 38c26d8
The power-domain capability gate keeps runtime idle-off disabled for coupled display DARTs while preserving system sleep. The new KUnit exercises both sides of that gate. The prior J313 hot-plug is from the stacked series; the standalone revision needs default-command-line hot-plug on an eligible pipeline, unaffected coupled-pipeline smoke, and current hosted CI. Keep the two dependent branches coordinated before landing.
Signed-off-by: Erik Bourget <[email protected]>
There was a problem hiding this comment.
Verdict: HOLD at c4797d399ba0
Blockers:
- Hosted CI at
c4797d399ba0is still queued (1passed,0failed,20queued/in-progress). Note thatc4797d39mergedmainat94104a69(just before#3672/ae5505befixed theapple-dcpprobe-transaction-rollbackhost test onmain), sohost-testsmay report that pre-existingmainfailure unless merged forward pastae5505be. - Standalone exact-head hardware verification on the default command line (external Type-C display hot-plug wake after idle-off on a non-coupled pipeline plus confirming coupled
s2r_disp_dart_with_dcppipelines remain disabled without#3334, as noted in the prior38c26d8areview) is still pending.
Checked:
- Forward-merge
c4797d399ba0(38c26d8a+origin/main94104a69): verified clean conflict-free integration across all 12 PR files with humanSigned-off-byandMERGEABLEstatus onmain. - Verified
dcp.c,dcp-fabric.c,dcp-internal.h, anddcp-firmware-test.c:!dcp->hw.s2r_disp_dart_with_dcpcapability guard indcp_ext_idle_capable(),dcp_ext_idle_s2r_disp_dart_gateKUnit coverage,dcp_ext_idle_close(dcp, false)beforedcp_comp_unbind()on shutdown, anddcp_ext_idle_wake()/dcp_ext_idle_kick()hooks indcp_typec_route_activate()/deactivate()survive intact. - Verified
iomfb.c/iomfb_template.c(dcp_push_try()+iomfb_s2r_500()refcount cleanup) and all four host-test harnesses (backlight-coldboot-tests.py,dcpext26-startup-tests.py,lifecycle.py,quiesce.py); no Apple material or AI attribution.
Evidence
- Head:
c4797d399ba023bd6c22a50c8b5caab6b1c80a2d(base: main,MERGEABLE,+515/-20, 12 files, 7 commits). - Merge parents:
38c26d8a+94104a69.
Hardware test row: J813 (13-inch M5 MacBook Air, T8142, fw 27.2) at exact head
|
There was a problem hiding this comment.
Verdict: CHANGES_REQUESTED at c4797d39
Blockers:
- Hardware regression on unplugged
dcp-dp-audioPCM open (J813, M5 MacBook Air,T8142, fw27.2atc4797d399ba0): Afterdcpext0(506e00000.dcp) anddcpext1(3aae00000.dcp) power down at idle (loweringDISPEXT0_SYS/DISPEXT1_SYS), PipeWire/WirePlumber's initial unplugged probe of/dev/snd/pcmC0D0pand/dev/snd/pcmC1D0pentersdcp_pcm_open()->dcpaud_init_dma()->admac_alloc_chan_resources()->pm_runtime_resume_and_get()forps_dispext0_adma/ps_dispext1_adma. Both PMGR power-state transitions fail (0xb4f) anddcp_pcm_open()returns-ENODEV (-19), which causes PipeWire/PulseAudio to permanently drop the external DP audio outputs. Either deferdcpaud_init_dma()indcp_pcm_open()when!dcpaud->connectedor wake the parentDISPEXT*_SYSdomain around external DP audio DMA channel setup, and re-verify unplugged PCM open + hotplug playback on J813. - T8142 hotplug/active-display proof still pending: Re-test on J813 once the unplugged DP audio open regression is fixed, covering both unplugged
pcmC*D0popen afterdcpext*idle-off and external DP display + audio wake/playback.
Checked:
- Confirmed
CI=24P/0F/0Qis green atc4797d39. - Reviewed the J813 exact-head
c4797d399ba0failure report showingapple-pmgr-pwrstatePS dispext0_adma(@420) andPS dispext1_adma(@3b0) failing withnow: 0xb4ffollowed bydcp-dp-audio audio-controller-{1,2}: audio TX DMA channel request failed: -19.
Evidence
- J813 (
T8142, fw 27.2) exact-headc4797d399ba0hardware test comment (2026-11-30T21:27:35Z):dcpext0/dcpext1idled off cleanly (0new mailbox IRQs over 10 s, internaleDP-1lit).- Unplugged
open("/dev/snd/pcmC0D0p", O_WRONLY|O_NONBLOCK)and PipeWire probe att = 22.46 sfailed with-ENODEV (-19)becauseps_dispext0_adma/ps_dispext1_admasit under powered-downDISPEXT0_SYS/DISPEXT1_SYS.
There was a problem hiding this comment.
Verdict: REQUEST CHANGES at 5f747ff0c727
Blockers:
- Unfixed J813 unplugged
dcp-dp-audioPCM open regression (reported atc4797d399ba0): Commit5f747ff0c727merges#3289(feat/dcp-v27-idle-cache) cleanly, but does not yet fix the J813 (T8142, fw 27.2) regression where PipeWire/WirePlumber's unplugged probe of/dev/snd/pcmC0D0p/pcmC0D1pafterdcpext0/dcpext1idle power-off fails with-ENODEV/ PMGR errors (0xb4f). Please gate/handledcp-dp-audioPCM open while the external DCP is powered off at idle and re-verify on J813. - Queued hosted CI at
5f747ff0c727(22jobs queued): wait forapple-build,host-tests,pr-text,readiness, and KUnit suites to complete green once the regression is fixed.
Checked:
- Audited merge commit
5f747ff0c727(MERGEABLEagainstmain): cleanly combines#3289's internal idle-cache fields anddcp_push_context(..., unwind_on_err)KUnit wrapper with#3410's external idle-off state (dcp_push_try()passesfalse).
Evidence
- Head:
5f747ff0c727092223e691af72ebf1da9bd88c04(basemain,MERGEABLE). - Status checks at review time: 22 queued, 4 skipped, 0 failed.
5f747ff to
c4797d3
Compare
Signed-off-by: Erik Bourget <[email protected]>
When an external DisplayPort pipeline powers off at idle, the ADMA power domain in the same display power island turns off too. Probing the ALSA PCM device while unplugged then fails of_dma_request_slave_channel() when ADMAC tries to runtime-resume that power domain. Defer ADMA channel setup on unplugged PCM opens using a vmalloc void buffer fallback (SNDRV_DMA_TYPE_VMALLOC), and wake/pin any idle-capable external DCP across open DMA-backed PCM lifetimes so runtime idle-off cannot drop ADMAC's power domain while a stream is open or before its TX DMA channel is released on close or open error. Signed-off-by: Erik Bourget <[email protected]>
|
Merged live
Verified offline at Prior J713 (M4 MacBook Air, |
DjDeveloperr
left a comment
There was a problem hiding this comment.
The new idle-wake and re-arm calls in drivers/gpu/drm/apple/dcp-fabric.c break the host fixture that extracts dcp_typec_route_activate(). At f39fdeec, dcp-tunnel-prepare-tests.py fails to compile because dcp_ext_idle_wake() and dcp_ext_idle_kick() have no stubs. Please update that fixture and verify the normal and mutation runs. The J813 unplugged DP-audio PCM open should also be rerun on this head to verify the earlier regression fix.
Signed-off-by: DjDeveloperr <[email protected]>
|
We carry this PR in our J313 (M1 Air, T8103), J713 (M4 Air, T8132), and J716c (M5 Max, T6050) daily kernels. Unattached Type-C-only firmware-27 external display processors ( Running smoothly across all three daily kernels: directly on J713, on J313 with stacked #3334 enabling |
What: Power off unattached Type-C-only firmware-27 external display processors (
dcpext) after 5 seconds of inactivity once no route, cable, display connector, active open DP-audio DMA stream, or Type-C work is active, waking synchronously on attach, DP-audio DMA setup, or system suspend. Defer ADMA channel setup on unpluggeddcp-dp-audioPCM opens with a vmalloc void buffer fallback and pin idle-capable external DCPs across open DMA-backed PCM lifetimes so probing/dev/snd/pcm*whileDISPEXT*_SYSis powered off does not fail-ENODEV(0xb4f).Tested: At current head
f39fdeec3e43(withorigin/main41ab8f546874merged atc53590aa9533, re-applyingfeef88606c29):ARCH=arm64 LLVM=1 W=1 KCFLAGS="-Werror"object builds (audio.o,av.o,dcp.o,dcp-fabric.o,iomfb.o,iomfb_v27.o,iomfb_h17p.o,iomfb_v26_6_desktop.o),checkpatch.pl --strict --git origin/main..HEAD(0errors,0warnings,0checks), andgit diff --check origin/main..HEAD(0issues) pass.drivers/gpu/drm/apple/tests/display.kunitconfig(191run:190passed,1skippedapple_g17_rx_util_min_testneedingCONFIG_UCLAMP_TASK, includingapple-dcp-firmware7/7:dcp_ext_idle_s2r_disp_dart_gateanddcp_ext_idle_audio_dma_pin),display.kunitconfigwithCONFIG_SOUND=y+CONFIG_SND=y(277run:275passed,2skipped, includingapple-dcpaud-legacy10/10:dcpaud_legacy_unplugged_void_buffer,dcpaud_legacy_unplugged_hotplug_managed_buffer),drivers/gpu/drm/apple/tests/topology.kunitconfig(217run:216passed,1skipped), anddrivers/gpu/drm/apple/tests/.kunitconfig(117/117passed).dcpaudhost suite (20/20passed includingdcpaud-open-fallback-tests+10/10mutants killed anddcpaud-sleep-hold-tests),darthost suite (24/24passed),dcpext26-startup-tests.py+--mutants(PASS),backlight-coldboot-tests.py(PASS),display-sleep-merge-tests.py(17/17passed), andselftests/drivers/gpu/apple-dcp/run.py --group audio(2/2passed).Prior rows (predate the
41ab8f546874merge atc53590aa9533/f39fdeec3e43):T8132, 27.2 firmware, default command line) atfeef88606c29(429e7e15f122merged, before#2673merged): unaffected-mainsmoke passes: boots with0failed units (system and user),0AppArmor denials,0oops/WARN,eDP-12560x1664@60enabled,3internal-panel DPMS off/on cycles and one 15 ss2idleclean; kernelerrlines are the 3 on the default boot plus 2 from the external display processors, which did not probe on429e7e15f122(-ENODEV, "no IOMMU domain"). That tree had nodcp-dp-audioPCM (aplay -llists only the jack and speaker cards), so the unplugged DP-audio PCM open /hw_params/hw_free/closepath was not exercised on J713; it is covered by KUnit and the host suite above and needs a Mac with a probed external display processor (J813, or refreshed J713 on41ab8f546874with#2673now merged).T6050) atc4797d399ba0with#3398+#3662: TS5 dock with two 3840x2160 displays, 30 s deep sleep resume clean.T8103) USB-C hot-plug pass on stacked#3334(93c1460e0500), J813 (T8142,appledrm.s2r_untested=1) deep-sleep pass at944b0ba788d2(later failed unplugged DP-audio probe atc4797d399ba0), and J713 (T8132) combined trial build (05d728d91d68+ companion PRs#2673,#3297,#3300).Risk: two-way door · Type-C-only firmware-27 external display processors with driver-profile
s2r_ext,!s2r_disp_dart_with_dcp, DTapple,display-power, anddcp-dp-audioPCM opens (apple_dcp_hw_t8142_dcpextwithappledrm.s2r_untested=1;apple_dcp_hw_t8132_dcpext_v27onmainvia#2673alongside#3297,#3300;apple_dcp_hw_t8103_dcpextkeeps runtime idle-off disabled via!s2r_disp_dart_with_dcpuntil#3334lands).Revert:
git revert -m 1 <merge_commit>onmain(or revertf39fdeec3e43,38c26d8a6b57,8dfc3f8783aa, and3daae875ba72in reverse order). Kernel driver and test changes only; no persistent on-disk, ESP, Stage 2, or DT state is modified.Not yet:
f39fdeec3e43:T8142, fw27.2,appledrm.s2r_untested=1) unpluggeddcp-dp-audioPCM probe after idle-off (PipeWire/WirePlumbercold boot), physical USB-C hot-plug DP audio + display playback, unplug, re-gate, and default-command-line T8142 qualification (hardware not on site; failed atc4797d399ba0).T6050) unaffectedmainsmoke and docked hot-plug/deep sleep.T8132, now with#2673onmain, and combined with#3297+#3300) refreshed smoke + external DCP idle-off/S2R/hotplug wake + DP audio row atf39fdeec3e43.T8103) unaffectedmainsmoke (runtime idle-off ons2r_disp_dart_with_dcpremains disabled in#3410until stacked#3334lands).f39fdeec3e43; stacked PRs#3334and#3398must be retargeted tomainbefore#3410merges.Details
Replaces #3308 targeting
main(origin/main41ab8f546874merged atc53590aa9533). Four PR commits (3daae875ba72,8dfc3f8783aa,38c26d8a6b57,f39fdeec3e43):DCP_EXT_IDLE_ON,OFF,FAILED,CLOSED) underext_idle_lockstrictly inner todcp_typec_fabric_lock, scoped todcp_ext_idle_capable(dcp)pipelines (dcp_s2r_ext_capable(),!dcp->hw.s2r_disp_dart_with_dcp,DCP_FIRMWARE_V_27_0,DRM_MODE_CONNECTOR_USB,!hdmi_hpd).dcp_ext_idle_capable()false whendcp->hw.s2r_disp_dart_with_dcpis set (38c26d8a6b57) so landing#3410alone onmainnever triggers T8020 dark-DART power-gating without#3334's fixes, while preservingdcp_s2r_ext_capable()for system sleep.origin/main(41ab8f546874) inc53590aa9533: preserves bothdcp_ext_idle_kick(dcp)andfixed_deselected = trueonmux_control_deselect()indcp-fabric.c, and preservesdcp_ext_idle_suspend()ahead of the firmware-27 deep-sleep refusal for external processors without a stop indcp.c.dcp-dp-audioADMA channel request and DMAengine setup (f39fdeec3e43) whendcp_pcm_open()opens while disconnected (open_unplugged = !dcpaud->connected), movingsnd_pcm_set_managed_buffer()out ofdcpaud_init_dma()(whichdcpaud_before_modeset()can invoke mid-open on hotplug) into the plugged DMA-backed path ofdcp_pcm_open()somanaged_buffer_allocis never armed while an unplugged PCM is open. Unplugged streams use aSNDRV_DMA_TYPE_VMALLOCvoid-playback buffer fallback (dcpaud_alloc_void_buffer()/dcpaud_free_void_buffer(), tracking the exact allocatedvoid_dmabpointer and freeing it symmetrically viasnd_dma_free_pages()+kfree(dmab)onhw_free,hw_paramsreallocation, andclosewithout callingsnd_pcm_lib_free_pages()and detaching the runtime buffer only whenruntime->dma_buffer_p == dmab) and integer period constraint so probing/dev/snd/pcm*whenDISPEXT*_SYSis powered off does not resumeps_dispext*_admaor wake an idle DCP.dcp_pcm_open()opens plugged (DMA-backed),dcp_audio_dma_get(dcp_dev)wakes any idle-gated parent external DCP and incrementsdcp->ext_idle_audio_usersunderext_idle_lock(gatingdcp_ext_idle_eligible()). Plugged opens on an external DCP whose idle state latchedDCP_EXT_IDLE_FAILEDreturnext_idle_err(or-EIOif unset). On open failure after channel acquisition or on PCM close, DMA is released (dcpaud_release_dma(), ordcpaud_release_dma_locked()insidedcp_pcm_native_close()/dcp_pcm_native_open()error cleanup) beforedcp_audio_dma_put(dcp_dev)drops the pin and re-kicks idle power-off so unplugged PCM opens avoid requesting ADMAC channels and plugged streams hold the external DCP awake until their TX DMA channel is released. Non-apple_platform_drivertest devices safely no-op.ext_idle_pausedunderhpd_mutex, checks pending Type-C work non-blockingly, addsdcp_push_try(), darkens/drains display and DCP DARTs beforeA500, pollsiomfb_channels_idle()before RTKit stop, tracksext_idle_domains_off, and wakes idle-gated pipes on suspend or unbind.Evidence
f39fdeec3e43(origin/main41ab8f546874merged atc53590aa9533):git diff --check origin/main..HEAD—0issues../scripts/checkpatch.pl --strict --git origin/main..HEAD—0errors,0warnings,0checks across all 4 PR commits (3daae875ba72,8dfc3f8783aa,38c26d8a6b57,f39fdeec3e43).make O=_build ARCH=arm64 LLVM=1 W=1 KCFLAGS="-Werror" drivers/gpu/drm/apple/audio.o drivers/gpu/drm/apple/av.o drivers/gpu/drm/apple/dcp.o drivers/gpu/drm/apple/dcp-fabric.o drivers/gpu/drm/apple/iomfb.o drivers/gpu/drm/apple/iomfb_v27.o drivers/gpu/drm/apple/iomfb_h17p.o drivers/gpu/drm/apple/iomfb_v26_6_desktop.o(defconfig+asahi.config,CONFIG_RUST=n):0errors,0warnings../tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1 --kunitconfig=drivers/gpu/drm/apple/tests/display.kunitconfig:191run:190passed,1skipped (apple_g17_rx_util_min_testneedingCONFIG_UCLAMP_TASK), includingapple-dcp-firmware7/7(dcp_ext_idle_s2r_disp_dart_gate,dcp_ext_idle_audio_dma_pin)../tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1 --kunitconfig=drivers/gpu/drm/apple/tests/display.kunitconfig --kconfig_add CONFIG_SOUND=y --kconfig_add CONFIG_SND=y:277run:275passed,2skipped (apple_g17_rx_util_min_test,dcpaud_no_sio_test), includingapple-dcpaud-legacy10/10(dcpaud_legacy_unplugged_void_buffer,dcpaud_legacy_unplugged_hotplug_managed_buffer) andapple-dcp-firmware7/7../tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1 --kunitconfig=drivers/gpu/drm/apple/tests/topology.kunitconfig:217run:216passed,1skipped (apple_g17_rx_util_min_test)../tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1 --kunitconfig=drivers/gpu/drm/apple/tests/.kunitconfig:117/117passed (apple-dcp-fabric).python3 -I tools/asahi/run-host-tests.py --only dcpaud:20/20passed (dcpaud-open-fallback-tests+10/10mutants killed:no-retry,wait-any,gone-fails,keep-cookie,mask-all,drop-put-dma,void-lib-free,void-alloc-lib-free,managed-in-init-dma,void-free-runtime-dmab;dcpaud-sleep-hold-tests+ 7 mutants + ref).python3 -I tools/asahi/run-host-tests.py --only dart:24/24passed.python3 -I tools/asahi/dcpext26-startup-tests.pyand--mutants: PASS.python3 -I tools/asahi/backlight-coldboot-tests.py: PASS.python3 -I tools/asahi/display-sleep-merge-tests.py: PASS (17/17).python3 tools/testing/selftests/drivers/gpu/apple-dcp/run.py --group audio:2/2passed (compact-audio-reply-bounds,cec-only-av-endpoint).c53590aa9533/f39fdeec3e43):T8132, 27.2 firmware, default command line) atfeef88606c29(429e7e15f122merged): unaffected-mainsmoke passed (0failed units,0AppArmor denials,0oops/WARN,eDP-12560x1664@60, 3x DPMS, 15 ss2idleclean; external DCPs did not probe on429e7e15f122).T6050) atc4797d399ba0with#3398+#3662: TS5 dock with two 3840x2160 displays, both lit and survived 30 s deep sleep,0oopses.T8142, fw27.2,appledrm.s2r_untested=1) at944b0ba788d2:2xdeep sleep/resume clean (boot object resumes 0 -> 1 -> 2). Later atc4797d399ba0, PipeWire/WirePlumber's unplugged/dev/snd/pcmC*D0pprobe failedPS dispext0_adma/PS dispext1_adma(0xb4f->-ENODEV), whichf39fdeec3e43fixes.T8103, fw27.2.1) USB-C hot-plug pass on stacked#3334(93c1460e0500) and J713 (T8132) combined candidate (05d728d91d68+ companion PRs#2673,#3297,#3300).