mbox series

[00/12] ASoC: SOF: core/Intel: Introduce DSPless mode

Message ID 20230404092115.27949-1-peter.ujfalusi@linux.intel.com
Headers show
Series ASoC: SOF: core/Intel: Introduce DSPless mode | expand

Message

Péter Ujfalusi April 4, 2023, 9:21 a.m. UTC
Hi,

This series will add support for SOF Linux stack to run without using the DSP.

DSPless mode provides a good tool for verification that the hardware itself
works correctly by taking the DSP use out from the picture.
It can only work with interfaces which supports this mode: Intel HDA at the
moment but with LNL it could be possible to support other audio interfaces.

The main driver for this mode is to be able to test programming sequences,
low-level code and for low-level verification of a platform.

The feature is not targetted for end-users and it will not make the SOF stack
to work on hardware without DSP, but it is giving us a tool to debug and enable
platforms earlier (when for example t he firmware is not mature enough).

Regards,
Peter
---
Peter Ujfalusi (11):
  ASoC: SOF: Intel: hda-stream: Do not dereference hstream until it is
    safe
  ASoC: SOF: Add flag and state which will be used for DSP-less mode
  ASoC: SOF: Add support for DSPless mode
  ASoC: SOF: Intel: hda: Skip interfaces not supported on a platform
  ASoC: SOF: Intel: hda: Add support for DSPless mode
  ASoC: SOF: Intel: pci-apl: Allow DSPless mode
  ASoC: SOF: Intel: pci-cnl: Allow DSPless mode
  ASoC: SOF: Intel: pci-icl: Allow DSPless mode
  ASoC: SOF: Intel: pci-mtl: Allow DSPless mode
  ASoC: SOF: Intel: pci-skl: Allow DSPless mode
  ASoC: SOF: Intel: pci-tgl: Allow DSPless mode

Pierre-Louis Bossart (1):
  ASoC: SOF: Intel: hda: make DSPless mode work with DSP disabled in
    BIOS

 include/sound/sof.h               |   5 +
 sound/soc/sof/core.c              |  31 ++++++-
 sound/soc/sof/debug.c             |   1 +
 sound/soc/sof/intel/hda-dai-ops.c |  33 ++++++-
 sound/soc/sof/intel/hda-dai.c     |  25 ++++-
 sound/soc/sof/intel/hda-dsp.c     |  30 ++++--
 sound/soc/sof/intel/hda-ipc.c     |   3 +
 sound/soc/sof/intel/hda-pcm.c     |  24 +++--
 sound/soc/sof/intel/hda-stream.c  |  67 ++++++++------
 sound/soc/sof/intel/hda.c         | 149 +++++++++++++++++++++++-------
 sound/soc/sof/intel/pci-apl.c     |   2 +
 sound/soc/sof/intel/pci-cnl.c     |   3 +
 sound/soc/sof/intel/pci-icl.c     |   2 +
 sound/soc/sof/intel/pci-mtl.c     |   1 +
 sound/soc/sof/intel/pci-skl.c     |   2 +
 sound/soc/sof/intel/pci-tgl.c     |   8 ++
 sound/soc/sof/pcm.c               |  13 ++-
 sound/soc/sof/pm.c                |   5 +
 sound/soc/sof/sof-audio.c         |   2 +-
 sound/soc/sof/sof-client.c        |   3 +
 sound/soc/sof/sof-priv.h          |  11 +++
 sound/soc/sof/topology.c          | 130 +++++++++++++++++++++++++-
 22 files changed, 459 insertions(+), 91 deletions(-)