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>
This commit is contained in:
parent
68913715a2
commit
74cd4d09ae
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue