[PATCH v2 0/1][SRU][H/I/OEM-5.13/OEM-5.14] Fix HDMI/DP audio output not detected problem

Chris Chiu chris.chiu at canonical.com
Tue Oct 26 13:51:12 UTC 2021


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

[Impact]
Few recent AMD systems shows "snd_hda_intel 0000:00:1f.3: azx_get_response timeout" and fail to detect the HDMI/DP audio output device when connects to external monitor. It will work magically when re-loading the driver.

[Fix]
Backport the upstream fix c0f1886de7e1 ("Allow repeatedly probing on codec configuration errors) from 5.15.0 rc. It adds the capability for retrying the probe upon codec probe errors on the certain AMD platforms.

[Test]
1. Connect the external monitor to particular affected AMD systems with HDMI or DisplayPort.
2. Go to Audio Settings to check if the HDMI/DP audio output device exist or not.

[Where problems could occur]
Should be low risk, it adds the chance for retrying codec probe and won't affect machines which used to work.

v2: remove SRU for U since it's already in unstable 5.15

Takashi Iwai (1):
  ALSA: hda: intel: Allow repeatedly probing on codec configuration
    errors

 include/sound/hda_codec.h      |  1 +
 sound/pci/hda/hda_bind.c       | 20 +++++++++++---------
 sound/pci/hda/hda_codec.c      |  1 +
 sound/pci/hda/hda_controller.c | 24 ++++++++++++++++--------
 sound/pci/hda/hda_controller.h |  2 +-
 sound/pci/hda/hda_intel.c      | 29 +++++++++++++++++++++++------
 sound/pci/hda/hda_intel.h      |  4 +++-
 7 files changed, 56 insertions(+), 25 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list