From c268ed8a6e4640bb82d3c596c2f15448ef26a14a Mon Sep 17 00:00:00 2001 From: JaeHoon Lee Date: Wed, 17 Jun 2026 02:48:33 +0000 Subject: [PATCH] v3d: drop the tiled temporary when bailing on unsupported blits v3d_render_blit() copies untiled sources into a tiled temporary before checking if the blitter supports the operation. The unsupported path returned without releasing the temporary like the regular path does at the end of the blit. Signed-off-by: JaeHoon Lee Reviewed-by: Iago Toral Quiroga Part-of: --- src/gallium/drivers/v3d/v3d_blit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/v3d/v3d_blit.c b/src/gallium/drivers/v3d/v3d_blit.c index 0eec18a7c98..35184c12d25 100644 --- a/src/gallium/drivers/v3d/v3d_blit.c +++ b/src/gallium/drivers/v3d/v3d_blit.c @@ -127,6 +127,7 @@ v3d_render_blit(struct pipe_context *ctx, struct pipe_blit_info *info) mesa_loge("Blit unsupported %s -> %s", util_format_short_name(info->src.format), util_format_short_name(info->dst.format)); + pipe_resource_reference(&tiled, NULL); return; }