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:
eac594b
)
v3dv: destroy wsi device during physical device termination
author
Iago Toral Quiroga
<itoral@igalia.com>
Mon, 24 Feb 2020 16:16:09 +0000
(17:16 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:27 +0000
(21:21 +0000)
Fixes dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
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
308b1d2
..
7ba9ed7
100644
(file)
--- a/
src/broadcom/vulkan/v3dv_device.c
+++ b/
src/broadcom/vulkan/v3dv_device.c
@@
-225,6
+225,8
@@
v3dv_CreateInstance(const VkInstanceCreateInfo *pCreateInfo,
static void
physical_device_finish(struct v3dv_physical_device *device)
{
+ v3dv_wsi_finish(device);
+
close(device->render_fd);
if (device->display_fd >= 0)
close(device->display_fd);