]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - add DP MST audio support
authorLibin Yang <libin.yang@linux.intel.com>
Thu, 12 Jan 2017 08:04:53 +0000 (16:04 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 12 Jan 2017 09:06:47 +0000 (10:06 +0100)
commitf60dc5251d8e6aadb267d5d052b2bb0966cc5e55
tree91c90685a96ca5d47f1a02b41da2e44f2c07e52a
parent431ef62c384611e27550e58c0a92266ef5cb6204
ALSA: hda - add DP MST audio support

This patch adds the DP MST audio support on i915 platform and
it will enable dyn_pcm_assign feature.

DP MST supports several device entry on the same port and each
device entry can map to one pcm stream. For example, on i915,
there are 3 pins, and each pin has 3 device entries. This means
there should be 3x3 pcms. However, there is only 3 pipe lines in
i915. This means 3 pcms are actived at most at the same moment.
We will create 5 pcms (pin number + dev entry num - 1) in this case.
For the details, please refer commit 95a68bf02428
("ALSA: hda - hdmi dynamically bind PCM to pin when monitor hotplug")

Each device entry is a virtual pin. It is described by pin_nid and dev_id
in struct hdmi_spec_per_pin.

Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Libin Yang <libin.yang@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1484208294-8637-3-git-send-email-libin.yang@intel.com
sound/pci/hda/hda_codec.c
sound/pci/hda/patch_hdmi.c