summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-04-24 03:11:02 -0700
committerJason Ekstrand <[email protected]>2017-05-04 19:07:54 -0700
commitbb2a3f0df8e9f92e7694c3e643c38807bfa79902 (patch)
treee0f9fea2241e78c0790a68e597827d5298777a92 /src/intel/vulkan/anv_private.h
parent08413a81b93dc537fb0c34327ad162f07e8c3427 (diff)
anv/allocator: Get rid of the ability to free blocks
Now that everything is going through the state pools, the block pool no longer needs to be able to handle re-use. Reviewed-by: Juan A. Suarez Romero <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 9bc3fca1404..d66a2681dce 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -461,10 +461,8 @@ struct anv_block_pool {
*/
struct u_vector mmap_cleanups;
- union anv_free_list free_list;
struct anv_block_state state;
- union anv_free_list back_free_list;
struct anv_block_state back_state;
};
@@ -567,7 +565,6 @@ int32_t anv_block_pool_alloc(struct anv_block_pool *pool,
uint32_t block_size);
int32_t anv_block_pool_alloc_back(struct anv_block_pool *pool,
uint32_t block_size);
-void anv_block_pool_free(struct anv_block_pool *pool, int32_t offset);
void anv_state_pool_init(struct anv_state_pool *pool,
struct anv_block_pool *block_pool,
uint32_t block_size);