<div dir="ltr"><div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 25, 2018 at 5:17 AM Eric Engestrom <<a href="mailto:eric.engestrom@intel.com">eric.engestrom@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Signed-off-by: Eric Engestrom <<a href="mailto:eric.engestrom@intel.com" target="_blank">eric.engestrom@intel.com</a>><br>
---<br>
src/amd/vulkan/radv_wsi_x11.c | 2 --<br>
src/intel/vulkan/anv_wsi_x11.c | 2 --<br>
src/vulkan/wsi/wsi_common_x11.c | 5 -----<br>
src/vulkan/wsi/wsi_common_x11.h | 1 -<br>
4 files changed, 10 deletions(-)<br>
<br>
diff --git a/src/amd/vulkan/radv_wsi_x11.c b/src/amd/vulkan/radv_wsi_x11.c<br>
index f3ebc791e2dc8a8fe8d8..acad74d3cf2a4d48d3ce 100644<br>
--- a/src/amd/vulkan/radv_wsi_x11.c<br>
+++ b/src/amd/vulkan/radv_wsi_x11.c<br>
@@ -45,7 +45,6 @@ VkBool32 radv_GetPhysicalDeviceXcbPresentationSupportKHR(<br>
return wsi_get_physical_device_xcb_presentation_support(<br>
&device->wsi_device,<br>
queueFamilyIndex,<br>
- true,<br>
connection, visual_id);<br>
}<br>
<br>
@@ -60,7 +59,6 @@ VkBool32 radv_GetPhysicalDeviceXlibPresentationSupportKHR(<br>
return wsi_get_physical_device_xcb_presentation_support(<br>
&device->wsi_device,<br>
queueFamilyIndex,<br>
- true,<br>
XGetXCBConnection(dpy), visualID);<br>
}<br>
<br>
diff --git a/src/intel/vulkan/anv_wsi_x11.c b/src/intel/vulkan/anv_wsi_x11.c<br>
index 7a27ceab64fecbfe199b..9a50b17f99937b48fc93 100644<br>
--- a/src/intel/vulkan/anv_wsi_x11.c<br>
+++ b/src/intel/vulkan/anv_wsi_x11.c<br>
@@ -41,7 +41,6 @@ VkBool32 anv_GetPhysicalDeviceXcbPresentationSupportKHR(<br>
return wsi_get_physical_device_xcb_presentation_support(<br>
&device->wsi_device,<br>
queueFamilyIndex,<br>
- true,<br>
connection, visual_id);<br>
}<br>
<br>
@@ -56,7 +55,6 @@ VkBool32 anv_GetPhysicalDeviceXlibPresentationSupportKHR(<br>
return wsi_get_physical_device_xcb_presentation_support(<br>
&device->wsi_device,<br>
queueFamilyIndex,<br>
- true,<br>
XGetXCBConnection(dpy), visualID);<br>
}<br>
<br>
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c<br>
index 6eb72827eda5a6ce67c7..c740726fe54746f8bfc3 100644<br>
--- a/src/vulkan/wsi/wsi_common_x11.c<br>
+++ b/src/vulkan/wsi/wsi_common_x11.c<br>
@@ -375,7 +375,6 @@ visual_has_alpha(xcb_visualtype_t *visual, unsigned depth)<br>
VkBool32 wsi_get_physical_device_xcb_presentation_support(<br>
struct wsi_device *wsi_device,<br>
uint32_t queueFamilyIndex,<br>
- bool can_handle_different_gpu,<br>
xcb_connection_t* connection,<br>
xcb_visualid_t visual_id)<br>
{<br>
@@ -388,10 +387,6 @@ VkBool32 wsi_get_physical_device_xcb_presentation_support(<br>
if (!wsi_x11_check_for_dri3(wsi_conn))<br>
return false;<br>
<br>
- if (!can_handle_different_gpu)<br>
- if (!wsi_x11_check_dri3_compatible(wsi_device, connection))<br>
- return false;<br>
-<br>
unsigned visual_depth;<br>
if (!connection_get_visualtype(connection, visual_id, &visual_depth))<br>
return false;<br>
diff --git a/src/vulkan/wsi/wsi_common_x11.h b/src/vulkan/wsi/wsi_common_x11.h<br>
index 99b1bcdc6fd73487b3df..e4b1e94a8c8c9d4bbed6 100644<br>
--- a/src/vulkan/wsi/wsi_common_x11.h<br>
+++ b/src/vulkan/wsi/wsi_common_x11.h<br>
@@ -28,7 +28,6 @@<br>
VkBool32 wsi_get_physical_device_xcb_presentation_support(<br>
struct wsi_device *wsi_device,<br>
uint32_t queueFamilyIndex,<br>
- bool can_handle_different_gpu,<br>
xcb_connection_t* connection,<br>
xcb_visualid_t visual_id);<br>
<br>
-- <br>
Cheers,<br>
Eric<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>