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:
71dbb31
)
dzn: Don't leave deleted physical devices in the instance pdev list
author
Jesse Natalie
<jenatali@microsoft.com>
Fri, 7 Apr 2023 15:55:13 +0000
(08:55 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 7 Apr 2023 19:11:11 +0000
(19:11 +0000)
Fixes:
cfa260cd
("dzn: Use common physical device list/enumeration helpers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22346>
src/microsoft/vulkan/dzn_device.c
patch
|
blob
|
history
diff --git
a/src/microsoft/vulkan/dzn_device.c
b/src/microsoft/vulkan/dzn_device.c
index
ae59aaa
..
0e13db3
100644
(file)
--- a/
src/microsoft/vulkan/dzn_device.c
+++ b/
src/microsoft/vulkan/dzn_device.c
@@
-390,6
+390,7
@@
dzn_physical_device_create(struct vk_instance *instance,
result = dzn_wsi_init(pdev);
if (result != VK_SUCCESS) {
+ list_del(&pdev->vk.link);
dzn_physical_device_destroy(&pdev->vk);
return result;
}