mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
iris: Fix batch chaining map_next increment.
Caught by Chris Wilson; split out from his valgrind patch.
This commit is contained in:
parent
bf5a92811d
commit
87f865aab3
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue