drm/i915: Set alternate aux for DDI-E
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Sat, 8 Aug 2015 00:01:16 +0000 (17:01 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Aug 2015 15:50:39 +0000 (17:50 +0200)
commit500ea70d503ed9ba448611049a4a718c2761a5f2
tree5d22bc535ab8b2c050828213c4525ece667091e3
parenta513e3d75a3bb41cf2648764a2567879f6d138e5
drm/i915: Set alternate aux for DDI-E

There is no correspondent Aux channel for DDI-E.

So we need to rely on VBT to let us know witch one
is being used instead.

v2: Removing some trailing spaces and giving proper
credit to Xiong that added a nice way to avoid port
conflicts by setting supports_dp = 0 when using
equivalent aux for DDI-E.

Credits-to: Xiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Xiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dp.c