drm/i915: don't setup hdmi for port D edp in ddi_init
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Apr 2013 21:28:35 +0000 (23:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 May 2013 09:18:59 +0000 (11:18 +0200)
commit21a8e6a4853b2ed39fa4c5188a710f2cf1b92026
tree7cb0c69ee85db7dbb92f0918d2d8ca5ab328c917
parent2b87f3b1bab1df814057ff551f4fc49c22a7fde9
drm/i915: don't setup hdmi for port D edp in ddi_init

dp_init_connector adjusts the encoder type if it is a eDP panel. Use
that to decide whether we should set up a hdmi connector or not.

To do so reorder the hdmi connector setup sequence in ddi_init a bit.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c