iris: don't bump the seqno for the workaround_bo
The last_seqnos list is used by iris_emit_buffer_barrier_for() and as far as I can understand we don't emit barriers for the workaround bo, so don't even bother doing the atomic operations required to bump the workaround_bo seqno list. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12194>
This commit is contained in:
@@ -281,10 +281,9 @@ iris_use_pinned_bo(struct iris_batch *batch,
|
||||
* would introduce data dependencies between multiple batches which share
|
||||
* the buffer.
|
||||
*/
|
||||
if (bo == batch->screen->workaround_bo)
|
||||
if (bo == batch->screen->workaround_bo) {
|
||||
writable = false;
|
||||
|
||||
if (access < NUM_IRIS_DOMAINS) {
|
||||
} else if (access < NUM_IRIS_DOMAINS) {
|
||||
assert(batch->sync_region_depth);
|
||||
iris_bo_bump_seqno(bo, batch->next_seqno, access);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user