summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-06-26 18:41:20 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-06-26 18:41:20 +0100
commit44cd6ebf43aa5b7f23c03629a11cdf83b6e96e3a (patch)
treef25009f77d7864e13fcf0559ab05388fc011f1a1
parent5cd7f5b59857f221bd3aa9965b43b938ff7824ed (diff)
sna: Typo in debug assertion.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index fbc29529..27ed78cd 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -1221,7 +1221,7 @@ static int kgem_bo_fenced_size(struct kgem *kgem, struct kgem_bo *bo)
int size;
assert(bo->tiling);
- assert(kgem->gem < 40);
+ assert(kgem->gen < 40);
if (kgem->gen < 30)
size = 512 * 1024;