]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/i915: don't enable the plane too early in i9xx_crtc_mode_set
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 11 Apr 2013 14:29:07 +0000 (16:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Apr 2013 07:55:46 +0000 (09:55 +0200)
This is horrible lore and we should be able to get rid of it now
that the lvds/pfit handling code actually does the right thing.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 6e423e04c35e25f1e1c975eb2d55203dd9348f47..8b1cfc92849d7701d572c5ab31bd255bbe6f2cd0 100644 (file)
@@ -4733,8 +4733,6 @@ static int i9xx_crtc_mode_set(struct drm_crtc *crtc,
 
        i9xx_set_pipeconf(intel_crtc);
 
-       intel_enable_pipe(dev_priv, pipe, false);
-
        intel_wait_for_vblank(dev, pipe);
 
        I915_WRITE(DSPCNTR(plane), dspcntr);