]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/i915: enable dp mst audio
authorLibin Yang <libin.yang@intel.com>
Thu, 1 Jun 2017 13:19:27 +0000 (16:19 +0300)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 20 Jun 2017 10:18:42 +0000 (12:18 +0200)
commit16c7703921bb57fe9eeefe0d495f757e2b9881ff
tree7df56d08b78c9ca2d76f25f66f90d8a692ba3bce
parentd40f5d392ccb8fb98f87f10dcacebba0ee85a57d
drm/i915: enable dp mst audio

BugLink: http://bugs.launchpad.net/bugs/1694665
This patch adds support for DP MST audio in i915.

Enable audio codec when DP MST is enabled if has_audio flag is set.
Disable audio codec when DP MST is disabled if has_audio flag is set.

Another separated patches to support DP MST audio will be implemented
in audio driver.

This patch is ported from
commit 3708d5e082c3 ("drm/i915: start adding dp mst audio")

And because commit 3708d5e082c3 ("drm/i915: start adding dp mst audio")
breaks MST multi-monitor setups on some platforms, the orignal patch is
reverted by
commit be754b101f70 ("Revert "drm/i915: start adding dp mst audio"")

As the multi-monitor setups issue is fixed, let's port the patch and
enable the dp mst audio.

Signed-off-by: Libin Yang <libin.yang@intel.com>
Cc: Lyude <cpaul@redhat.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1480334827-112273-3-git-send-email-libin.yang@intel.com
(backported from commit 7f9e77545b92bcb894b8e2be5646535e8ba8da9e)
Signed-off-by: Timo Aaltonen <timo.aaltonen@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Colin King <colin.king@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
ubuntu/i915/intel_dp_mst.c