<div dir="ltr"><div>It's not a problem on sky lake :-) For a very convoluted reason but yeah, we should fix this. Thanks! <br><br></div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net" target="_blank">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 22, 2016 at 10:06 PM, Dave Airlie <span dir="ltr"><<a href="mailto:airlied@gmail.com" target="_blank">airlied@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>><br>
<br>
Since bind image memory started memsetting surfaces, the<br>
device node can't be NULL, since we lookup device->info.has_llc.<br>
<br>
Not sure why it ever was NULL before.<br>
<br>
Fixes some things on my Ivybridge.<br>
<br>
Signed-off-by: Dave Airlie <<a href="mailto:airlied@redhat.com">airlied@redhat.com</a>><br>
---<br>
src/intel/vulkan/anv_wsi.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/intel/vulkan/anv_wsi.c b/src/intel/vulkan/anv_wsi.c<br>
index c504658..669eacc 100644<br>
--- a/src/intel/vulkan/anv_wsi.c<br>
+++ b/src/intel/vulkan/anv_wsi.c<br>
@@ -200,7 +200,7 @@ x11_anv_wsi_image_create(<wbr>VkDevice device_h,<br>
memory = anv_device_memory_from_handle(<wbr>memory_h);<br>
memory->bo.is_winsys_bo = true;<br>
<br>
- anv_BindImageMemory(VK_NULL_<wbr>HANDLE, image_h, memory_h, 0);<br>
+ anv_BindImageMemory(device_h, image_h, memory_h, 0);<br>
<br>
struct anv_surface *surface = &image->color_surface;<br>
assert(surface->isl.tiling == ISL_TILING_X);<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.9.3<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">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/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>