diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-16 17:35:26 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-16 17:35:26 +0000 |
commit | 74cd4d09ae051d3a1f4cb9fe29e656b044f03ece (patch) | |
tree | 26c1065c106df16ba5e205afaa52238356016bab | |
parent | 68913715a2982572e88f943fd4fbe1b07e2fc720 (diff) |
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@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 71a62075..684d58ef 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) |