mbox series

[00/14] ASoC: SOF: Intel: hda: Introduce HDA DAI abstraction

Message ID 20230307140435.2808-1-peter.ujfalusi@linux.intel.com (mailing list archive)
Headers show
Series ASoC: SOF: Intel: hda: Introduce HDA DAI abstraction | expand

Message

Peter Ujfalusi March 7, 2023, 2:04 p.m. UTC
Hi,

This series introduces an abstraction of the HDA DAI handling.

The motivation is to simplify and make the code more flexible regarding to IPC
versions, new features (ChainDMA (IPC4) and DSPless mode) and to pave the way for new
platforms.

For the first look the series might feels a bit too intrusive but it introduces
no functionality change (tested at each commit).

Regards,
Peter
---
Ranjani Sridharan (14):
  ASoC: SOF: Intel: hda-dai: Remove BE DAI DRV ops for SSP DAI's
  ASoC: SOF: Intel: hda-dai: Remove hda_link_dma_params()
  ASoC: SOF: Intel: hda-dai: remove struct hda_pipe_params
  ASoC: SOF: Intel: hda-dai: Modify the signature of
    hda_link_dma_cleanup()
  ASoC: SOF: Intel: hda-dai: Pass the CPU dai pointer
  ASoC: SOF: Intel: hda-dai: Use the dai argument in
    ipc4_hda_dai_trigger
  ASoC: SOF: Intel: hda-dai: Introduce DAI widget ops
  ASoC: SOF: Intel: hda-dai: Define and set the HDA DAI widget DMA ops
  ASoC: SOF: Intel: hda-dai: Add setup_hext_stream/reset_hext_stream DMA
    ops
  ASoC: SOF: Intel: hda-dai: Use the topology IPC dai_config op
  ASoC: SOF: Intel: hda-dai: Define DAI widget DMA trigger ops for IPC4
  ASoC: SOF: Intel: hda: Unify DAI drv ops for IPC3 and IPC4
  ASoC: SOF: Intel: hda: Remove hda_ctrl_dai_widget_setup/free()
  ASoC: SOF: Intel: hda: remove redundant DAI config during hw_free

 sound/soc/sof/intel/Makefile      |   2 +-
 sound/soc/sof/intel/hda-dai-ops.c | 343 +++++++++++++++
 sound/soc/sof/intel/hda-dai.c     | 688 ++++++++----------------------
 sound/soc/sof/intel/hda.c         |  88 +---
 sound/soc/sof/intel/hda.h         |  41 +-
 sound/soc/sof/sof-audio.h         |   2 +
 6 files changed, 554 insertions(+), 610 deletions(-)
 create mode 100644 sound/soc/sof/intel/hda-dai-ops.c

Comments

Mark Brown March 9, 2023, 4:09 p.m. UTC | #1
On Tue, 07 Mar 2023 16:04:21 +0200, Peter Ujfalusi wrote:
> This series introduces an abstraction of the HDA DAI handling.
> 
> The motivation is to simplify and make the code more flexible regarding to IPC
> versions, new features (ChainDMA (IPC4) and DSPless mode) and to pave the way for new
> platforms.
> 
> For the first look the series might feels a bit too intrusive but it introduces
> no functionality change (tested at each commit).
> 
> [...]

Applied to

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

Thanks!

[01/14] ASoC: SOF: Intel: hda-dai: Remove BE DAI DRV ops for SSP DAI's
        commit: 274f8a3b4eb855bb14e38f6f12421ed32a2e670b
[02/14] ASoC: SOF: Intel: hda-dai: Remove hda_link_dma_params()
        commit: a8310c0093f4ebeb3a317b4b70e864b91739fc50
[03/14] ASoC: SOF: Intel: hda-dai: remove struct hda_pipe_params
        commit: 2a6afac248b08a0bcec72a6a605f11319738f6db
[04/14] ASoC: SOF: Intel: hda-dai: Modify the signature of hda_link_dma_cleanup()
        commit: 2be2caf481c7200b29116cea83cf8dd45c9e097f
[05/14] ASoC: SOF: Intel: hda-dai: Pass the CPU dai pointer
        commit: b436ed8dd071cae10ac3f94c541a783a094971ff
[06/14] ASoC: SOF: Intel: hda-dai: Use the dai argument in ipc4_hda_dai_trigger
        commit: be7f4f8d0bee110505750d85e6e11c59f8ceb65f
[07/14] ASoC: SOF: Intel: hda-dai: Introduce DAI widget ops
        commit: 2ae49c6fe060baf432472aba48743e72b8345c52
[08/14] ASoC: SOF: Intel: hda-dai: Define and set the HDA DAI widget DMA ops
        commit: 80afde34e8f9c2459f7cd37ea2d5f71751fedd69
[09/14] ASoC: SOF: Intel: hda-dai: Add setup_hext_stream/reset_hext_stream DMA ops
        commit: e2d6569aba39f4b98da8e56999a19dc901188e5e
[10/14] ASoC: SOF: Intel: hda-dai: Use the topology IPC dai_config op
        commit: e6ffb0d5eda751371d030bb8ae324493b2d1abc2
[11/14] ASoC: SOF: Intel: hda-dai: Define DAI widget DMA trigger ops for IPC4
        commit: 4b2ee4cd7103607b303a079c0469c06694be87e9
[12/14] ASoC: SOF: Intel: hda: Unify DAI drv ops for IPC3 and IPC4
        commit: 2b009fa0823c1510700fd17a0780ddd06a460fb4
[13/14] ASoC: SOF: Intel: hda: Remove hda_ctrl_dai_widget_setup/free()
        commit: a492da0ce6450d6fdea49ec89006d7692c0c1382
[14/14] ASoC: SOF: Intel: hda: remove redundant DAI config during hw_free
        commit: 8c29e78b8ecbec208bdd6d8b385ada71c1e730cd

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