sna/video: Only wait upon the scanout pixmap
Caught by the addition of the assertion. Reported-by: Jiri Slaby <jirislaby@gmail.com> References: https://bugs.freedesktop.org/show_bug.cgi?id=47597 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
b790ba2ec9
commit
4356fae72d
|
|
@ -287,7 +287,8 @@ sna_video_textured_put_image(ScrnInfoPtr scrn,
|
|||
}
|
||||
}
|
||||
|
||||
if (crtc && video->SyncToVblank != 0)
|
||||
if (crtc && video->SyncToVblank != 0 &&
|
||||
pixmap == sna->front && !sna->shadow)
|
||||
flush = sna_wait_for_scanline(sna, pixmap, crtc,
|
||||
&clip->extents);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue