diff options
author | Jason Ekstrand <[email protected]> | 2018-10-18 10:08:32 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-10-18 11:29:00 -0500 |
commit | baa38c144f6ab544bccabff3739631bab33e4cd7 (patch) | |
tree | f7206b476b65bd2d3d3b5e5b5544ef15d82685a4 /src/amd/vulkan/radv_wsi_x11.c | |
parent | c20ba1be1843d035f36e9794bee7aea9abfc2f8b (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_wsi_x11.c')
-rw-r--r-- | src/amd/vulkan/radv_wsi_x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_wsi_x11.c b/src/amd/vulkan/radv_wsi_x11.c index 9ef02ccc435..f3ebc791e2d 100644 --- a/src/amd/vulkan/radv_wsi_x11.c +++ b/src/amd/vulkan/radv_wsi_x11.c @@ -45,7 +45,7 @@ VkBool32 radv_GetPhysicalDeviceXcbPresentationSupportKHR( return wsi_get_physical_device_xcb_presentation_support( &device->wsi_device, queueFamilyIndex, - device->local_fd, true, + true, connection, visual_id); } @@ -60,7 +60,7 @@ VkBool32 radv_GetPhysicalDeviceXlibPresentationSupportKHR( return wsi_get_physical_device_xcb_presentation_support( &device->wsi_device, queueFamilyIndex, - device->local_fd, true, + true, XGetXCBConnection(dpy), visualID); } |