[Bug 70905] display turns off with intel(0): sna_mode_redisplay: page flipping failed, disabling CRTC:3 (pipe=0)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 19 04:52:16 PST 2014


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

--- Comment #23 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ok, but I don't think that assert explains the pageflip failure though. :(

This should fix the assert:

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 10ee9e4..000d9ab 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -4530,7 +4530,17 @@ void sna_mode_redisplay(struct sna *sna)
                return;
        }

-       assert(sna_pixmap(sna->front)->move_to_gpu == NULL);
+       {
+               struct sna_pixmap *priv;
+
+               priv = sna_pixmap(sna->front);
+               assert(priv != NULL);
+
+               if (priv->move_to_gpu)
+                       (void)priv->move_to_gpu(sna, priv, 0);
+
+               assert(priv->move_to_gpu == NULL);
+       }

        for (i = 0; i < config->num_crtc; i++) {
                xf86CrtcPtr crtc = config->crtc[i];

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140119/8d755317/attachment.html>


More information about the intel-gfx-bugs mailing list