mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
freedreno: destroy transfer pool after blitter
Blitter can still have transfers hanging around which it frees in util_blitter_destroy(). So let it clean up before we yank the transfer_pool from under it. Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
01ff0b28b3
commit
cc355f1c06
1 changed files with 2 additions and 2 deletions
|
|
@ -148,8 +148,6 @@ fd_context_destroy(struct pipe_context *pctx)
|
|||
fd_prog_fini(pctx);
|
||||
fd_hw_query_fini(pctx);
|
||||
|
||||
util_slab_destroy(&ctx->transfer_pool);
|
||||
|
||||
util_dynarray_fini(&ctx->draw_patches);
|
||||
|
||||
if (ctx->blitter)
|
||||
|
|
@ -158,6 +156,8 @@ fd_context_destroy(struct pipe_context *pctx)
|
|||
if (ctx->primconvert)
|
||||
util_primconvert_destroy(ctx->primconvert);
|
||||
|
||||
util_slab_destroy(&ctx->transfer_pool);
|
||||
|
||||
fd_ringmarker_del(ctx->draw_start);
|
||||
fd_ringmarker_del(ctx->draw_end);
|
||||
fd_ringmarker_del(ctx->binning_start);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue