From 3e07681c1948db240b29928bb1e129e559733537 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 22 Aug 2015 19:10:47 +0100 Subject: [PATCH] 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 --- src/sna/sna_dri2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c index 3592dd56..500355cd 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)