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>
fd_prog_fini(pctx);
fd_hw_query_fini(pctx);
- util_slab_destroy(&ctx->transfer_pool);
-
util_dynarray_fini(&ctx->draw_patches);
if (ctx->blitter)
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);