mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
anv: fix incorrect utrace bo release
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: c67c9688c3 ("anv/utrace: use a bo pool for utrace buffers")
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22006>
This commit is contained in:
parent
68bc4c56ff
commit
87a1d6423c
1 changed files with 2 additions and 2 deletions
|
|
@ -62,8 +62,8 @@ anv_utrace_delete_flush_data(struct u_trace_context *utctx,
|
|||
if (flush->trace_bo) {
|
||||
assert(flush->batch_bo);
|
||||
anv_reloc_list_finish(&flush->relocs, &device->vk.alloc);
|
||||
anv_device_release_bo(device, flush->batch_bo);
|
||||
anv_device_release_bo(device, flush->trace_bo);
|
||||
anv_bo_pool_free(&device->utrace_bo_pool, flush->batch_bo);
|
||||
anv_bo_pool_free(&device->utrace_bo_pool, flush->trace_bo);
|
||||
}
|
||||
|
||||
vk_sync_destroy(&device->vk, flush->sync);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue