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

Chris Wilson ickle at kemper.freedesktop.org
Wed Mar 16 17:36:42 UTC 2016


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

New commits:
commit 74cd4d09ae051d3a1f4cb9fe29e656b044f03ece
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Mar 16 17:35:26 2016 +0000

    sna: Ensure the scanout is fully flushed on LeaveVT
    
    Just in case we haven't otherwise flushed and invalidated the scanout
    prior to loosing control of the output.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 71a6207..684d58e 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -18178,6 +18178,7 @@ void sna_accel_watch_flush(struct sna *sna, int enable)
 void sna_accel_leave(struct sna *sna)
 {
 	DBG(("%s\n", __FUNCTION__));
+	sna_scanout_flush(sna);
 
 	/* as root we always have permission to render */
 	if (geteuid() == 0)


More information about the xorg-commit mailing list