projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30191fd
)
v3dv: Destroy the device mutex on the teardown path
author
Jason Ekstrand
<jason.ekstrand@collabora.com>
Mon, 4 Apr 2022 13:44:53 +0000
(08:44 -0500)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 13 Apr 2022 17:22:14 +0000
(17:22 +0000)
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15704>
src/broadcom/vulkan/v3dv_device.c
patch
|
blob
|
history
diff --git
a/src/broadcom/vulkan/v3dv_device.c
b/src/broadcom/vulkan/v3dv_device.c
index
2c46c9e
..
915fb69
100644
(file)
--- a/
src/broadcom/vulkan/v3dv_device.c
+++ b/
src/broadcom/vulkan/v3dv_device.c
@@
-1998,6
+1998,7
@@
v3dv_CreateDevice(VkPhysicalDevice physicalDevice,
fail:
destroy_device_syncs(device, physical_device->render_fd);
+ mtx_destroy(&device->mutex);
vk_device_finish(&device->vk);
vk_free(&device->vk.alloc, device);