xf86-video-intel: src/sna/sna_dri2.c

Chris Wilson ickle at kemper.freedesktop.org
Sat Aug 22 11:11:45 PDT 2015


 src/sna/sna_dri2.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3e07681c1948db240b29928bb1e129e559733537
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Aug 22 19:10:47 2015 +0100

    sna/dri2: Stop trying to attach vblank events to pixmaps
    
    Once again I tried to add an event to a pixmap, but only Windows carry
    the CRTC tracking information. Stop it.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 3592dd5..500355c 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -3334,6 +3334,8 @@ blit:
 		front->flags = back->flags;
 		type = DRI2_BLIT_COMPLETE;
 	}
+	if (draw->type == DRAWABLE_PIXMAP)
+		goto fake;
 skip:
 	DBG(("%s: unable to show frame, unblocking client\n", __FUNCTION__));
 	if (crtc == NULL && (sna->flags & SNA_NO_WAIT) == 0)


More information about the xorg-commit mailing list