mesa/src/gallium/auxiliary/pipe-loader
Igor Torrente 6d60115be7 zink: Fix enumerate devices when running compositor
When we try to run a compositor on top of Zink, we hit a lockup
when enumerating the Vulkan devices. The vulkan_device_select
tries to reorder the devices and gets stuck waiting for the Xserver.

With this patch, we avoid this issue by detecting when we are running
a compositor and disabling the X and Wayland instance extensions.

And code is added to try to pick the same device as the display.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Igor Torrente <igor.torrente@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24222>
2023-08-01 12:27:55 +00:00
..
driinfo_gallium.h drirc: add allow_sampled_tex_copy option 2023-05-04 15:43:51 +00:00
meson.build gallium: Move -DHAVE_PIPE_LOADER_DRI and -DHAVE_PIPE_LOADER_KMS to be pre_args 2022-07-29 12:57:26 +00:00
pipe_loader.c zink: Fix enumerate devices when running compositor 2023-08-01 12:27:55 +00:00
pipe_loader.h zink: Fix enumerate devices when running compositor 2023-08-01 12:27:55 +00:00
pipe_loader_drm.c gallium: Stub support for Asahi + DRM 2022-10-29 12:04:41 -04:00
pipe_loader_priv.h pipe-loader: Document the behavior regarding screen creating failures 2023-06-13 10:10:41 +00:00
pipe_loader_sw.c treewide: replace usage of boolean to bool 2023-06-27 18:18:27 +08:00