Revert "freedreno: Fix autotune regression since batch-cache rework."
This reverts commit b8c4ad378d.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13159>
This commit is contained in:
@@ -341,6 +341,7 @@ batch_flush(struct fd_batch *batch) assert_dt
|
||||
batch_flush_dependencies(batch);
|
||||
|
||||
batch_reset_resources(batch);
|
||||
fd_bc_free_key(batch);
|
||||
batch->flushed = true;
|
||||
|
||||
if (batch == batch->ctx->batch)
|
||||
@@ -353,9 +354,6 @@ batch_flush(struct fd_batch *batch) assert_dt
|
||||
|
||||
debug_assert(batch->reference.count > 0);
|
||||
|
||||
/* Must come after fd_gmem_render_tiles, since that uses the key. */
|
||||
fd_bc_free_key(batch);
|
||||
|
||||
cleanup_submit(batch);
|
||||
fd_batch_unlock_submit(batch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user