mbox series

[00/10] Make the SOF pcm_hw_params DSP op IPC agnostic

Message ID 20220310042720.976809-1-ranjani.sridharan@linux.intel.com (mailing list archive)
Headers show
Series Make the SOF pcm_hw_params DSP op IPC agnostic | expand

Message

Ranjani Sridharan March 10, 2022, 4:27 a.m. UTC
In preparation for supporting the newly introduced IPC version in the SOF
firmware, this patchset adds the changes required to make the
pcm_hw_params DSP op IPC agnostic.

Peter Ujfalusi (10):
  ASoC: SOF: sof-priv: Remove stale snd_sof_ipc_stream_pcm_params()
    declaration
  ASoC: SOF: Make pcm_hw_params snd_sof_dsp_ops callback IPC neutral
  ASoC: SOF: pcm: Remove sof_pcm_dsp_params() wrapper
  ASoC: SOF: Introduce optional callback to configure stream data offset
  ASoC: SOF: Mark snd_sof_dsp_ops.ipc_pcm_params() callback optional
  ASoC: SOF: stream-ipc: Add sof_set_stream_data_offset()
  ASoC: SOF: Intel: hda-ipc: Add hda_set_stream_data_offset()
  ASoC: SOF: Intel: Convert to use the generic set_stream_data_offset
    ops
  ASoC: SOF: imx: Convert to use the generic set_stream_data_offset ops
  ASoC: SOF: Remove ipc_pcm_params() ops

 sound/soc/sof/amd/acp-pcm.c   |  8 ++++---
 sound/soc/sof/amd/acp.h       |  3 ++-
 sound/soc/sof/core.c          |  3 +--
 sound/soc/sof/imx/imx8.c      |  4 ++--
 sound/soc/sof/imx/imx8m.c     |  2 +-
 sound/soc/sof/intel/apl.c     |  2 +-
 sound/soc/sof/intel/bdw.c     |  2 +-
 sound/soc/sof/intel/byt.c     |  4 ++--
 sound/soc/sof/intel/cnl.c     |  2 +-
 sound/soc/sof/intel/hda-ipc.c |  8 +++----
 sound/soc/sof/intel/hda-pcm.c | 18 ++++----------
 sound/soc/sof/intel/hda.h     |  8 +++----
 sound/soc/sof/intel/icl.c     |  2 +-
 sound/soc/sof/intel/pci-tng.c |  2 +-
 sound/soc/sof/intel/tgl.c     |  2 +-
 sound/soc/sof/ops.h           | 21 +++++++++-------
 sound/soc/sof/pcm.c           | 45 ++++++++++++++++++++---------------
 sound/soc/sof/sof-priv.h      | 33 +++++++++++++++++--------
 sound/soc/sof/stream-ipc.c    |  9 ++++---
 19 files changed, 95 insertions(+), 83 deletions(-)

Comments

Mark Brown March 11, 2022, 8:22 p.m. UTC | #1
On Wed, 9 Mar 2022 20:27:10 -0800, Ranjani Sridharan wrote:
> In preparation for supporting the newly introduced IPC version in the SOF
> firmware, this patchset adds the changes required to make the
> pcm_hw_params DSP op IPC agnostic.
> 
> Peter Ujfalusi (10):
>   ASoC: SOF: sof-priv: Remove stale snd_sof_ipc_stream_pcm_params()
>     declaration
>   ASoC: SOF: Make pcm_hw_params snd_sof_dsp_ops callback IPC neutral
>   ASoC: SOF: pcm: Remove sof_pcm_dsp_params() wrapper
>   ASoC: SOF: Introduce optional callback to configure stream data offset
>   ASoC: SOF: Mark snd_sof_dsp_ops.ipc_pcm_params() callback optional
>   ASoC: SOF: stream-ipc: Add sof_set_stream_data_offset()
>   ASoC: SOF: Intel: hda-ipc: Add hda_set_stream_data_offset()
>   ASoC: SOF: Intel: Convert to use the generic set_stream_data_offset
>     ops
>   ASoC: SOF: imx: Convert to use the generic set_stream_data_offset ops
>   ASoC: SOF: Remove ipc_pcm_params() ops
> 
> [...]

Applied to

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

Thanks!

[01/10] ASoC: SOF: sof-priv: Remove stale snd_sof_ipc_stream_pcm_params() declaration
        commit: d7bc6ddef016d851cb0ff97ae16ac98d5f3c85ee
[02/10] ASoC: SOF: Make pcm_hw_params snd_sof_dsp_ops callback IPC neutral
        commit: 31f60a0c943d6a7e84b06686b1ed86ddadf484fa
[03/10] ASoC: SOF: pcm: Remove sof_pcm_dsp_params() wrapper
        commit: d1b1146fc708eff661c2becb9bf78374adde6db7
[04/10] ASoC: SOF: Introduce optional callback to configure stream data offset
        commit: 757ce8103c9e5b83cf18a669fe38484b0be3cfaf
[05/10] ASoC: SOF: Mark snd_sof_dsp_ops.ipc_pcm_params() callback optional
        commit: a6db22a68b0b2183184659d27c0a74df96f0d6d0
[06/10] ASoC: SOF: stream-ipc: Add sof_set_stream_data_offset()
        commit: 9a0a809a5aaeb09458c5f0d26fac63c213b0adb6
[07/10] ASoC: SOF: Intel: hda-ipc: Add hda_set_stream_data_offset()
        commit: 29e3aa0bb934e44c6ec0127cbe96983dc9b82b0e
[08/10] ASoC: SOF: Intel: Convert to use the generic set_stream_data_offset ops
        commit: cf73363e4a55579e3131f5de38c3b7b70bb4d639
[09/10] ASoC: SOF: imx: Convert to use the generic set_stream_data_offset ops
        commit: f0383aded3c6e61e044b90662bf99b3d850c5d90
[10/10] ASoC: SOF: Remove ipc_pcm_params() ops
        commit: 00f19253633710877880ad062d6cee3c13deb9a5

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