drm/i915: Enable HDMI on DDI-E
authorXiong Zhang <xiong.y.zhang@intel.com>
Mon, 17 Aug 2015 08:04:04 +0000 (16:04 +0800)
committerJani Nikula <jani.nikula@intel.com>
Mon, 31 Aug 2015 15:27:02 +0000 (18:27 +0300)
commit11c1b657c42f65c43f866b611956ef0a10bedafc
tree0699511b021463c4aa53377dbb40e90fe8bfc907
parent54875571bbfde00fc63741715c531cbb5246c3b2
drm/i915: Enable HDMI on DDI-E

DDI-E doesn't have the correspondent GMBUS pin.

We rely on VBT to tell us which one it being used instead.

The DVI/HDMI on shared port couldn't exist.

This patch isn't tested without hardware wchich has HDMI
on DDI-E.

v2: fix trailing whitespace
v3: MISSING_CASE take place of BUG()

Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_hdmi.c