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:
Eric Anholt 2021-01-25 15:03:55 -08:00
parent f179594cf9
commit 7d0c940d70

View file

@ -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);
}