[PATCH 0/7] ASoC: SOF: Intel: remove circular dependency for SoundWire BPT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



The SoundWire BPT support will rely on the HDaudio DMA. This exposes a
circular dependency module dependency which has to be resolved by
splitting common parts used by HDaudio and SoundWire parts, and
'generic' parts used by HDaudio only.

This patchset does not change any functionality, it just moves code
around, exposes symbols that are used in the new module. The code has
been in use for more than one kernel cycle already so it really
shouldn't break any existing platforms.

The main issue with such code moves is that it makes backports or
fixes more complicated. That's the main reason why we held back these
patches until we were reasonably confident on the maturity of MTL and
LNL drivers.

Pierre-Louis Bossart (7):
  ASoC: SOF: Intel: hda-stream: export stream_get_position() helper
  ASoC: SOF: Intel: regroup all SoundWire/Intel functions in hda.c
  ASoC: SOF: Intel: start splitting top-level from common parts
  ASoC: SOF: Intel: move common code from hda.c
  ASoC: SOF: Intel: move tracepoint creation
  ASoC: SOF: Intel: remove circular dependency on
    hda_sdw_process_wakeen()
  ASoC: SOF: Intel: move hda.c to different module

 sound/soc/sof/intel/Kconfig          |  25 +-
 sound/soc/sof/intel/Makefile         |  23 +-
 sound/soc/sof/intel/apl.c            |   3 -
 sound/soc/sof/intel/cnl.c            |  15 +-
 sound/soc/sof/intel/hda-bus.c        |   2 +
 sound/soc/sof/intel/hda-common-ops.c |   1 +
 sound/soc/sof/intel/hda-ctrl.c       |  10 +
 sound/soc/sof/intel/hda-dai.c        |   6 +
 sound/soc/sof/intel/hda-dsp.c        | 502 ++++++++++++++++++++++
 sound/soc/sof/intel/hda-ipc.c        | 115 +++++
 sound/soc/sof/intel/hda-loader.c     |  45 +-
 sound/soc/sof/intel/hda-pcm.c        |   6 +
 sound/soc/sof/intel/hda-probes.c     |   2 +
 sound/soc/sof/intel/hda-stream.c     |  13 +
 sound/soc/sof/intel/hda-trace.c      |   3 +
 sound/soc/sof/intel/hda.c            | 605 +++------------------------
 sound/soc/sof/intel/hda.h            |  15 +
 sound/soc/sof/intel/icl.c            |   4 +-
 sound/soc/sof/intel/lnl.c            |   4 +-
 sound/soc/sof/intel/mtl.c            |  21 +-
 sound/soc/sof/intel/pci-apl.c        |   1 +
 sound/soc/sof/intel/pci-cnl.c        |   1 +
 sound/soc/sof/intel/pci-icl.c        |   2 +
 sound/soc/sof/intel/pci-lnl.c        |   3 +
 sound/soc/sof/intel/pci-mtl.c        |   1 +
 sound/soc/sof/intel/pci-skl.c        |   1 +
 sound/soc/sof/intel/pci-tgl.c        |   2 +
 sound/soc/sof/intel/shim.h           |   1 +
 sound/soc/sof/intel/telemetry.c      |   1 +
 sound/soc/sof/intel/tgl.c            |  10 +-
 sound/soc/sof/intel/tracepoints.c    |   5 +
 31 files changed, 811 insertions(+), 637 deletions(-)
 create mode 100644 sound/soc/sof/intel/tracepoints.c

-- 
2.40.1





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux