diff options
author | Kristian Høgsberg Kristensen <[email protected]> | 2016-02-16 23:19:27 -0800 |
---|---|---|
committer | Kristian Høgsberg Kristensen <[email protected]> | 2016-02-16 23:23:49 -0800 |
commit | 5caa995c32a5383bc530395a160bc94ef6ad8784 (patch) | |
tree | a181d2bfa13defeaae2132fb3a67c798070c8e6a | |
parent | ecc67f1aacffd848887a711511772fc3f175279b (diff) |
Revert "anv: Disable snooping for allocator pools again"
This reverts commit c136672c593399e831db0da8b8cc6d8a5d73c1d3.
We still have the intermittent missing flush for VkEvent in certain
vulkancts cases:
piglit.deqp-vk.api.command_buffers.execute_large_primary
piglit.deqp-vk.api.command_buffers.submit_count_non_zero,
Let's reenable the snooping until we figure out the root cause.
-rw-r--r-- | src/vulkan/anv_allocator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/anv_allocator.c b/src/vulkan/anv_allocator.c index 1f858bbdff4..a7ae975656b 100644 --- a/src/vulkan/anv_allocator.c +++ b/src/vulkan/anv_allocator.c @@ -441,6 +441,7 @@ 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 @@ -452,6 +453,7 @@ 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. */ |