From: Cezary Rojewski <cezary.rojewski@intel.com>
To: broonie@kernel.org
Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org,
tiwai@suse.com, perex@perex.cz,
amadeuszx.slawinski@linux.intel.com,
pierre-louis.bossart@linux.intel.com, hdegoede@redhat.com,
Cezary Rojewski <cezary.rojewski@intel.com>
Subject: [PATCH 00/10] ASoC: Intel: avs: Fixes and new platforms support
Date: Tue, 20 Feb 2024 12:50:25 +0100 [thread overview]
Message-ID: <20240220115035.770402-1-cezary.rojewski@intel.com> (raw)
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.
Cezary Rojewski (10):
ASoC: Intel: avs: L1SEN reference counted
ASoC: Intel: avs: Fix sound clipping in single capture scenario
ASoC: Intel: avs: Prefix SKL/APL-specific members
ASoC: Intel: avs: Abstract IPC handling
ASoC: Intel: avs: Abstract IRQ handling
ASoC: Intel: avs: CNL-based platforms support
ASoC: Intel: avs: ICL-based platforms support
ASoC: Intel: avs: TGL-based platforms support
ASoC: Intel: avs: ICCMAX recommendations for ICL+ platforms
ASoC: Intel: avs: Populate board selection with new I2S entries
include/sound/hda_register.h | 2 +
sound/soc/intel/avs/Makefile | 2 +-
sound/soc/intel/avs/apl.c | 58 ++++----
sound/soc/intel/avs/avs.h | 66 ++++++---
sound/soc/intel/avs/board_selection.c | 85 +++++++++++
sound/soc/intel/avs/cnl.c | 61 ++++++++
sound/soc/intel/avs/core.c | 160 ++++++++++++++++++---
sound/soc/intel/avs/icl.c | 197 ++++++++++++++++++++++++++
sound/soc/intel/avs/ipc.c | 66 +++------
sound/soc/intel/avs/loader.c | 2 +-
sound/soc/intel/avs/messages.c | 1 +
sound/soc/intel/avs/messages.h | 38 ++++-
sound/soc/intel/avs/pcm.c | 77 +++++++++-
sound/soc/intel/avs/registers.h | 21 ++-
sound/soc/intel/avs/skl.c | 59 +++++---
sound/soc/intel/avs/tgl.c | 54 +++++++
16 files changed, 807 insertions(+), 142 deletions(-)
create mode 100644 sound/soc/intel/avs/cnl.c
create mode 100644 sound/soc/intel/avs/icl.c
create mode 100644 sound/soc/intel/avs/tgl.c
--
2.25.1
next reply other threads:[~2024-02-20 11:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-20 11:50 Cezary Rojewski [this message]
2024-02-20 11:50 ` [PATCH 01/10] ASoC: Intel: avs: L1SEN reference counted Cezary Rojewski
2024-02-20 11:50 ` [PATCH 02/10] ASoC: Intel: avs: Fix sound clipping in single capture scenario Cezary Rojewski
2024-02-20 11:50 ` [PATCH 03/10] ASoC: Intel: avs: Prefix SKL/APL-specific members Cezary Rojewski
2024-02-20 11:50 ` [PATCH 04/10] ASoC: Intel: avs: Abstract IPC handling Cezary Rojewski
2024-02-20 11:50 ` [PATCH 05/10] ASoC: Intel: avs: Abstract IRQ handling Cezary Rojewski
2024-02-20 11:50 ` [PATCH 06/10] ASoC: Intel: avs: CNL-based platforms support Cezary Rojewski
2024-02-20 11:50 ` [PATCH 07/10] ASoC: Intel: avs: ICL-based " Cezary Rojewski
2024-02-20 11:50 ` [PATCH 08/10] ASoC: Intel: avs: TGL-based " Cezary Rojewski
2024-02-20 11:50 ` [PATCH 09/10] ASoC: Intel: avs: ICCMAX recommendations for ICL+ platforms Cezary Rojewski
2024-02-20 11:50 ` [PATCH 10/10] ASoC: Intel: avs: Populate board selection with new I2S entries Cezary Rojewski
2024-02-21 12:57 ` [PATCH 00/10] ASoC: Intel: avs: Fixes and new platforms support Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240220115035.770402-1-cezary.rojewski@intel.com \
--to=cezary.rojewski@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=amadeuszx.slawinski@linux.intel.com \
--cc=broonie@kernel.org \
--cc=hdegoede@redhat.com \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox