intel-gem: Leave 8xx tiling on until we find any issues.
authorEric Anholt <eric@anholt.net>
Thu, 17 Jul 2008 23:56:42 +0000 (16:56 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 18 Jul 2008 19:10:41 +0000 (12:10 -0700)
linux-core/i915_gem_tiling.c

index ddf83ce..2841ff1 100644 (file)
@@ -206,6 +206,12 @@ i915_gem_detect_bit_6_swizzle(struct drm_device *dev)
                        swizzle_x = I915_BIT_6_SWIZZLE_UNKNOWN;
                        swizzle_y = I915_BIT_6_SWIZZLE_UNKNOWN;
                }
+       } else {
+               /* As far as we know, the 865 doesn't have these bit 6
+                * swizzling issues.
+                */
+               swizzle_x = I915_BIT_6_SWIZZLE_NONE;
+               swizzle_y = I915_BIT_6_SWIZZLE_NONE;
        }
 
        iounmap(mchbar);