]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
drm/i915: Remove the random SyncFlush during initialisation
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Aug 2010 10:26:59 +0000 (11:26 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:55 +0000 (10:23 +0100)
We have no idea why we request a SyncFlush via INSTPM at that point in
time -- we certainly never check for its completion...

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

index 2dae3be9ebef04284f3e594bbb528f2b9d05640e..315326d5dc2224f863fa70e4a0ee300581f40b49 100644 (file)
@@ -1444,12 +1444,6 @@ static int i915_load_modeset_init(struct drm_device *dev,
        /* FIXME: do pre/post-mode set stuff in core KMS code */
        dev->vblank_disable_allowed = 1;
 
-       /*
-        * Initialize the hardware status page IRQ location.
-        */
-
-       I915_WRITE(INSTPM, (1 << 5) | (1 << 21));
-
        ret = intel_fbdev_init(dev);
        if (ret)
                goto cleanup_irq;