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

Chris Wilson ickle at kemper.freedesktop.org
Thu Jul 17 07:24:10 PDT 2014


 src/sna/sna_display.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit bcd09ff6eb76bc4df046ece4da29b1455fed8dff
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Jul 17 15:23:46 2014 +0100

    sna: Assert that we never attempt to flip the slave scanout
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 584cb0d..072a285 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -4924,6 +4924,7 @@ sna_page_flip(struct sna *sna,
 		if (crtc->bo == NULL)
 			continue;
 		assert(!crtc->transform);
+		assert(!crtc->slave_pixmap);
 		assert(crtc->bo->active_scanout);
 		assert(crtc->bo->refcnt >= crtc->bo->active_scanout);
 		assert(crtc->flip_bo == NULL);


More information about the xorg-commit mailing list