<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#c22">Comment # 22</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>So, setting swizzle unknown is not a good test. Probably, something like

diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c
b/drivers/gpu/drm/i915/i915_gem_tiling.c
index af23a5a7b870..a192a9e83aa8 100644
--- a/drivers/gpu/drm/i915/i915_gem_tiling.c
+++ b/drivers/gpu/drm/i915/i915_gem_tiling.c
@@ -214,13 +214,10 @@ i915_gem_detect_bit_6_swizzle(struct drm_device *dev)
                 * the table above, or from the 1-ch value being less than
                 * the minimum size of a rank.
                 */
-               if (I915_READ16(C0DRB3) != I915_READ16(C1DRB3)) {
-                       swizzle_x = I915_BIT_6_SWIZZLE_NONE;
-                       swizzle_y = I915_BIT_6_SWIZZLE_NONE;
-               } else {
-                       swizzle_x = I915_BIT_6_SWIZZLE_9_10;
-                       swizzle_y = I915_BIT_6_SWIZZLE_9;
-               }
+               swizzle_x = I915_BIT_6_SWIZZLE_9_10;
+               swizzle_y = I915_BIT_6_SWIZZLE_9;
+               if (I915_READ16(C0DRB3) != I915_READ16(C1DRB3))
+                       dev_priv->quirks |= QUIRK_PIN_SWIZZLED_PAGES;
        }

        dev_priv->mm.bit_6_swizzle_x = swizzle_x;

is better for testing.</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>