mbox series

[00/17] ASoC: SOF: Intel: improve SoundWire support for LunarLake

Message ID 20240402151828.175002-1-pierre-louis.bossart@linux.intel.com
Headers show
Series ASoC: SOF: Intel: improve SoundWire support for LunarLake | expand

Message

Pierre-Louis Bossart April 2, 2024, 3:18 p.m. UTC
This patchset contains important updates for SoundWire support.

We initially implemented support for multiple amplifiers on different
links using a single HDaudio DMA transfer. To align with the other OS,
the 'aggregation' is now supported by the firmware. This change in
directions has kernel impacts, since we now have multiple HDaudio DMAs
to program and start, but since there are no platforms released so far
there's no end-user impact.

In addition, the behavior in case of xruns is improved by clearing the
PCM states and better handling of the hw_free case.

Note that the hw_free support will compile but will only be functional
with the companion patch "soundwire: intel: add intel_free_stream() back"
already applied in the SoundWire tree.

Bard Liao (5):
  Revert "ASoC: SOF: Intel: hda-dai-ops: reset device count for
    SoundWire DAIs"
  Revert "ASoC: SOF: Intel: hda-dai-ops: only allocate/release streams
    for first CPU DAI"
  ASoC: SOF: make dma_config_tlv be an array
  ASoC: SOF: Intel: hda-dai: set lowest N bits in ch_mask
  ASoC: SOF: Intel: hda-dai: set dma_stream_channel_map device

Pierre-Louis Bossart (10):
  ASoC: SOF: Intel: hda-dai: fix channel map configuration for
    aggregated dailink
  ASoC: SOF: Intel: hda-dai: add helpers to set dai config
  ASoC: SOF: Intel: set the DMA TLV device as dai_index
  ASoC: SOF: Intel: hda: extend signature of sdw_hda_dai_hw_params()
  ASoC: SOF: IPC4: extend dai_data with node_id
  ASoC: SOF: Intel: hda: move helper to static inline
  ASoC: SOF: sof-audio: revisit sof_pcm_stream_free() error handling and
    logs
  ASoC: SOF: pcm: simplify sof_pcm_hw_free() with helper
  ASoC: SOF: pcm: add pending_stop state variable
  ASoC: SOF: pcm: reset all PCM sources in case of xruns

Ranjani Sridharan (2):
  ASoC: SOF: Intel: hda: Clear Soundwire node ID during BE DAI hw_free
  ASoC: SOF: ipc4-topology: Save the ALH DAI index during hw_params

 sound/soc/sof/intel/hda-dai-ops.c |  41 +---------
 sound/soc/sof/intel/hda-dai.c     | 124 +++++++++++++++++++++++-------
 sound/soc/sof/intel/hda.c         |  29 ++++++-
 sound/soc/sof/intel/hda.h         |  11 ++-
 sound/soc/sof/ipc4-topology.c     |  62 ++++++++++-----
 sound/soc/sof/ipc4-topology.h     |   3 +-
 sound/soc/sof/pcm.c               |  58 +++++++-------
 sound/soc/sof/sof-audio.c         |  29 +++++--
 sound/soc/sof/sof-audio.h         |   2 +
 9 files changed, 232 insertions(+), 127 deletions(-)