anv: remove anv_execbuf->surface_states_relocs

Now that we removed relocations, this is not being used anywhere.

Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20309>
This commit is contained in:
Paulo Zanoni 2022-12-12 14:17:47 -08:00
parent c14857e915
commit 4b1c4925e7

View file

@ -1133,11 +1133,6 @@ struct anv_execbuf {
struct drm_i915_gem_exec_fence * syncobjs;
uint64_t * syncobj_values;
/* List of relocations for surface states, only used with platforms not
* using softpin.
*/
void * surface_states_relocs;
uint32_t cmd_buffer_count;
struct anv_query_pool *perf_query_pool;
@ -1152,7 +1147,6 @@ anv_execbuf_finish(struct anv_execbuf *exec)
{
vk_free(exec->alloc, exec->syncobjs);
vk_free(exec->alloc, exec->syncobj_values);
vk_free(exec->alloc, exec->surface_states_relocs);
vk_free(exec->alloc, exec->objects);
vk_free(exec->alloc, exec->bos);
}