воскресенье

[Bug 2077941] Re: AMD ACP7.1 support

Verified linux-oem-6.11/noble-proposed version 6.11.0-1007.7.

** Tags removed: verification-needed-noble-linux-oem-6.11
** Tags added: verification-done-noble-linux-oem-6.11

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2077941

Title:
AMD ACP7.1 support

Status in HWE Next:
New
Status in linux package in Ubuntu:
Fix Released
Status in linux-oem-6.11 package in Ubuntu:
Invalid
Status in linux source package in Noble:
Invalid
Status in linux-oem-6.11 source package in Noble:
Fix Committed
Status in linux source package in Oracular:
Won't Fix
Status in linux-oem-6.11 source package in Oracular:
Invalid
Status in linux source package in Plucky:
Fix Released
Status in linux-oem-6.11 source package in Plucky:
Invalid

Bug description:
[SRU Justification]

BugLink: https://bugs.launchpad.net/bugs/2077941

[Impact]

AMD Audio Co-Processor 7.1 not supported.
```
$ sudo dmesg|grep acp
snd_acp_pci 0000:c4:00.5: enabling device (0000 -> 0002)
snd_acp_pci 0000:c4:00.5: Unsupported device revision:0x71
snd_acp_pci 0000:c4:00.5: probe with driver snd_acp_pci failed with error -22
```

[Fix]

Two commits from v6.12-rc1 needed:
* 8dc06d702841d ASoC: amd: acp: add ZSC control register programming sequence
* 0d96003480a8e ASoC: amd: acp: add legacy driver support for ACP7.1 based platforms

The first commit about ZSC control is to address power consumption
problem for ACP >= 7.0.

[Test Case]

```
$ sudo dmesg|grep acp
snd_acp_pci 0000:c4:00.5: enabling device (0000 -> 0002)
$ alsactl info
#
# Sound card
#
- card: 2
id: acppdmmach
name: acp-pdm-mach
longname: AMD-BirmanPlus_KRK-TXB1080aA
driver_name: acp-pdm-mach
mixer_name:
components:
controls_count: 0
pcm:
- stream: CAPTURE
devices:
- device: 0
id: (null) dmic-hifi-0
name:
subdevices:
- subdevice: 0
name: subdevice #0
```

[Where problems could occur]

New hardware. And while we're expecting SoF on ACP7.1, there shall be
more fixing/refactoring patches to come.

[Other Info]

New hardware support. Nominating only OEM-6.11, because Plucky should
be based on at least v6.12, and don't want to introduce new hardware
support to Oracular.

========== original bug report ==========

Need following fixes:
* v6.12-rc1 commit c35fad6f7e0d6 ("ASoC: amd: acp: add ZSC control register programming sequence")
* v6.12-rc1 commit c6f3abbbdc999 ("ASoC: amd: acp: add legacy driver support for ACP7.1 based platforms")
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: test 1265 F.... pipewire
 /dev/snd/controlC0: test 1269 F.... wireplumber
 /dev/snd/controlC1: test 1269 F.... wireplumber
CRDA: N/A
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2024-10-17 (5 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
IwConfig:
 lo no wireless extensions.

 enp195s0f0 no wireless extensions.
MachineType: AMD BirmanPlus-KRK
Package: linux-oem-6.11 (not installed)
ProcFB: 0 simpledrmdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-1006-oem root=UUID=db52161e-582f-42ac-b67f-5ea18967c1c1 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.11.0-1006.6-oem 6.11.0
RelatedPackageVersions:
 linux-restricted-modules-6.11.0-1006-oem N/A
 linux-backports-modules-6.11.0-1006-oem N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2.4
RfKill:

Tags: noble
Uname: Linux 6.11.0-1006-oem x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: False
dmi.bios.date: 10/09/2024 03:50:53
dmi.bios.release: 0.0
dmi.bios.vendor: AMD
dmi.bios.version: TXB1080aA
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: BirmanPlus-KRK
dmi.board.vendor: AMD
dmi.board.version: RevC
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: AMD
dmi.chassis.version: 12345
dmi.ec.firmware.release: 0.40
dmi.modalias: dmi:bvnAMD:bvrTXB1080aA:bd10/09/2024035053:br0.0:efr0.40:svnAMD:pnBirmanPlus-KRK:pvrTXB1080aA:rvnAMD:rnBirmanPlus-KRK:rvrRevC:cvnAMD:ct10:cvr12345:sku12345678:
dmi.product.family: KRK
dmi.product.name: BirmanPlus-KRK
dmi.product.sku: 12345678
dmi.product.version: TXB1080aA
dmi.sys.vendor: AMD
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/seq: test 1225 F.... pipewire
 /dev/snd/controlC0: test 1229 F.... wireplumber
 /dev/snd/controlC2: test 1229 F.... wireplumber
 /dev/snd/controlC1: test 1229 F.... wireplumber
CRDA: N/A
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2024-10-17 (6 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
IwConfig:
 lo no wireless extensions.

 enp195s0f0 no wireless extensions.
MachineType: AMD BirmanPlus-KRK
Package: linux-oem-6.11
ProcFB: 0 simpledrmdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.11.0-9006-oem root=UUID=db52161e-582f-42ac-b67f-5ea18967c1c1 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.11.0-9006.6+exp.21-oem 6.11.0
RelatedPackageVersions:
 linux-restricted-modules-6.11.0-9006-oem N/A
 linux-backports-modules-6.11.0-9006-oem N/A
 linux-firmware 20240318.git3b128b60-0ubuntu2.4
RfKill:

Tags: noble
Uname: Linux 6.11.0-9006-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 10/09/2024 03:50:53
dmi.bios.release: 0.0
dmi.bios.vendor: AMD
dmi.bios.version: TXB1080aA
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: BirmanPlus-KRK
dmi.board.vendor: AMD
dmi.board.version: RevC
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: AMD
dmi.chassis.version: 12345
dmi.ec.firmware.release: 0.40
dmi.modalias: dmi:bvnAMD:bvrTXB1080aA:bd10/09/2024035053:br0.0:efr0.40:svnAMD:pnBirmanPlus-KRK:pvrTXB1080aA:rvnAMD:rnBirmanPlus-KRK:rvrRevC:cvnAMD:ct10:cvr12345:sku12345678:
dmi.product.family: KRK
dmi.product.name: BirmanPlus-KRK
dmi.product.sku: 12345678
dmi.product.version: TXB1080aA
dmi.sys.vendor: AMD

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2077941/+subscriptions

Комментариев нет:

Отправить комментарий