mesa/src/vulkan
Marcin Ślusarz 4408131142 vulkan/wsi: fix possible random stalls in wsi_display_wait_for_event
pthread_cond_broadcast man page says this:
"The pthread_cond_broadcast() or pthread_cond_signal() functions may
 be called by a thread whether or not it currently owns the mutex that
 threads calling pthread_cond_wait() or pthread_cond_timedwait() have
 associated with the condition variable during their waits; however,
 if predictable scheduling behavior is required, then that mutex shall
 be locked by the thread calling pthread_cond_broadcast() or
 pthread_cond_signal()."

Found by reading the code.
Compile tested only.

Fixes: da997ebec9 ("vulkan: Add KHR_display extension using DRM [v10]")

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7197>
2020-10-19 23:43:27 +00:00
..
device-select-layer vulkan/device_select: don't pick a cpu driver as the default 2020-09-07 07:12:23 +00:00
overlay-layer aco: add framework for testing isel and integration tests 2020-07-30 16:13:08 +00:00
registry vulkan: Update XML and headers to 1.2.158 2020-10-19 19:38:35 +00:00
util util/format: translate A4R4G4B4_UNORM and A4B4G4R4_UNORM vulkan formats 2020-08-04 13:15:23 +00:00
wsi vulkan/wsi: fix possible random stalls in wsi_display_wait_for_event 2020-10-19 23:43:27 +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: Don't pointlessly depend on libxcb-dri2 2020-08-31 15:47:45 +00:00
vulkan-icd-symbols.txt vulkan: Allow global symbol HMI for Android 2020-08-05 18:08:07 +00:00