[Bug 68964] [ivb] Screen corruption in Chromium

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 5 06:37:00 PDT 2013


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

--- Comment #6 from Chris Wilson <chris at chris-wilson.co.uk> ---
Had an idea, can you please try this quick patch:

diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index e92a83b..be7dda0 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -1283,7 +1283,7 @@ gen7_bind_bo(struct sna *sna,
                 (height - 1) << GEN7_SURFACE_HEIGHT_SHIFT);
        ss[3] = (bo->pitch - 1) << GEN7_SURFACE_PITCH_SHIFT;
        ss[4] = 0;
-       ss[5] = is_scanout ? 0 : is_hsw(sna) ? 5 << 16 : 3 << 16;
+       ss[5] = (is_scanout || bo->io) ? 0 : is_hsw(sna) ? 5 << 16 : 3 << 16;
        ss[6] = 0;
        ss[7] = 0;
        if (is_hsw(sna))

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130905/38e776d4/attachment.html>


More information about the intel-gfx-bugs mailing list