]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: Allow LVDS to be on pipe A for Ironlake+
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 4 Dec 2010 17:49:46 +0000 (17:49 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 5 Dec 2010 00:37:37 +0000 (00:37 +0000)
Previously we enabled this for gen4, only to have to revert it due to it
causing a large number of spurious wakeups. Try again hoping that the
hardware has become more sane in the mean time...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_lvds.c

index d07055c4d84fb793f99b253f8f4dba293a273a62..6d1106eafcfde95794497967875c19bb8dfb77ca 100644 (file)
@@ -907,6 +907,8 @@ bool intel_lvds_init(struct drm_device *dev)
 
        intel_encoder->clone_mask = (1 << INTEL_LVDS_CLONE_BIT);
        intel_encoder->crtc_mask = (1 << 1);
+       if (INTEL_INFO(dev)->gen >= 5)
+               intel_encoder->crtc_mask |= (1 << 0);
        drm_encoder_helper_add(encoder, &intel_lvds_helper_funcs);
        drm_connector_helper_add(connector, &intel_lvds_connector_helper_funcs);
        connector->display_info.subpixel_order = SubPixelHorizontalRGB;