summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_batch.c
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2018-10-24 00:00:50 -0700
committerRob Clark <[email protected]>2018-11-27 15:44:02 -0500
commitb5a9bb28c60781799f812ab99524b45eeb721c30 (patch)
tree4fade11d9263502f7d06159d94940eb71eb7afcd /src/gallium/drivers/freedreno/freedreno_batch.c
parent5f068cf3b037f90e57cea8b8d0987d5cba79c4c5 (diff)
freedreno/a6xx: Move resolve blits to an IB
Signed-off-by: Kristian H. Kristensen <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_batch.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_batch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_batch.c b/src/gallium/drivers/freedreno/freedreno_batch.c
index 9a35f145d19..de4c8198c20 100644
--- a/src/gallium/drivers/freedreno/freedreno_batch.c
+++ b/src/gallium/drivers/freedreno/freedreno_batch.c
@@ -155,6 +155,11 @@ batch_fini(struct fd_batch *batch)
batch->tile_setup = NULL;
}
+ if (batch->tile_fini) {
+ fd_ringbuffer_del(batch->tile_fini);
+ batch->tile_fini = NULL;
+ }
+
fd_submit_del(batch->submit);
util_dynarray_fini(&batch->draw_patches);