diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-06 22:07:44 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-06 22:13:06 +0100 |
commit | c65fab07402a338f015c2b339e996beca783c2bf (patch) | |
tree | 4fd7c9b909ad7e211e39ec1cb09820c89fb71ea9 | |
parent | a378196fddcf3043257a7e56225060e5e36cfa7b (diff) |
sna: Fix no relaxed delta path for gen4+
This is for debug purposes only.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/kgem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 69e9d4ca..e90959fa 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -2981,7 +2981,7 @@ static int compact_batch_surface(struct kgem *kgem) int size, shrink, n; if (!kgem->has_relaxed_delta) - return kgem->batch_size; + return kgem->batch_size * sizeof(uint32_t); /* See if we can pack the contents into one or two pages */ n = ALIGN(kgem->batch_size, 1024); |