drm/i915: Disable RCS flips on Ivybridge
authorChris Wilson <[email protected]>
Tue, 8 Jul 2014 09:40:29 +0000 (10:40 +0100)
committerDaniel Vetter <[email protected]>
Tue, 8 Jul 2014 11:16:02 +0000 (13:16 +0200)
We currently see random GPU hangs when using RCS flips with multiple
pipes on Ivybridge. Now that we have mmio flips, we can fairly cheaply
fallback to using CPU driven flips instead.

Signed-off-by: Chris Wilson <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77104
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_display.c

index 8043e4b51ecd1230643a96c72606c57be1cf420c..8728c8885339b4f06c49d02bce7909de1c123b3e 100644 (file)
@@ -9658,6 +9658,8 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc,
 
        if (IS_VALLEYVIEW(dev)) {
                ring = &dev_priv->ring[BCS];
+       } else if (IS_IVYBRIDGE(dev)) {
+               ring = &dev_priv->ring[BCS];
        } else if (INTEL_INFO(dev)->gen >= 7) {
                ring = obj->ring;
                if (ring == NULL || ring->id != RCS)