Public bug reported:

Description:
This bug targets the linux-amd-embedded kernel (Ubuntu 26.04 Resolute, 7.0, 
amd64). linux-amd-embedded is not yet available in the archive, so the bug is 
filed against the linux package for now.

[Impact]
The AMD ACP 7.x audio in linux-amd-embedded has no machine for codecs connected 
to the I2S/TDM controllers without a dedicated machine driver, the I2S/TDM mode 
cannot be selected, and the ALSA buffers are too small for high sample rate 
streams with many channels.

[Fix]
 * UBUNTU: SAUCE patches from the AMD patch set:
   - ASoC: amd: acp: ACP72 support in machine and platform drivers
   - ASoC: amd: acp: Increase buffer size and period size
   - ASoC: amd: acp: fix ACP7.x machine selection, clocking and DMA limits
 * The conflicts with the ADAU1761 support for ACP 7.x in linux-amd-embedded 
(LP: #2172610) are resolved, the ADAU1761 machine is kept.

[Test Plan]
 * Build the linux-amd-embedded kernel for all flavours and check that 
updateconfigs passes.
 * Boot the kernel in an LXD VM and load the snd-acp-legacy-mach and snd-acp70 
modules.
 * On hardware with the BIOS audio configuration "3I2S + 1 REFCLK + 1 INTR", 
check that the ACP 7.x sound card is registered and that playback and capture 
work on the I2S/TDM interfaces.

[Where problems could occur]
The changes affect the AMD ACP audio machine and platform drivers. On ACP 7.x, 
the legacy ACP driver is always used, independent of the BIOS audio 
configuration, and the ACP does not provide the I2S master clock, so a codec 
that expects the clock from the ACP does not work. This includes the ADAU1761 
machine (LP: #2172610), which uses the ACP as clock provider, until the 
follow-up ADAU1761 changes. Without a matching ACPI machine, the first ACP 7.x 
machine is used. A regression could cause a missing sound card, or no or 
distorted audio on the ACP 7.x I2S/TDM interfaces. The buffer size change is 
limited to ACP 7.x, older ACP platforms keep their limits.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Invalid

** Affects: linux (Ubuntu Resolute)
     Importance: High
     Assignee: Krystian Kaniewski (kkaniewski)
         Status: Fix Committed

** Also affects: linux (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Invalid

** Changed in: linux (Ubuntu Resolute)
       Status: New => Fix Committed

** Changed in: linux (Ubuntu Resolute)
   Importance: Undecided => High

** Changed in: linux (Ubuntu Resolute)
     Assignee: (unassigned) => Krystian Kaniewski (kkaniewski)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175716

Title:
  linux-amd-embedded: Add I2S/TDM support for the ACP 7.x audio

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2175716/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to