diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-11 12:52:48 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-11 12:53:30 +0100 |
commit | d6a85f042cf0ac7f297189ef48f85caf972515a9 (patch) | |
tree | 62553f3e9dc0f465a5872a0d4774bb43652ad04a | |
parent | 9e7e7c38a0fe48a64eb946fd4449283e01039573 (diff) |
igt/gem_busy: fix compaction of multiple store commands
Missed increment of the batch offset between commands.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tests/gem_busy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gem_busy.c b/tests/gem_busy.c index 103a66e9d87e..372eb4510527 100644 --- a/tests/gem_busy.c +++ b/tests/gem_busy.c @@ -281,6 +281,7 @@ static void store(int fd, unsigned ring, uint32_t flags) batch[++i] = 0; } batch[++i] = 0xc0ffee; + i++; } batch[++i] = MI_BATCH_BUFFER_END; munmap(batch, size); |