vulkan/wsi: Use VK_EXT_pci_bus_info for DRM fd matching
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 Oct 2018 15:08:32 +0000 (10:08 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 Oct 2018 16:29:00 +0000 (11:29 -0500)
commitbaa38c144f6ab544bccabff3739631bab33e4cd7
treef7206b476b65bd2d3d3b5e5b5544ef15d82685a4
parentc20ba1be1843d035f36e9794bee7aea9abfc2f8b
vulkan/wsi: Use VK_EXT_pci_bus_info for DRM fd matching

This lets us avoid passing the DRM fd around all over the place and gets
us closer to layer utopia.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/amd/vulkan/radv_wsi.c
src/amd/vulkan/radv_wsi_x11.c
src/intel/vulkan/anv_wsi.c
src/intel/vulkan/anv_wsi_x11.c
src/vulkan/wsi/wsi_common.c
src/vulkan/wsi/wsi_common.h
src/vulkan/wsi/wsi_common_display.c
src/vulkan/wsi/wsi_common_private.h
src/vulkan/wsi/wsi_common_wayland.c
src/vulkan/wsi/wsi_common_x11.c
src/vulkan/wsi/wsi_common_x11.h