Skip to content

ASoC: SOF: ipc4/intel: Support for ChainDMA

Peter Ujfalusi alsa-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 4 repliesIn review
  2. v2 posting 1/23 patches 0 repliesSuperseded
  3. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Fix missed mutex unlocking in sof_ipc4_widget_free() Reported by Dan Carpenter (thank you!)

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: SOF: topology: Set pipeline widget before updating IPC structuressound/soc/sof/topology.c+24 -240 replies
2/3ASoC: SOF: ipc4: Add macros for chain-dma message bitsinclude/sound/sof/ipc4/header.h+29 -00 replies
3/3ASoC: SOF: ipc4/intel: Add support for chained DMAinclude/uapi/sound/sof/tokens.h sound/soc/sof/intel/hda-dai-ops.c sound/soc/sof/ipc4-pcm.c +2 more+257 -80 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRander Wang
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] ASoC: SOF: ipc4/intel: Support for ChainDMA

Hi,

Changes since v1:
- Fix missed mutex unlocking in sof_ipc4_widget_free() Reported by Dan Carpenter (thank you!)

On a platform when the DSP is in use, we cannot select individual links to use or not use the DSP, it is either all or none.
On some audio endpoint, like HDMI/DP, it is preferred to not use any processing in DSP to reduce the latency and to allow bytestream pass-through (DTS, DD, etc)

IPC4 introduces a new type of end-to-end connection within the DSP which is using the host DMA and link DMA in a single buffer, working back-to-back, passing the received data without looking at it or trying to understand the format, content.

This mode reduces the latency and allows non PCM streams to be sent from userspace.

The feature is enabled per PCM bases, signalled in topology.

Regards,
Peter
---

*** BLURB HERE ***

Jyri Sarha (2):
ASoC: SOF: ipc4: Add macros for chain-dma message bits
ASoC: SOF: ipc4/intel: Add support for chained DMA

Ranjani Sridharan (1):
ASoC: SOF: topology: Set pipeline widget before updating IPC
structures

 include/sound/sof/ipc4/header.h   |  29 +++++++
 include/uapi/sound/sof/tokens.h   |   1 +
 sound/soc/sof/intel/hda-dai-ops.c |  18 ++++-
 sound/soc/sof/ipc4-pcm.c          | 122 +++++++++++++++++++++++++++++-
 sound/soc/sof/ipc4-topology.c     | 122 +++++++++++++++++++++++++++++-
 sound/soc/sof/ipc4-topology.h     |   2 +
 sound/soc/sof/topology.c          |  48 ++++++------
 7 files changed, 310 insertions(+), 32 deletions(-)
Signature · 1 line
2.40.0