Skip to content

Add support for on demand pipeline setup/destroy

Peter Ujfalusi alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest12 patches 1 replyIn review

Changes in v3 from the cover letter

- patch 10: Fix NULL point dereference in hda_dai_update_config()
- I have kept Daniel's SoB for the series.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ASoC: topology: change the complete op in snd_soc_tplg_ops to return intinclude/sound/soc-topology.h sound/soc/intel/skylake/skl-topology.c sound/soc/soc-topology.c +1 more+19 -110 replies
2/12ASoC: SOF: control: Add access field in struct snd_sof_controlsound/soc/sof/sof-audio.h sound/soc/sof/topology.c+2 -00 replies
3/12ASoC: SOF: topology: Add new token for dynamic pipelineinclude/uapi/sound/sof/tokens.h sound/soc/sof/sof-audio.h sound/soc/sof/topology.c+75 -10 replies
4/12ASoC: SOF: sof-audio: add helpers for widgets, kcontrols and dai config set upsound/soc/sof/sof-audio.c+116 -1180 replies
5/12AsoC: dapm: export a couple of functionsinclude/sound/soc-dpcm.h sound/soc/soc-dapm.c sound/soc/soc-pcm.c+5 -20 replies
6/12ASoC: SOF: Add new fields to snd_sof_routesound/soc/sof/pm.c sound/soc/sof/sof-audio.c sound/soc/sof/sof-audio.h +1 more+24 -00 replies
7/12ASoC: SOF: restore kcontrols for widget during set upsound/soc/sof/sof-audio.c+33 -260 replies
8/12ASoC: SOF: Don't set up widgets during topology parsingsound/soc/sof/pm.c sound/soc/sof/sof-audio.c sound/soc/sof/sof-audio.h +1 more+43 -2450 replies
9/12ASoC: SOF: Introduce widget use_countsound/soc/sof/ipc.c sound/soc/sof/sof-audio.c sound/soc/sof/sof-audio.h+97 -60 replies
10/12ASoC: SOF: Intel: hda: make sure DAI widget is set up before IPCsound/soc/sof/intel/hda-dai.c sound/soc/sof/intel/hda.c sound/soc/sof/intel/hda.h +3 more+243 -1190 replies
11/12ASoC: SOF: Add support for dynamic pipelinessound/soc/sof/intel/hda.c sound/soc/sof/pcm.c sound/soc/sof/sof-audio.c +1 more+390 -540 replies
12/12ASoC: SOF: topology: Add kernel parameter for topology verificationsound/soc/sof/pm.c sound/soc/sof/sof-audio.c sound/soc/sof/sof-audio.h +2 more+46 -170 replies

Reviews trailers per patch

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

PatchGuennadi LiakhovetskiPierre-Louis BossartKai VehmanenSeppo Ingalsuo
1/12R-b R-b R-b
2/12R-b R-b R-b
3/12R-b R-b R-b
4/12R-b R-b R-b
5/12R-b R-b R-b
6/12R-b R-b R-b
7/12R-b R-b R-b
8/12R-b R-b R-b
9/12R-b R-b R-b
10/12R-b R-b R-b
11/12R-b R-b R-b
12/12R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 00/12] Add support for on demand pipeline setup/destroy

Hi,

The previous, v2 of this series was sent by Daniel Baluta:
https://lore.kernel.org/alsa-devel/[email protected]/

We have agreed that it might be better that someone from Intel is going to take it from here as we already have the infrastructure up to test and verify the dynamic pipelines support.

Changes since v2 (sent by Daniel Baluta):
- patch 10: Fix NULL point dereference in hda_dai_update_config()
- I have kept Daniel's SoB for the series.

Changes since v1:
- Signed-off-by tag added by Daniel

This series implements initial support for dynamic pipelines to setup/teardown pipeline as needed when a PCM is open/closed.

Initially dynamic pipelines are only supported with single core setup which will be expanded with a follow-up series.

Review with SOF community at
https://github.com/thesofproject/linux/pull/2794

The feature has been merged on 1st of April to sof-dev, all issues found since has been fixed and squashed to this upstream series.

Regards,
Peter
---
Ranjani Sridharan (12):
ASoC: topology: change the complete op in snd_soc_tplg_ops to return
int
ASoC: SOF: control: Add access field in struct snd_sof_control
ASoC: SOF: topology: Add new token for dynamic pipeline
ASoC: SOF: sof-audio: add helpers for widgets, kcontrols and dai
config set up
AsoC: dapm: export a couple of functions
ASoC: SOF: Add new fields to snd_sof_route
ASoC: SOF: restore kcontrols for widget during set up
ASoC: SOF: Don't set up widgets during topology parsing
ASoC: SOF: Introduce widget use_count
ASoC: SOF: Intel: hda: make sure DAI widget is set up before IPC
ASoC: SOF: Add support for dynamic pipelines
ASoC: SOF: topology: Add kernel parameter for topology verification

 include/sound/soc-dpcm.h               |   1 +
 include/sound/soc-topology.h           |   2 +-
 include/uapi/sound/sof/tokens.h        |   1 +
 sound/soc/intel/skylake/skl-topology.c |   6 +-
 sound/soc/soc-dapm.c                   |   2 +
 sound/soc/soc-pcm.c                    |   4 +-
 sound/soc/soc-topology.c               |  10 +-
 sound/soc/sof/intel/hda-dai.c          | 174 +++---
 sound/soc/sof/intel/hda.c              | 177 ++++--
 sound/soc/sof/intel/hda.h              |   5 +
 sound/soc/sof/ipc.c                    |  22 +
 sound/soc/sof/pcm.c                    |  58 +-
 sound/soc/sof/pm.c                     |   4 +-
 sound/soc/sof/sof-audio.c              | 709 +++++++++++++++++++------
 sound/soc/sof/sof-audio.h              |  32 +-
 sound/soc/sof/sof-priv.h               |   1 +
 sound/soc/sof/topology.c               | 362 +++++--------
 17 files changed, 1032 insertions(+), 538 deletions(-)
Signature · 1 line
2.33.0