]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: Intel: avs: Fixes and new platforms support
authorMark Brown <broonie@kernel.org>
Wed, 21 Feb 2024 00:52:26 +0000 (00:52 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 21 Feb 2024 00:52:26 +0000 (00:52 +0000)
Merge series from Cezary Rojewski <cezary.rojewski@intel.com>:

The avs-driver continues to be utilized on more recent Intel machines.
As TGL-based (cAVS 2.5) e.g.: RPL, inherit most of the functionality
from previous platforms:

SKL <- APL <- CNL <- ICL <- TGL

rather than putting everything into a single file, the platform-specific
bits are split into cnl/icl/tgl.c files instead. Makes the division clear
and code easier to maintain.

Layout of the patchset:

First are two changes combined together address the sound-clipping
problem, present when only one stream is running - specifically one
CAPTURE stream.

Follow up is naming-scheme adjustment for some of the existing functions
what improves code incohesiveness. As existing IPC/IRQ code operates
solely on cAVS 1.5 architecture, it needs no abstraction. The situation
changes when newer platforms come into the picture. Thus the next two
patches abstract the existing IPC/IRQ handlers so that majority of the
common code can be re-used.

The ICCMAX change stands out a bit - the AudioDSP firmware loading
procedure differs on ICL-based platforms (and onwards) and having a
separate commit makes the situation clear to the developers who are
going to support the solution from LTS perspective. For that reason
I decided not to merge it into the commit introducing the icl.c file.

12 files changed:
1  2 
include/sound/tas2781.h
sound/pci/hda/tas2781_hda_i2c.c
sound/soc/codecs/cs42l43.c
sound/soc/codecs/rt5645.c
sound/soc/codecs/tas2781-comlib.c
sound/soc/intel/avs/Makefile
sound/soc/intel/avs/avs.h
sound/soc/intel/avs/core.c
sound/soc/intel/avs/topology.c
sound/soc/sof/amd/acp.c
sound/soc/sof/ipc3-topology.c
sound/soc/sof/ipc4-pcm.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index a3fad926d0fb098d5d7ef58563b1a6623ab7c804,382bd00ccf4cefbf6db683ee03c1d6b92cba6f77..5480500337f8572df38b2c586497f73959ca4ca5
@@@ -1,10 -1,9 +1,10 @@@
  # SPDX-License-Identifier: GPL-2.0-only
  
  snd-soc-avs-objs := dsp.o ipc.o messages.o utils.o core.o loader.o \
 -                  topology.o path.o pcm.o board_selection.o control.o
 +                  topology.o path.o pcm.o board_selection.o control.o \
 +                  sysfs.o
  snd-soc-avs-objs += cldma.o
- snd-soc-avs-objs += skl.o apl.o
+ snd-soc-avs-objs += skl.o apl.o cnl.o icl.o tgl.o
  
  snd-soc-avs-objs += trace.o
  # tell define_trace.h where to find the trace header
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge