[Bug 96563] [BSW/BXT-P] igt /gem_pwrite / small-gtt* subcases are failing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 13 09:13:01 UTC 2017


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

--- Comment #10 from Chris Wilson <chris at chris-wilson.co.uk> ---
Also requires:

commit e22d8e3c69a9f432b40baaaf3f894a128fdc2222
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Apr 12 12:01:11 2017 +0100

    drm/i915: Treat WC a separate cache domain

    When discussing a new WC mmap, we based the interface upon the
    assumption that GTT was fully coherent. How naive! Commits 3b5724d702ef
    ("drm/i915: Wait for writes through the GTT to land before reading
    back") and ed4596ea992d ("drm/i915/guc: WA to address the Ringbuffer
    coherency issue") demonstrate that writes through the GTT are indeed
    delayed and may be overtaken by direct WC access. To be safe, if
    userspace is mixing WC mmaps with other potential GTT access (pwrite,
    GTT mmaps) it should use set_domain(WC).

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96563
    Testcase: igt/gem_pwrite/small-gtt*
    Testcase: igt/drv_selftest/coherency
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
    Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
    Link:
http://patchwork.freedesktop.org/patch/msgid/20170412110111.26626-2-chris@chris-wilson.co.uk

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


More information about the intel-gfx-bugs mailing list