[PATCH] ALSA: hda/hdmi: Use only dynamic PCM device allocation

Michael Laß bevan at bi-co.net
Sun Dec 25 12:14:28 UTC 2022


CC'ing amd-gfx as this might be an issue in the amd driver.

This change causes a regression in Linux 6.1 at least on some AMD APUs.
There are reports from users with Ryzen 4750U, 5800U and 5850U chips
where the HDMI sound devices don't show up anymore. I'm affected by
this as well.

Reverting this commit (ef6f5494) makes the HDMI audio devices show up
again. I verified that this is still an issue in current Linux git
(72a85e2b).

Am Donnerstag, dem 22.09.2022 um 10:40 +0200 schrieb Jaroslav Kysela:
> > Per discussion on the alsa-devel mailing list [1], the legacy PIN to PCM
> > device mapping is obsolete nowadays. The maximum number of the simultaneously
> > usable PCM devices is equal to the HDMI codec converters.
> > 
> > Remove the extra PCM devices (beyond the detected converters) and force
> > the use of the dynamic PCM device allocation. The legacy code is removed.
> > 
> > I believe that all HDMI codecs have the jack sensing feature. Move the check
> > to the codec probe function and print a warning, if a codec without this
> > feature is detected.

The corresponding message ("jack not detectable") is not shown on the
affected system.

> > [1] https://lore.kernel.org/alsa-devel/2f37e0b2-1e82-8c0b-2bbd-1e5038d6ecc6@perex.cz/

Links to some reports of this issue:
https://bugzilla.kernel.org/show_bug.cgi?id=216836
https://bbs.archlinux.org/viewtopic.php?pid=2075700
https://bugs.archlinux.org/task/76917
https://www.reddit.com/r/archlinux/comments/zsqq7i/hdmi_audio_is_broken_after_updating_kernel_to_611

Best regards,
Michael


More information about the amd-gfx mailing list