sna: Assert that we never attempt to flip the slave scanout
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
129656e4a8
commit
bcd09ff6eb
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue