[v2,0/5] ALSA: hda - Add DP-MST support for NVIDIA codecs
mbox series

Message ID 20191115095606.22392-1-nmahale@nvidia.com
Headers show
Series
  • ALSA: hda - Add DP-MST support for NVIDIA codecs
Related show

Message

Nikhil Mahale Nov. 15, 2019, 9:56 a.m. UTC
Today, DisplayPort multi-stream transport (DP-MST) audio is not
supported on codec drivers which don't use the audio component
(acomp) binding.

The commit ade49db337a9 (ALSA: hda/hdmi - Allow audio component for
AMD/ATI and Nvidia HDMI) added the DRM audio component binding for
the NVIDIA codec drivers, but the traditional HD-audio unsolicited
event code path is still in use by the proprietary NVIDIA graphics
driver.

This patch set adds DP-MST audio support for non-acomp codec drivers
which use the traditional HD-audio unsolicited event code path. This
patch set adds DP-MST support for NVIDIA codecs.

The patch set has been tested for HDMI/DP-SST/DP-MST(4 dp-mst audio
streams) configurations on NVIDIA Kepler and Maxwell GPUs, using
both the nouveau driver and the proprietary NVIDIA graphics driver.

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 conn list support
  ALSA: hda - Add DP-MST support for non-acomp codecs
  ALSA: hda - Add DP-MST support for NVIDIA codecs

 sound/pci/hda/hda_codec.c  |   5 +-
 sound/pci/hda/hda_jack.c   | 143 +++++++++++++++++--------
 sound/pci/hda/hda_jack.h   | 107 +++++++++++++++++--
 sound/pci/hda/patch_hdmi.c | 256 +++++++++++++++++++++++++++++++--------------
 4 files changed, 378 insertions(+), 133 deletions(-)