Skip to content

ASoC: SOF: enable multicore with dynamic pipelines

Kai Vehmanen alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ASoC: SOF: Intel: hda: expose get_chip_info()sound/soc/sof/intel/hda.c sound/soc/sof/intel/shim.h+7 -110 replies
2/10ASoC: SOF: Introduce num_cores and ref count per coresound/soc/sof/imx/imx8.c sound/soc/sof/imx/imx8m.c sound/soc/sof/intel/bdw.c +4 more+46 -00 replies
3/10ASoC: SOF: Add ops for core_get and core_putsound/soc/sof/ops.h sound/soc/sof/sof-priv.h+65 -00 replies
4/10ASoC: SOF: Intel: TGL: set core_get/put opssound/soc/sof/intel/tgl.c+42 -00 replies
5/10ASoC: SOF: Intel: CNL/ICL/APL: set core_get/core_put opssound/soc/sof/intel/apl.c sound/soc/sof/intel/cnl.c sound/soc/sof/intel/hda-dsp.c +2 more+48 -00 replies
6/10ASoC: SOF: topology: remove sof_load_pipeline_ipc()sound/soc/sof/sof-audio.c sound/soc/sof/sof-audio.h sound/soc/sof/topology.c+2 -220 replies
7/10ASoC: SOF: free widgets in sof_tear_down_pipelines() for static pipelinessound/soc/sof/sof-audio.c+10 -30 replies
8/10ASoC: SOF: hda: don't use the core op for power up/power downsound/soc/sof/intel/hda-dsp.c sound/soc/sof/intel/hda-loader.c sound/soc/sof/intel/hda.c+25 -110 replies
9/10ASoC: SOF: add support for dynamic pipelines with multi-coresound/soc/sof/intel/apl.c sound/soc/sof/intel/cnl.c sound/soc/sof/intel/icl.c +6 more+59 -1450 replies
10/10ASoC: SOF: Intel: hda: free DAI widget during stop and suspendsound/soc/sof/intel/hda-dai.c+2 -210 replies

Reviews trailers per patch

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

PatchGuennadi LiakhovetskiPierre-Louis Bossart
1/10R-b R-b
2/10R-b R-b
3/10R-b R-b
4/10R-b R-b
5/10R-b R-b
6/10R-b R-b
7/10R-b R-b
8/10R-b R-b
9/10R-b R-b
10/10R-b R-b

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

Read the v1 thread

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

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

Signature · 1 line
2.33.0