mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-19 05:46:25 +00:00
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>
This commit is contained in:
parent
9e7e7c38a0
commit
d6a85f042c
@ -281,6 +281,7 @@ static void store(int fd, unsigned ring, uint32_t flags)
|
|||||||
batch[++i] = 0;
|
batch[++i] = 0;
|
||||||
}
|
}
|
||||||
batch[++i] = 0xc0ffee;
|
batch[++i] = 0xc0ffee;
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
batch[++i] = MI_BATCH_BUFFER_END;
|
batch[++i] = MI_BATCH_BUFFER_END;
|
||||||
munmap(batch, size);
|
munmap(batch, size);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user