summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-01-11 13:49:08 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-01-11 13:49:34 +0000
commitee79d1885509a2a94acb80e0c416cb276ba7c453 (patch)
treeb0916733ab041ae3198b35d055ef35f27be939ca /src
parentebdc4d1eeb23604cf5c57c3d3a70629af041297d (diff)
sna: Use correct octal value for gen3
Fixes regression in commit 836f9e11d67356babc80464f1183b907cb6cb2f2 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Jan 9 19:55:41 2015 +0000 sna: Disable detiling for gen2 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/blt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/blt.c b/src/sna/blt.c
index d45815f4..dc4e3e18 100644
--- a/src/sna/blt.c
+++ b/src/sna/blt.c
@@ -859,7 +859,7 @@ memcpy_from_tiled_x__gen2(const void *src, void *dst, int bpp,
void choose_memcpy_tiled_x(struct kgem *kgem, int swizzling)
{
- if (kgem->gen < 30) {
+ if (kgem->gen < 030) {
if (swizzling == I915_BIT_6_SWIZZLE_NONE) {
DBG(("%s: gen2, no swizzling\n", __FUNCTION__));
kgem->memcpy_to_tiled_x = memcpy_to_tiled_x__gen2;