]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
drm/i915: enable DDI eDP
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 23 Oct 2012 20:30:08 +0000 (18:30 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 26 Oct 2012 08:24:52 +0000 (10:24 +0200)
Now that all the eDP enablement bits are there, we can actually try to
use the eDP.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c

index b263302f35091d2d7d135835821ad8351d8f41aa..408d6b053744c19c945e7bae448630c8f5a3b374 100644 (file)
@@ -242,8 +242,8 @@ void intel_ddi_init(struct drm_device *dev, enum port port)
 
        switch(port){
        case PORT_A:
-               /* We don't handle eDP and DP yet */
                DRM_DEBUG_DRIVER("Found digital output on DDI port A\n");
+               intel_dp_init(dev, DDI_BUF_CTL_A, PORT_A);
                break;
        /* Assume that the  ports B, C and D are working in HDMI mode for now */
        case PORT_B: