xf86-video-intel: src/sna/sna_video_textured.c
Chris Wilson
ickle at kemper.freedesktop.org
Fri Apr 6 13:13:14 PDT 2012
src/sna/sna_video_textured.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 4356fae72db3a33935b575edf95c84fbb48072a7
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri Apr 6 21:10:50 2012 +0100
sna/video: Only wait upon the scanout pixmap
Caught by the addition of the assertion.
Reported-by: Jiri Slaby <jirislaby at gmail.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=47597
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c
index b740b6a..4975f55 100644
--- a/src/sna/sna_video_textured.c
+++ b/src/sna/sna_video_textured.c
@@ -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);
More information about the xorg-commit
mailing list