sna: Only mark the scanout as being busy for writes (not solitary reads)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2014-05-20 16:36:31 +01:00
parent 61df0ffc0b
commit c548427e6d
1 changed files with 1 additions and 1 deletions

View File

@ -2486,7 +2486,7 @@ static void kgem_commit(struct kgem *kgem)
__kgem_bo_clear_busy(bo);
}
kgem->scanout_busy |= bo->scanout;
kgem->scanout_busy |= bo->scanout && bo->needs_flush;
}
if (rq == &kgem->static_request) {