mesa/src/vulkan/wsi
Kenneth Graunke 469875596a vulkan/wsi: Fix prime blits to use system memory for the destination
The intention here was to pass VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT to
select_memory_types() when requesting device local memory, or simply
pass 0 for the prime blit destination which should be in system memory.

Unfortunately, that meant we did (type.propertyFlags & 0) == 0 which
was vacuously true, causing us to not filter out device local types.

Fixes hybrid display of Vulkan apps on Intel TGL+DG1 systems.

Tested-by: Luis Felipe Strano Moraes <luis.strano@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11680>
2021-07-02 23:35:57 +00:00
..
meson.build vulkan: implement wsi_win32 backend 2021-02-25 03:41:36 +00:00
wsi_common.c vulkan: implement wsi_win32 backend 2021-02-25 03:41:36 +00:00
wsi_common.h vulkan/wsi: provide more info in wsi_image_create_info 2021-06-03 04:24:55 +00:00
wsi_common_display.c vulkan/wsi: Implement VK_EXT_acquire_drm_display 2021-06-24 15:48:38 +00:00
wsi_common_display.h vulkan/wsi: Implement VK_EXT_acquire_drm_display 2021-06-24 15:48:38 +00:00
wsi_common_drm.c vulkan/wsi: Fix prime blits to use system memory for the destination 2021-07-02 23:35:57 +00:00
wsi_common_private.h vulkan: implement wsi_win32 backend 2021-02-25 03:41:36 +00:00
wsi_common_queue.h vulkan/wsi: Fix resource leak in success path of wsi_queue_init() 2016-11-28 21:11:25 +00:00
wsi_common_wayland.c vulkan/wsi: prefer the Wayland linux-dmabuf protocol 2021-06-30 04:48:19 +00:00
wsi_common_wayland.h
wsi_common_win32.c vulkan/wsi: provide more info in wsi_image_create_info 2021-06-03 04:24:55 +00:00
wsi_common_win32.h vulkan: implement wsi_win32 backend 2021-02-25 03:41:36 +00:00
wsi_common_x11.c vulkan/wsi: avoid wsi_x11_check_for_dri3 for sw device 2021-05-03 13:33:08 +00:00
wsi_common_x11.h vulkan: drop always-true param 2018-10-26 18:33:11 +01:00