vulkan: Make sure we've loaded our connectors when querying plane props.
authorEmma Anholt <emma@anholt.net>
Fri, 11 Mar 2022 21:55:52 +0000 (13:55 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Mar 2022 21:43:46 +0000 (21:43 +0000)
commitda834a12cf2b334baf5c366c34cbbffb61803650
treeac764e28f6eb7146e5525b52f1a9291d8277ca75
parent83de19c900defdbba1629c5f60a3cefdb163096f
vulkan: Make sure we've loaded our connectors when querying plane props.

If you hadn't already called wsi_GetPhysicalDeviceDisplayProperties2KHR or
wsi_GetDrmDisplayEXT before calling
GetPhysicalDeviceDisplayPlaneProperties2KHR, then the connectors list
wouldn't be populated and you'd get no plane properties.  Fixes failure of
dEQP-VK.wsi.display.get_display_plane_capabilities when run on its own.

Fixes: #4575
Cc: mesa-stable
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15353>
.gitlab-ci/all-skips.txt
src/vulkan/wsi/wsi_common_display.c