[SRU][B/OEM-B][PATCH 0/9] alsa/hdmi: support nvidia mst hdmi/dp audio (b/oem-b)

Hui Wang hui.wang at canonical.com
Tue Mar 17 02:19:07 UTC 2020

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

This patchset will add support of mst audio for nvidia hdmi/dp, this
patchset changes lots of common code on hda_jack and hdmi codec, so it
is not easy to say it is 100% safe for other machines, but our oem
project needs this patchset to be backported to ubuntu kernel, because
the tight sechdule of oem project, we backport this patchset to B and
OEM-B first, if the hdmi audio works well for a period of time after
this patchset is merged, I will backport this patchset to focal, maybe
eoan as well.

On some LENOVO I+N machines, when setting the graphic mode to discrete,
The dp/hdmi audio on the Docking Gen2 can't work with this machine +
LENOVO Docking Gen2 

Nvidia developer submit the mst audio support to 5.5-rcN and 5.6-RC1,
those patches could fix this issue.

[Test Case]
set the machien to discrete, plug the dock gen2 to it, then boot, after
booting, plug hdmi or dp to dock gen2, the hdmi or dp audio works.

test other machines without Nvidia graphic or without gen2, their hdmi/dp
audio still work.

[Regression Risk]
Low, those patches come from mainline kernel, I have tested those patches
on the machiens with or without nvidia hdmi, and on the machines with or without
docks, all worked well as before.

Kai Vehmanen (3):
  ALSA: hda: hdmi - fix regression in connect list handling
  ALSA: hda: hdmi - fix kernel oops caused by invalid PCM idx
  ALSA: hda: hdmi - preserve non-MST PCM routing for Intel platforms

Nikhil Mahale (5):
  ALSA: hda - Rename snd_hda_pin_sense to snd_hda_jack_pin_sense
  ALSA: hda - Add DP-MST jack support
  ALSA: hda - Add DP-MST support for non-acomp codecs
  ALSA: hda - Add DP-MST support for NVIDIA codecs
  ALSA: hda - Fix DP-MST support for NVIDIA codecs

Takashi Iwai (1):
  ALSA: hda: hdmi - Keep old slot assignment behavior for Intel

 sound/pci/hda/hda_jack.c   | 149 ++++++++++----
 sound/pci/hda/hda_jack.h   | 102 +++++++++-
 sound/pci/hda/patch_hdmi.c | 389 ++++++++++++++++++++++++-------------
 3 files changed, 457 insertions(+), 183 deletions(-)


More information about the kernel-team mailing list