summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etnaviv/etnaviv_op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/etnaviv/etnaviv_op.c b/etnaviv/etnaviv_op.c
index 8d5bf7f..eb53175 100644
--- a/etnaviv/etnaviv_op.c
+++ b/etnaviv/etnaviv_op.c
@@ -48,7 +48,7 @@
do { \
struct etnaviv *_et = etp; \
unsigned int _batch_size = _et->batch_size; \
- unsigned int _batch_max = _batch_size + 4 * max_sz; \
+ unsigned int _batch_max = _batch_size + max_sz; \
uint32_t *_batch = &_et->batch[_batch_size]; \
assert(_batch_max <= MAX_BATCH_SIZE)