summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-07-17 15:23:46 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-07-17 15:23:46 +0100
commitbcd09ff6eb76bc4df046ece4da29b1455fed8dff (patch)
tree74c3791d77f2e0b530cbbaaf65165ad9e2d80a7f
parent129656e4a82d4bf799e5c1d75d0dcb4480f6eb09 (diff)
sna: Assert that we never attempt to flip the slave scanout
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 584cb0d1..072a2851 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);