mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08:00
radv: Fix deadlock in radv_rmv_log_event_create
Fixes: 8d0e6c0
("radv: Add RMV tracing utilities")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20636>
This commit is contained in:
parent
af55e36d79
commit
18e91ad329
@ -896,10 +896,11 @@ radv_rmv_log_event_create(struct radv_device *device, VkEvent _event, VkEventCre
|
||||
|
||||
vk_rmv_emit_token(&device->vk.memory_trace_data, VK_RMV_TOKEN_TYPE_RESOURCE_CREATE,
|
||||
&create_token);
|
||||
if (event->map)
|
||||
vk_rmv_log_cpu_map(&device->vk, event->bo->va, false);
|
||||
log_resource_bind_locked(device, (uint64_t)_event, event->bo, 0, 8);
|
||||
simple_mtx_unlock(&device->vk.memory_trace_data.token_mtx);
|
||||
|
||||
if (event->map)
|
||||
vk_rmv_log_cpu_map(&device->vk, event->bo->va, false);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user