mesa/src/vulkan
Mario Kleiner 2cc51b0dff vulkan/wsi: Really terminate DRM lease in wsi_release_display().
wsi_release_display() implements vkReleaseDisplayEXT() which
is supposed to return control to the lessor of an output
upon call.

We need to terminate the wsi->wait_thread when close()'ing
the wsi->fd, otherwise the wait_thread holds another reference
to the wsi->fd, keeping the lease active, and thereby the
leased output blocked, until vkDestroyInstance() is called.

This gives users their GUI back, instead of extended darkness.

Fixes: 352d320a07 ("vulkan: Add EXT_direct_mode_display [v2]")
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5396>
2020-06-21 11:20:54 +00:00
..
device-select-layer meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
overlay-layer vulkan-overlay/meson: use install_data instead of configure_file 2020-06-01 18:59:18 +00:00
registry vulkan: Update Vulkan XML and headers to 1.2.140 2020-05-05 00:28:00 +00:00
util Switch from cElementTree to ElementTree. 2020-06-05 23:42:54 -07:00
wsi vulkan/wsi: Really terminate DRM lease in wsi_release_display(). 2020-06-21 11:20:54 +00:00
Android.mk android: util: Add a mapping from VkFormat to PIPE_FORMAT. 2019-12-27 09:20:40 +01:00
Makefile.sources vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
meson.build vulkan: add initial device selection layer. (v6.1) 2020-04-27 19:57:49 +00:00
vulkan-icd-symbols.txt vulkan: add symbols file 2019-07-10 11:27:51 +00:00