[Bug 111187] [CI][DRMTIP] igt at gem_ctx_shared@exec-shared-gtt-render - fail - Failed assertion: *s == 0xc0ffee
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jul 25 14:51:56 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=111187
Chris Wilson <chris at chris-wilson.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit 7e4d10507088055413769a020dd674f52b4bc1b0 (HEAD, upstream/master)
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Jul 23 17:13:18 2019 +0100
i915/gem_ctx_shared: Avoid clflush by using WC for readback
As we never officially write to the scratch buffer, the kernel will
leave it in the CPU read domain upon execution. Our attempt to
invalidate the CPU cache on !llc is therefore skipped as the kernel
doesn't believe the backing store has been invalidated. Use a WC mmap to
avoid the CPU cache for readback, and add an extra sanity check that the
scratch buffer is found at the same location after execution. (This
sanity check does not affect the failure rate on bsw, that is only fixed
after realising that we do not clflush for the invalidate prior to the
read).
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111187
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
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/20190725/3e4a361a/attachment.html>
More information about the intel-gfx-bugs
mailing list