HomeFreeBSD

snd_hda: fix attaching to some AMD Radeon GPUs

Description

snd_hda: fix attaching to some AMD Radeon GPUs

HDMI audio did not work on my older Radeon GPU, the error message
during attach was:

hdac0: hdac_get_capabilities: Invalid corb size (0)

This is fixed by calling hdac_reset() before the HDA device
capabilities are retrieved. This solution was proposed by Andriy Gapon
in 2010, but apparently did not solve the problem reported at the time.

Approved by: christos
Differential Revision: https://reviews.freebsd.org/D50737

(cherry picked from commit dab9ef5448682c3c35e34d857b17ac1c23445321)

Details

Provenance
seAuthored on Jun 12 2025, 7:47 AM
christosCommitted on Jun 13 2025, 12:30 PM
Differential Revision
D50737: Make HDMI audio work on some AMD graphic cards
Parents
rGf1830ad9e727: rtld amd64: extend osrel check to enable tlsbase op on stable/14
Branches
Unknown
Tags
Unknown