mbox series

[0/3] ASoC: SOF: get pipeline instance id from pipe_widget->instance_id

Message ID 20221108002910.2819709-1-yung-chuan.liao@linux.intel.com (mailing list archive)
Headers show
Series ASoC: SOF: get pipeline instance id from pipe_widget->instance_id | expand

Message

Bard Liao Nov. 8, 2022, 12:29 a.m. UTC
Currently we set pipeline instance id = swidget->pipeline_id, but
pipeline_id is from topology and can be any number. In fact, the
number of pipelines is limited. This patch use ida to allocate pipeline
instance id and will be used for pipeline instance id in the IPC
message.

Bard Liao (3):
  ASoC: SOF: ipc4-topology: rename sof_ipc4_widget_free_comp
  ASoC: SOF: ipc4-loader: get max pipeline number
  ASoC: SOF: ipc4: get pipeline instance id from
    pipe_widget->instance_id

 sound/soc/sof/intel/hda-dai.c | 12 ++++++------
 sound/soc/sof/ipc4-loader.c   | 11 +++++++++++
 sound/soc/sof/ipc4-pcm.c      |  4 ++--
 sound/soc/sof/ipc4-priv.h     |  2 ++
 sound/soc/sof/ipc4-topology.c | 30 ++++++++++++++++++++++++------
 5 files changed, 45 insertions(+), 14 deletions(-)

Comments

Mark Brown Nov. 10, 2022, 5:55 p.m. UTC | #1
On Tue, 8 Nov 2022 08:29:07 +0800, Bard Liao wrote:
> Currently we set pipeline instance id = swidget->pipeline_id, but
> pipeline_id is from topology and can be any number. In fact, the
> number of pipelines is limited. This patch use ida to allocate pipeline
> instance id and will be used for pipeline instance id in the IPC
> message.
> 
> Bard Liao (3):
>   ASoC: SOF: ipc4-topology: rename sof_ipc4_widget_free_comp
>   ASoC: SOF: ipc4-loader: get max pipeline number
>   ASoC: SOF: ipc4: get pipeline instance id from
>     pipe_widget->instance_id
> 
> [...]

Applied to

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

Thanks!

[1/3] ASoC: SOF: ipc4-topology: rename sof_ipc4_widget_free_comp
      commit: a29b2d029f79376fa2bdf18bd5285eeeb6bc73b3
[2/3] ASoC: SOF: ipc4-loader: get max pipeline number
      commit: eb2eaf50395a8164f4f9e0021609ddb40ad97e87
[3/3] ASoC: SOF: ipc4: get pipeline instance id from pipe_widget->instance_id
      commit: a2ba1f70b301b366666e739a1f951f57b8af2cce

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