[Mesa-dev] [PATCH] vulkan/wsi: Use VK_EXT_pci_bus_info for DRM fd matching

Andre Heider a.heider at gmail.com
Fri Oct 19 09:38:12 UTC 2018


Hi,

On 18/10/2018 17:13, Jason Ekstrand wrote:
> This lets us avoid passing the DRM fd around all over the place and gets
> us closer to layer utopia.
> ---
>   src/amd/vulkan/radv_wsi.c           |  3 --
>   src/amd/vulkan/radv_wsi_x11.c       |  4 +--
>   src/intel/vulkan/anv_wsi.c          |  4 +--
>   src/intel/vulkan/anv_wsi_x11.c      |  4 +--
>   src/vulkan/wsi/wsi_common.c         | 45 +++++++++++++++++++++++++----
>   src/vulkan/wsi/wsi_common.h         |  5 ++--
>   src/vulkan/wsi/wsi_common_display.c | 22 +-------------
>   src/vulkan/wsi/wsi_common_private.h |  6 ++--
>   src/vulkan/wsi/wsi_common_wayland.c |  3 --
>   src/vulkan/wsi/wsi_common_x11.c     | 34 +++++++---------------
>   src/vulkan/wsi/wsi_common_x11.h     |  1 -
>   11 files changed, 61 insertions(+), 70 deletions(-)

unfortunately this regresses radv, see
https://bugs.freedesktop.org/show_bug.cgi?id=108491

Thanks,
Andre


More information about the mesa-dev mailing list