radv/rmv: Avoid more CPU unmap deadlocks

Fixes: 8d0e6c02 ("radv: Add RMV tracing utilities")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20820>
This commit is contained in:
Friedrich Vock 2023-01-18 18:46:55 +01:00 committed by Marge Bot
parent 2dec10c297
commit 2d5d247203

View file

@ -721,8 +721,8 @@ radv_rmv_log_border_color_palette_create(struct radv_device *device, struct rade
vk_rmv_emit_token(&device->vk.memory_trace_data, VK_RMV_TOKEN_TYPE_RESOURCE_CREATE,
&create_token);
vk_rmv_emit_token(&device->vk.memory_trace_data, VK_RMV_TOKEN_TYPE_RESOURCE_BIND, &bind_token);
vk_rmv_log_cpu_map(&device->vk, bo->va, false);
simple_mtx_unlock(&device->vk.memory_trace_data.token_mtx);
vk_rmv_log_cpu_map(&device->vk, bo->va, false);
}
void