summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-03-22 09:29:40 -0700
committerKenneth Graunke <[email protected]>2019-03-22 09:31:15 -0700
commit87f865aab3c08e862938e8f3a8f774e2ee49da7d (patch)
treebb5b2efbe5c906c3912bcb90320c0c32911f38fa /src
parentbf5a92811d5564f0d4f7a83814e3965170b823f0 (diff)
iris: Fix batch chaining map_next increment.
Caught by Chris Wilson; split out from his valgrind patch.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/iris/iris_batch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c
index f2b7ef697a9..ce6fa99b1ad 100644
--- a/src/gallium/drivers/iris/iris_batch.c
+++ b/src/gallium/drivers/iris/iris_batch.c
@@ -410,7 +410,7 @@ iris_chain_to_new_batch(struct iris_batch *batch)
uint32_t *cmd = batch->map_next;
uint64_t *addr = batch->map_next + 4;
- batch->map_next += 8;
+ batch->map_next += 12;
/* No longer held by batch->bo, still held by validation list */
iris_bo_unreference(batch->bo);