[PATCH 00/10] ASoC: SOF: enable multicore with dynamic pipelines

Kai Vehmanen kai.vehmanen at linux.intel.com
Fri Nov 19 20:26:11 CET 2021


Hi,

initial support for SOF dynamic pipelines was added in commit
5fcdbb2d45df ("ASoC: SOF: Add support for dynamic pipelines").

When a pipeline is marked dynamic in the SOF DSP firmware
topology definition (the tplg file kernel loads from filesystem),
it means the pipeline resources are not allocated when DSP is
booted (at driver probe, or at runtime resume), but rather delayed
until the pipeline is actually used.

Until now, it has not been possible to use multiple DSP cores
in a topology that uses dynamic pipeline capability. This patchset
addresses this gap and allows to freely mix dynamic pipelines
and multicore usages in topology definitions.

The series was originally reviewed in
https://github.com/thesofproject/linux/pull/3019

Ranjani Sridharan (10):
  ASoC: SOF: Intel: hda: expose get_chip_info()
  ASoC: SOF: Introduce num_cores and ref count per core
  ASoC: SOF: Add ops for core_get and core_put
  ASoC: SOF: Intel: TGL: set core_get/put ops
  ASoC: SOF: Intel: CNL/ICL/APL: set core_get/core_put ops
  ASoC: SOF: topology: remove sof_load_pipeline_ipc()
  ASoC: SOF: free widgets in sof_tear_down_pipelines() for static
    pipelines
  ASoC: SOF: hda: don't use the core op for power up/power down
  ASoC: SOF: add support for dynamic pipelines with multi-core
  ASoC: SOF: Intel: hda: free DAI widget during stop and suspend

 sound/soc/sof/imx/imx8.c         |   1 +
 sound/soc/sof/imx/imx8m.c        |   1 +
 sound/soc/sof/intel/apl.c        |   5 +-
 sound/soc/sof/intel/bdw.c        |   9 +++
 sound/soc/sof/intel/byt.c        |   9 +++
 sound/soc/sof/intel/cnl.c        |   5 +-
 sound/soc/sof/intel/hda-dai.c    |  23 +------
 sound/soc/sof/intel/hda-dsp.c    |  52 +++++++++++++++-
 sound/soc/sof/intel/hda-loader.c |  24 +++++---
 sound/soc/sof/intel/hda.c        |  17 ++----
 sound/soc/sof/intel/hda.h        |   1 +
 sound/soc/sof/intel/icl.c        |   5 +-
 sound/soc/sof/intel/pci-tng.c    |   9 +++
 sound/soc/sof/intel/shim.h       |   7 +++
 sound/soc/sof/intel/tgl.c        |  46 +++++++++++++-
 sound/soc/sof/ops.h              |  71 ++++++++++++++++------
 sound/soc/sof/sof-audio.c        |  83 +++++++++++++++++++------
 sound/soc/sof/sof-audio.h        |   6 --
 sound/soc/sof/sof-priv.h         |  21 +++++--
 sound/soc/sof/topology.c         | 100 -------------------------------
 20 files changed, 294 insertions(+), 201 deletions(-)


base-commit: 626a3dfbdb5d11f92e709680135abf272057ef59
-- 
2.33.0



More information about the Alsa-devel mailing list