[Bug 75502] [SNB, IVB] Page flips hang indefinitely, apparently waiting for mmio writes that never happen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 14 03:42:15 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75502

--- Comment #26 from Chris Wilson <chris at chris-wilson.co.uk> ---
They confirm that the dspsurf is still at 0x00372000. The earlier theories that
another write happened are debunked. So it has to be something in the simple
MI_DISPLAY_FLIP command packets that causes the CS to simply ignore it.

Try,

diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 0326ea8..1a680bf 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8842,6 +8842,10 @@ static int intel_gen6_queue_flip(struct drm_device *dev,
        if (ret)
                goto err;

+       ret = intel_ring_cacheline_align(ring);
+       if (ret)
+               goto err_unpin;
+
        ret = intel_ring_begin(ring, 4);
        if (ret)
                goto err_unpin;

(current drm-intel-nightly already has that for ivb)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140314/15b478cc/attachment.html>


More information about the intel-gfx-bugs mailing list