From b52e0c8b3212c150d15304a8d98bdc8a042e4a7a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 3 Jul 2013 17:59:59 +0100 Subject: [PATCH 2/2] my-lead? --- drivers/gpu/drm/i915/i915_gem_tiling.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c b/drivers/gpu/drm/i915/i915_gem_tiling.c index 2bc6d9e..3d8cee0 100644 --- a/drivers/gpu/drm/i915/i915_gem_tiling.c +++ b/drivers/gpu/drm/i915/i915_gem_tiling.c @@ -165,6 +165,12 @@ i915_gem_detect_bit_6_swizzle(struct drm_device *dev) "Disabling tiling.\n"); swizzle_x = I915_BIT_6_SWIZZLE_UNKNOWN; swizzle_y = I915_BIT_6_SWIZZLE_UNKNOWN; + } else { + if (swizzle_x != I915_BIT_6_SWIZZLE_NONE && + I915_READ16(C0RDB3 + 0x1000) != + I915_READ16(C1RDB3 + 0x1000)) { + DRM_INFO("Interleaved with L-shape memory\n"); + } } } else { /* The 965, G33, and newer, have a very flexible memory -- 1.8.3.2