anv/wsi: Enable prime support
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 16 Nov 2017 19:56:00 +0000 (11:56 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Dec 2017 18:04:19 +0000 (10:04 -0800)
Now that we're using the same common code as radv, we get prime support
for free.  Just enable it.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/vulkan/anv_wsi.c

index 4d9f7df5c7fec460279f0b188fd388ce92e201a3..975ad18146cf699462cd088d5c14e53503792e2f 100644 (file)
@@ -116,7 +116,7 @@ VkResult anv_GetPhysicalDeviceSurfaceSupportKHR(
 
    return iface->get_support(surface, &device->wsi_device,
                              &device->instance->alloc,
-                             queueFamilyIndex, device->local_fd, false, pSupported);
+                             queueFamilyIndex, device->local_fd, true, pSupported);
 }
 
 VkResult anv_GetPhysicalDeviceSurfaceCapabilitiesKHR(