linux/sound/soc
Jyri Sarha ca5ce0caa6
ASoC: SOF: ipc4/intel: Add support for chained DMA
Add logic for setting up and tearing down chained DMA connections.

Since pipelines are not used, all the logic to set the pipeline states
can be bypassed, with only the DMA programming sequences remaining. In
addition the same format needs to be used for host- and link-DMA,
without the usual fixup to use the S32_LE format on the link.

Note however that for convenience and compatibility with existing
definitions, the topology relies on the concept of pipelines with a
'USE_CHAIN_DMA' token indicating that all the logic shall be bypassed.

Unlike 'normal' ALSA sequences, the chain DMA is not programmed in
hw_params/hw_free. The IPC message to set-up and tear-down chained DMA
are sent in sof_ipc4_trigger_pipelines(), but the contents prepared
earlier.

Chained DMA is only supported by the Intel HDA DAI for now, and only
S16_LE and S32_LE formats are supported for now.

Signed-off-by: Jyri Sarha <jyri.sarha@intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230321092654.7292-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-21 12:13:31 +00:00
..
adi
amd ASoC: amd: vangogh: Add components prefix in structs and function names 2023-03-05 23:37:25 +00:00
apple ASoC: apple: mca: Improve handling of unavailable DMA channels 2023-02-24 16:31:20 +00:00
atmel ASoC: mchp-pdmc: avoid casting to/from void pointer 2023-03-05 23:37:45 +00:00
au1x
bcm
cirrus sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
codecs ASoC: mediatek: fix coverity problems 2023-03-13 19:06:05 +00:00
dwc
fsl ASoC: fsl: Specify driver name in ASoC card 2023-03-20 13:11:22 +00:00
generic ASoC: Use of_property_present() for testing DT property presence 2023-03-11 12:18:54 +00:00
hisilicon
img
intel ASoC: Intel: sof_rt5682: Enable Bluetooth offload on adl_rt1019_rt5682 2023-03-13 19:08:06 +00:00
jz4740
kirkwood ASoC: kirkwood: Iterate over array indexes instead of using pointer math 2023-01-28 10:51:05 +00:00
mediatek ASoC: mt8192: Move spammy messages to debug level 2023-03-14 13:30:20 +00:00
meson ASoC: meson: use helper function 2023-01-31 11:05:03 +00:00
mxs ASoC: Use of_property_present() for testing DT property presence 2023-03-11 12:18:54 +00:00
pxa - Daniel Verkamp has contributed a memfd series ("mm/memfd: add 2023-02-23 17:09:35 -08:00
qcom ASoC: Merge up fixes as a dependency for future SOF work 2023-03-13 14:07:37 +00:00
rockchip ASoC: rockchip: i2s: Add compatible for RK3588 2023-03-20 13:11:15 +00:00
samsung ASoC: Use of_property_present() for testing DT property presence 2023-03-11 12:18:54 +00:00
sh ASoC: Use of_property_read_bool() for boolean properties 2023-03-11 12:18:55 +00:00
sof ASoC: SOF: ipc4/intel: Add support for chained DMA 2023-03-21 12:13:31 +00:00
spear ASoC: spear: use helper function 2023-01-31 11:04:59 +00:00
sprd
sti
stm ASoC: Use of_property_present() for testing DT property presence 2023-03-11 12:18:54 +00:00
sunxi
tegra ASoC: tegra: Support MAX9808x by machine driver 2023-03-20 13:06:41 +00:00
ti sound updates for 6.3-rc1 2023-02-22 10:29:05 -08:00
uniphier
ux500 ASoC: ux500: remove stedma40 references 2023-01-20 12:05:57 +00:00
xilinx
xtensa
Kconfig
Makefile
soc-ac97.c ASoC: soc-ac97: Return correct error codes 2023-02-15 16:09:07 +00:00
soc-acpi.c
soc-card.c
soc-component.c ASoC: soc-component: add get_jack_type 2023-01-27 12:20:55 +00:00
soc-compress.c ASoC: soc-pcm.c: remove indirect runtime copy 2023-03-14 13:58:57 +00:00
soc-core.c ASoC: soc-core.c: remove useless dev_dbg() 2023-03-06 13:49:38 +00:00
soc-dai.c ASoC: soc-dai.c: add missing flag check at snd_soc_pcm_dai_probe() 2023-03-14 13:58:56 +00:00
soc-dapm.c ASoC: soc-dapm.c: use helper function 2023-01-31 11:05:08 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c ASoC: jack: allow multiple interrupt per gpio 2023-03-05 23:38:38 +00:00
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm.c: remove indirect runtime copy 2023-03-14 13:58:57 +00:00
soc-topology-test.c
soc-topology.c ASoC: Updates for v6.3 2023-02-16 14:32:04 +01:00
soc-utils-test.c
soc-utils.c