summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sna/kgem.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 4a82d4a5..2a5820c8 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -4019,7 +4019,6 @@ struct kgem_bo *kgem_create_2d(struct kgem *kgem,
assert(bo->pitch*kgem_aligned_height(kgem, height, bo->tiling) <= kgem_bo_size(bo));
assert_tiling(kgem, bo);
bo->refcnt = 1;
- bo->flush = true;
return bo;
}
@@ -4387,12 +4386,6 @@ create:
return NULL;
}
- if (bucket >= NUM_CACHE_BUCKETS) {
- DBG(("%s: marking large bo for automatic flushing\n",
- __FUNCTION__));
- bo->flush = true;
- }
-
bo->unique_id = kgem_get_unique_id(kgem);
if (tiling == I915_TILING_NONE ||
gem_set_tiling(kgem->fd, handle, tiling, pitch)) {