[Bug 90725] Display chunks with xorg intel driver with Accel & when using swap space

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 29 12:46:48 PDT 2015


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

--- Comment #12 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ok, I think the swizzle detection here is bogus...

kernel:
diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c
b/drivers/gpu/drm/i915/i915_gem_tiling.c
index af23a5a7b870..b90eb4812c6b 100644
--- a/drivers/gpu/drm/i915/i915_gem_tiling.c
+++ b/drivers/gpu/drm/i915/i915_gem_tiling.c
@@ -215,8 +215,8 @@ i915_gem_detect_bit_6_swizzle(struct drm_device *dev)
                 * 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;
+                       swizzle_x = I915_BIT_6_SWIZZLE_UNKNOWN;
+                       swizzle_y = I915_BIT_6_SWIZZLE_UNKNOWN;
                } else {
                        swizzle_x = I915_BIT_6_SWIZZLE_9_10;
                        swizzle_y = I915_BIT_6_SWIZZLE_9;

Danvet, do you still have the source for the magic ddc2 bit? By any chance do
you also have the desktop variant of the spec?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150529/7f04821f/attachment.html>


More information about the intel-gfx-bugs mailing list