浏览代码

drm: G33-class hardware has a newer 965-style MCH (no DCC register).

Fixes bad software fallback rendering in Mesa in dual-channel configurations.

d9a2470012588dc5313a5ac8bb2f03575af00e99

Signed-off-by: Dave Airlie <airlied@redhat.com>
Eric Anholt 16 年之前
父节点
当前提交
28af0a2767
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gpu/drm/i915/i915_gem_tiling.c

+ 1 - 1
drivers/gpu/drm/i915/i915_gem_tiling.c

@@ -96,7 +96,7 @@ i915_gem_detect_bit_6_swizzle(struct drm_device *dev)
 		 */
 		 */
 		swizzle_x = I915_BIT_6_SWIZZLE_NONE;
 		swizzle_x = I915_BIT_6_SWIZZLE_NONE;
 		swizzle_y = I915_BIT_6_SWIZZLE_NONE;
 		swizzle_y = I915_BIT_6_SWIZZLE_NONE;
-	} else if (!IS_I965G(dev) || IS_I965GM(dev)) {
+	} else if ((!IS_I965G(dev) && !IS_G33(dev)) || IS_I965GM(dev)) {
 		uint32_t dcc;
 		uint32_t dcc;
 
 
 		/* On 915-945 and GM965, channel interleave by the CPU is
 		/* On 915-945 and GM965, channel interleave by the CPU is