mbox series

[v2,00/10] ASoC: Intel: avs: Add support for FCL platform

Message ID 20250407112352.3720779-1-cezary.rojewski@intel.com (mailing list archive)
Headers show
Series ASoC: Intel: avs: Add support for FCL platform | expand

Message

Cezary Rojewski April 7, 2025, 11:23 a.m. UTC
The patchset is fairly straightforward - add support for Automotive
platforms based on new DSP architecture, Frisco Lake (FCL), a
PantherLake (PTL)-based platform is an example of.  The cAVS
architecture which all Intel AudioDSP followed for years ends with
RaptorLake familty.  Like all the major updates, this one received new
name too - Audio Context Engine (ACE).

While the range of improvements and changes on the firmware/hardware
side is large, software survives this evolution without need of any
major refactoring.  Additional hardware changes brought with LunarLake
(LNL, ACE 2.0) call for update in PCM-area.  The GPDMAs previously
utilized for non-HDAudio transfer types are no longer there, everything
is running through HDAudio LINK on the Back-End side now.

In terms of code, the mtl.c file, provided with patch 05 'ASoC: Intel:
avs: PTL-based platforms support' hosts largest number of new handlers -
new IRQ and INT control and DSP-cores management.  Combined with lnl.c
and ptl.c which layer the architecture changes done over ACE
generations, provide support for PTL-based platforms e.g.: FCL.
The inheritance in summary:

	mtl.c <- lnl.c <- ptl.c

The functional update to HDAudio library is there to help avs-driver
read certain capabilities directly from the hardware.  Once the pointer
to LINK is obtained, there is no need to call AudioDSP firmware to get
the caps.

Changes in v2:
- dropped the pci_ids and their context descriptors for MTL/LNL
- merged MTL/LNL/PTL patches together, given the above, there is no need
  to keep them separate


Amadeusz Sławiński (1):
  ASoC: Intel: avs: Add boards definitions for FCL platform

Cezary Rojewski (9):
  ALSA: hda: Allow to fetch hlink by ID
  ASoC: Intel: avs: Ignore Vendor-space manipulation for ACE
  ASoC: Intel: avs: Read HW capabilities when possible
  ASoC: Intel: avs: Relocate DSP status registers
  ASoC: Intel: avs: PTL-based platforms support
  ASoC: Intel: avs: PCM operations for LNL-based platforms
  ASoC: Intel: avs: Dynamically assign ops for non-HDAudio DAIs
  ASoC: Intel: avs: Conditionally add DMA config when creating Copier
  ALSA: hda: Select avs-driver by default on FCL

 include/linux/pci_ids.h               |   1 +
 include/sound/hdaudio_ext.h           |   6 +
 sound/hda/ext/hdac_ext_controller.c   |  19 +++
 sound/hda/intel-dsp-config.c          |   4 +
 sound/soc/intel/avs/Makefile          |   6 +-
 sound/soc/intel/avs/avs.h             |  11 +-
 sound/soc/intel/avs/board_selection.c |   3 +-
 sound/soc/intel/avs/core.c            |  60 +++++++-
 sound/soc/intel/avs/dsp.c             |   2 -
 sound/soc/intel/avs/lnl.c             |  27 ++++
 sound/soc/intel/avs/loader.c          |  11 +-
 sound/soc/intel/avs/messages.h        |  29 ++++
 sound/soc/intel/avs/mtl.c             | 200 ++++++++++++++++++++++++++
 sound/soc/intel/avs/path.c            |  51 ++++++-
 sound/soc/intel/avs/pcm.c             | 133 ++++++++++++-----
 sound/soc/intel/avs/ptl.c             |  98 +++++++++++++
 sound/soc/intel/avs/registers.h       |  40 +++++-
 17 files changed, 648 insertions(+), 53 deletions(-)
 create mode 100644 sound/soc/intel/avs/lnl.c
 create mode 100644 sound/soc/intel/avs/mtl.c
 create mode 100644 sound/soc/intel/avs/ptl.c

Comments

Girdwood, Liam R April 7, 2025, 1:31 p.m. UTC | #1
On Mon, 2025-04-07 at 13:23 +0200, Cezary Rojewski wrote:
> Changes in v2:
> - dropped the pci_ids and their context descriptors for MTL/LNL
> - merged MTL/LNL/PTL patches together, given the above, there is no
> need
>   to keep them separate


Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Mark Brown April 8, 2025, 12:49 p.m. UTC | #2
On Mon, 07 Apr 2025 13:23:42 +0200, Cezary Rojewski wrote:
> The patchset is fairly straightforward - add support for Automotive
> platforms based on new DSP architecture, Frisco Lake (FCL), a
> PantherLake (PTL)-based platform is an example of.  The cAVS
> architecture which all Intel AudioDSP followed for years ends with
> RaptorLake familty.  Like all the major updates, this one received new
> name too - Audio Context Engine (ACE).
> 
> [...]

Applied to

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

Thanks!

[01/10] ALSA: hda: Allow to fetch hlink by ID
        commit: 318c9eef63dd30b59dc8d63c7205ae997aa1e524
[02/10] ASoC: Intel: avs: Ignore Vendor-space manipulation for ACE
        commit: acd2563f30886730757062b9b3efe8043daabbc3
[03/10] ASoC: Intel: avs: Read HW capabilities when possible
        commit: b9a3ec604993074eb6f5d08b14fb7913d1fae48b
[04/10] ASoC: Intel: avs: Relocate DSP status registers
        commit: 75f3c607b1fa1f4d42cde8377cd2276ab01e287d
[05/10] ASoC: Intel: avs: PTL-based platforms support
        commit: af1c968d25c7c44cd2738349c479f8b610a3fc40
[06/10] ASoC: Intel: avs: PCM operations for LNL-based platforms
        commit: 716643786f140f2d68f22424c75b9198ffe14290
[07/10] ASoC: Intel: avs: Dynamically assign ops for non-HDAudio DAIs
        commit: 86b59ac80dc5a136bc434c12d37420486eba48cb
[08/10] ASoC: Intel: avs: Conditionally add DMA config when creating Copier
        commit: 796b6ab6344e3650f0da92d6f2b8a7090fe6351d
[09/10] ASoC: Intel: avs: Add boards definitions for FCL platform
        commit: 2b2e091271b0e2a7677619d4d2ccfc9bc6f1cb96
[10/10] ALSA: hda: Select avs-driver by default on FCL
        commit: 387ddbc7d474967589de15043b47a441f95a50f2

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