summaryrefslogtreecommitdiff
path: root/src/sna/kgem.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-03-31 14:07:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-03-31 14:07:41 +0100
commita926d9f68231ac0f2a1f54c7a722979a8ed6e9e1 (patch)
tree8b46b2c196ecf500fcd13340381ba2ad6c65d65b /src/sna/kgem.c
parent644c274b2cd398c8236d36423677317cbc82308a (diff)
sna: Update tiling flags after reusing inactive VMA
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.c')
-rw-r--r--src/sna/kgem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 65458359..0b8af54f 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -4427,6 +4427,8 @@ large_inactive:
bo->tiling, tiling));
continue;
}
+ bo->tiling = tiling;
+ bo->pitch = pitch;
}
if (bo->purged && !kgem_bo_clear_purgeable(kgem, bo)) {