freedreno: Remove duplicate bc invalidate on flush_write_batch().
The fd_batch_flush() internals already do the invalidate at the end to clean up the bc's references to the batch. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8729>
This commit is contained in:
@@ -427,7 +427,6 @@ flush_write_batch(struct fd_resource *rsc)
|
||||
fd_batch_flush(b);
|
||||
fd_screen_lock(b->ctx->screen);
|
||||
|
||||
fd_bc_invalidate_batch(b, false);
|
||||
fd_batch_reference_locked(&b, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user