drm/i915: fix swizzling on gen6+
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 12 Sep 2011 18:49:16 +0000 (20:49 +0200)
committerKeith Packard <keithp@keithp.com>
Thu, 20 Oct 2011 21:11:18 +0000 (14:11 -0700)
commitacc83eb5a1e0ae7dbbf89ca2a1a943ade224bb84
treec603b89a31370882189415a098532e48b1063a67
parent6fdd4d98e56e0919bb324c2ab1ff66395cf3b385
drm/i915: fix swizzling on gen6+

Fixes tests/gem_tiled_pread on my snb. I know, mesa doesn't use this
on gen6+, but I also hate failing testcases.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_gem_tiling.c