mbox series

[v3,0/4] ALSA: hda - Add DP-MST support for NVIDIA codecs

Message ID 20191119084710.29267-1-nmahale@nvidia.com (mailing list archive)
Headers show
Series ALSA: hda - Add DP-MST support for NVIDIA codecs | expand

Message

Nikhil Mahale Nov. 19, 2019, 8:47 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 (4):
  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

 sound/pci/hda/hda_jack.c   | 151 ++++++++++++++++++--------
 sound/pci/hda/hda_jack.h   | 107 ++++++++++++++++--
 sound/pci/hda/patch_hdmi.c | 263 +++++++++++++++++++++++++++++++--------------
 3 files changed, 385 insertions(+), 136 deletions(-)

Comments

Takashi Iwai Nov. 19, 2019, 10:57 a.m. UTC | #1
On Tue, 19 Nov 2019 09:47:06 +0100,
Nikhil Mahale wrote:
> 
> 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 (4):
>   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

OK, you've done in time for 5.5 :)
Now applied all four patches.

Kai, please let me know if the intel CI catches any issue with these
changes.


Thanks!

Takashi
Kai Vehmanen Nov. 19, 2019, 1:40 p.m. UTC | #2
Hi Takashi and Nikhil,

On Tue, 19 Nov 2019, Takashi Iwai wrote:

> OK, you've done in time for 5.5 :)
> Now applied all four patches.
> 
> Kai, please let me know if the intel CI catches any issue with these
> changes.

tests just completed and no issues found so seem good to go.

Br, Kai