Commit 97b9b770 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Merge branch 'squish-mm' into cmdstream-pooling

parents bca8e1d3 3051d29c
......@@ -2714,8 +2714,8 @@ panfrost_tile_texture(struct panfrost_context *ctx, struct panfrost_resource *rs
* previous upload of the resource), free that one so we don't leak */
if (rsrc->entry[level] != NULL) {
p_entry->freed = true;
pb_slab_free(&ctx->slabs, &p_entry->base);
rsrc->entry[level]->freed = true;
pb_slab_free(&ctx->slabs, &rsrc->entry[level]->base);
rsrc->entry[level] = p_entry;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment