mbox series

[v3,00/12] Add support for on demand pipeline setup/destroy

Message ID 20210927120517.20505-1-peter.ujfalusi@linux.intel.com (mailing list archive)
Headers show
Series Add support for on demand pipeline setup/destroy | expand

Message

Peter Ujfalusi Sept. 27, 2021, 12:05 p.m. UTC
Hi,

The previous, v2 of this series was sent by Daniel Baluta:
https://lore.kernel.org/alsa-devel/20210917143659.401102-1-daniel.baluta@oss.nxp.com/

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(-)

Comments

Mark Brown Oct. 2, 2021, 12:16 a.m. UTC | #1
On Mon, 27 Sep 2021 15:05:05 +0300, Peter Ujfalusi wrote:
> The previous, v2 of this series was sent by Daniel Baluta:
> https://lore.kernel.org/alsa-devel/20210917143659.401102-1-daniel.baluta@oss.nxp.com/
> 
> 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.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[01/12] ASoC: topology: change the complete op in snd_soc_tplg_ops to return int
        commit: 415717e1e367debe6344533f98eaeceb2dce52b3
[02/12] ASoC: SOF: control: Add access field in struct snd_sof_control
        commit: 199a3754f2736808d7bfa4c962eaf89e1d17e462
[03/12] ASoC: SOF: topology: Add new token for dynamic pipeline
        commit: 2c28ecad0d099ff914a0675f064db6e5b75e0756
[04/12] ASoC: SOF: sof-audio: add helpers for widgets, kcontrols and dai config set up
        commit: 93d71245c655e639248c7c33db20074c71a89c1a
[05/12] AsoC: dapm: export a couple of functions
        commit: d1a7af0979292b187bde0d556d26fe21bd64b832
[06/12] ASoC: SOF: Add new fields to snd_sof_route
        commit: 0a2dea1f10106746e5ed033beaf403049cf8eb10
[07/12] ASoC: SOF: restore kcontrols for widget during set up
        commit: 5f3aad73fcc2b301ed7d7ed60c1364e8c29741b1
[08/12] ASoC: SOF: Don't set up widgets during topology parsing
        commit: 1b7d57d7178697ebdd9e6f21b4953ada168d2a61
[09/12] ASoC: SOF: Introduce widget use_count
        commit: 8b0014169254513bda914ba5d49a09458a919488
[10/12] ASoC: SOF: Intel: hda: make sure DAI widget is set up before IPC
        commit: 0acb48dd31e39b617bb12ca546b4fecd6ccb2972
[11/12] ASoC: SOF: Add support for dynamic pipelines
        commit: 5fcdbb2d45df6afb654674379546996b0027aa3e
[12/12] ASoC: SOF: topology: Add kernel parameter for topology verification
        commit: c0e7969cf9c4fd347b33a8056960e8448f6b51c0

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark