diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-05-20 16:36:31 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-05-20 22:19:35 +0100 |
commit | c548427e6d3a3fb50acec4b405b9d0ea977d3cc9 (patch) | |
tree | db862169b7dddbd887a956ab18b51832a013ac92 /src/sna/kgem.c | |
parent | 61df0ffc0be8d934d86ac45c67da910479998cc7 (diff) |
sna: Only mark the scanout as being busy for writes (not solitary reads)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.c')
-rw-r--r-- | src/sna/kgem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 7e906e83..f635150a 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -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) { |