[Bug 101571] Vulkan tests fail on 4.12 drm-tip

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 23 23:16:07 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101571

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
diff --git a/src/intel/vulkan/anv_gem.c b/src/intel/vulkan/anv_gem.c
index 401580cdf9..24355a23e4 100644
--- a/src/intel/vulkan/anv_gem.c
+++ b/src/intel/vulkan/anv_gem.c
@@ -50,6 +50,7 @@ anv_gem_create(struct anv_device *device, uint64_t size)
       return 0;
    }

+   anv_gem_set_domain(device, gem_create.handle, I915_GEM_DOMAIN_GTT, 0);
    return gem_create.handle;
 }


aligns the cache domain in the kernel with the usage bxt and makes crucible
happy. It is not CPU relocs. Will take some time to figure out what
disagreement is causing the confusion, e.g. one of the changes is that the
kernel does its clflushing asynchronously and given that vulkan doesn't
want/need the kernel to clflush at all might lead to some data conflict. But
that's a long shot.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170623/cdddd237/attachment-0001.html>


More information about the intel-gfx-bugs mailing list