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:
parent
61df0ffc0b
commit
c548427e6d
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue