summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-06-10 12:45:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-06-10 19:12:58 +0100
commitb3949d0d7424242703c9e60e2e33908499aa6a43 (patch)
treee0d39e52e5d6dc99f0e14fc9d1c6a1dbe86ec986
parent33abb68da2c49081f28898f93cc4e14702b40d70 (diff)
sna/kgem: remove erroneous assert during submit
This was only valid for gen6+ with the multiple rings. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index e5a9c78f..436b69b1 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -774,7 +774,6 @@ void _kgem_submit(struct kgem *kgem)
assert(kgem->nbatch);
assert(kgem->nbatch <= KGEM_BATCH_SIZE(kgem));
assert(kgem->nbatch <= kgem->surface);
- assert(kgem->mode == KGEM_NONE || kgem->mode == kgem->ring);
batch_end = kgem_end_batch(kgem);
kgem_sna_flush(kgem);