drm/i915: add DP support to intel_enable_ddi
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 15 Oct 2012 18:51:40 +0000 (15:51 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Oct 2012 18:43:44 +0000 (20:43 +0200)
commit6547fef887b057ee860f4266fa2923b7bbbf1850
treeaf5784b84aa6ae9980d1a58c5efee12acb8ffee1
parentfe43d3f5a38e5b7db27f79cb8447cb25a884dfc7
drm/i915: add DP support to intel_enable_ddi

We should only write the DDI_BUF_CTL at this point for HDMI/DVI. For
DP we need to do this earlier, and the values written to the register
are also different.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c