diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2016-02-12 15:10:22 -0800 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2016-02-12 15:11:31 -0800 |
commit | c136672c593399e831db0da8b8cc6d8a5d73c1d3 (patch) | |
tree | 35dd80e075d41c3595167542415c169b6eb4b0c1 | |
parent | b0c30b77d4c57d653ed657d069d748b5be88d709 (diff) |
anv: Disable snooping for allocator pools again
The race we were seeing on cherryview was caused by the multi-submit
problem with fences. We can now turn snooping off again an rely on
clflush and we intended.
-rw-r--r-- | src/vulkan/anv_allocator.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vulkan/anv_allocator.c b/src/vulkan/anv_allocator.c index e935cd71df0..4be149ea695 100644 --- a/src/vulkan/anv_allocator.c +++ b/src/vulkan/anv_allocator.c @@ -441,7 +441,6 @@ anv_block_pool_grow(struct anv_block_pool *pool, struct anv_block_state *state) goto fail; cleanup->gem_handle = gem_handle; -#if 0 /* Regular objects are created I915_CACHING_CACHED on LLC platforms and * I915_CACHING_NONE on non-LLC platforms. However, userptr objects are * always created as I915_CACHING_CACHED, which on non-LLC means @@ -453,7 +452,6 @@ anv_block_pool_grow(struct anv_block_pool *pool, struct anv_block_state *state) anv_gem_set_domain(pool->device, gem_handle, I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT); } -#endif /* Now that we successfull allocated everything, we can write the new * values back into pool. */ |