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 <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-02-22 13:44:24 +00:00
parent 025d3d46dc
commit 71512b2438
1 changed files with 1 additions and 0 deletions

View File

@ -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;