From 71512b2438e06b2bd256aff3657797152fbef38e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 22 Feb 2012 13:44:24 +0000 Subject: [PATCH] sna: Clear the flush flag on release of scanout/dri Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46445 Signed-off-by: Chris Wilson --- src/sna/kgem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sna/kgem.c b/src/sna/kgem.c index f79deff9..5ded9041 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -3665,6 +3665,7 @@ void kgem_bo_clear_scanout(struct kgem *kgem, struct kgem_bo *bo) { bo->needs_flush = true; bo->reusable = true; + bo->flush = false; if (!bo->scanout) return;