<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Display chunks with xorg intel driver with Accel & when using swap space"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90725#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Display chunks with xorg intel driver with Accel & when using swap space"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90725">bug 90725</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>The kernel patch will fix the kdm corruption (should at least). However, to fix
the swap related corruption we need to port the l-shape tiling quirk to your
machine. As a quick test of that hypothesis:

diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c
b/drivers/gpu/drm/i915/i915_
index cfd85f4..ce36ebb 100644
--- a/drivers/gpu/drm/i915/i915_gem_tiling.c
+++ b/drivers/gpu/drm/i915/i915_gem_tiling.c
@@ -225,6 +225,7 @@ i915_gem_detect_bit_6_swizzle(struct drm_device *dev)

        dev_priv->mm.bit_6_swizzle_x = swizzle_x;
        dev_priv->mm.bit_6_swizzle_y = swizzle_y;
+       dev_priv->quirks |= QUIRK_PIN_SWIZZLED_PAGES;
 }

 /* Check pitch constriants for all chips & tiling formats */</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>