sof/app
Peter Ujfalusi 557e581ca8 board: intel_adsp_ace15_mtpm: Drop CONFIG_DMA_DW_SUSPEND_DRAIN
The purpose of CONFIG_DMA_DW_SUSPEND_DRAIN is to empty the FIFO before
disabling the channel by draining it.
Since the peripheral is disabled before the DMA
(CONFIG_COMP_DAI_STOP_TRIGGER_ORDER_REVERSE is not selected), the DMA will
not be able to do that causing drain timeout.

The stop is used in two cases:
Stream stop:
the content of the FIFO does not matter as we stop the stream.

Pause/resume:
On pause the DMA is suspended (DW_CFGL_SUSPEND bit set)
On resume the DMA is stopped, re-configured and then started again instead
of resuming

The peripheral is started after the DMA stop and start.

Leftover audio data might cause audio glitch on resume, it is probably
better to disable the draining.

Note: if we want to have draining enabled we need to select the
CONFIG_COMP_DAI_STOP_TRIGGER_ORDER_REVERSE at the same time to force the
DMA to be stopped before the DAI.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
2024-02-09 19:25:40 +02:00
..
boards board: intel_adsp_ace15_mtpm: Drop CONFIG_DMA_DW_SUSPEND_DRAIN 2024-02-09 19:25:40 +02:00
overlays app: overlays: Add DTS support to MTL 2023-11-14 08:20:54 -08:00
src test: add boot-time ztest-based testing 2023-12-08 15:29:06 +02:00
CMakeLists.txt app/CMakeLists.txt: require cmake version 3.21.0 or above 2023-03-06 13:05:05 +02:00
debug_overlay.conf app: debug_overlay: enable CONFIG_DAI_VERBOSE_GLITCH_WARNINGS 2023-12-19 17:10:18 +00:00
logging_mipisystcat_overlay.conf app: add logging_mipisystcat_overlay.conf overlay config 2023-07-03 16:11:22 +01:00
perf_overlay.conf audio: perf: enable dsp clock for performance measurement 2023-10-18 15:57:55 +03:00
prj.conf app/prj.conf: stop forcing CONFIG_OUTPUT_DISASSEMBLY=y 2024-02-02 17:19:38 +02:00
sample.yaml app: fix filter in sample.yaml 2024-01-29 11:20:39 +02:00
stub_build_all_ipc3.conf app/stub*.conf: add CONFIG_SAMPLE_SMART_AMP=y 2023-11-02 12:49:08 +02:00
stub_build_all_ipc4.conf app/stub*.conf: add CONFIG_SAMPLE_SMART_AMP=y 2023-11-02 12:49:08 +02:00