mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
panfrost: Shorten legalized blit func name
Signed-off-by: Loïc Molinari <loic.molinari@collabora.com> Reviewed-by: Ashley Smith <ashley.smith@collabora.com> Acked-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40124>
This commit is contained in:
parent
b13b27bef4
commit
0620b7746b
3 changed files with 8 additions and 8 deletions
|
|
@ -152,8 +152,8 @@ panfrost_blitter_save(struct panfrost_context *ctx,
|
|||
}
|
||||
|
||||
void
|
||||
panfrost_blitter_blit_no_afbc_legalization(struct pipe_context *pipe,
|
||||
const struct pipe_blit_info *info)
|
||||
panfrost_blitter_blit_legalized(struct pipe_context *pipe,
|
||||
const struct pipe_blit_info *info)
|
||||
{
|
||||
PAN_TRACE_FUNC(PAN_TRACE_GL_BLIT);
|
||||
|
||||
|
|
@ -184,7 +184,7 @@ panfrost_blitter_blit(struct pipe_context *pipe,
|
|||
pan_legalize_format(ctx, pan_resource(info->dst.resource),
|
||||
util_format_linear(info->dst.format), true, false);
|
||||
panfrost_flush_all_batches(ctx, "Blit");
|
||||
panfrost_blitter_blit_no_afbc_legalization(pipe, info);
|
||||
panfrost_blitter_blit_legalized(pipe, info);
|
||||
panfrost_flush_all_batches(ctx, "Blit");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ struct blitter_context *panfrost_blitter_create(struct pipe_context *pipe);
|
|||
/* Callers should ensure that all AFBC/AFRC resources that will be used in the
|
||||
* blit operation are legalized before calling blitter operations, otherwise
|
||||
* we may trigger a recursive blit */
|
||||
void panfrost_blitter_blit_no_afbc_legalization(struct pipe_context *pipe,
|
||||
const struct pipe_blit_info *info);
|
||||
void panfrost_blitter_blit_legalized(struct pipe_context *pipe,
|
||||
const struct pipe_blit_info *info);
|
||||
|
||||
void panfrost_blitter_blit(struct pipe_context *pipe,
|
||||
const struct pipe_blit_info *info);
|
||||
|
|
|
|||
|
|
@ -1306,7 +1306,7 @@ pan_blit_from_staging(struct pipe_context *pctx,
|
|||
blit.mask = util_format_get_mask(blit.src.format);
|
||||
blit.filter = PIPE_TEX_FILTER_NEAREST;
|
||||
|
||||
panfrost_blitter_blit_no_afbc_legalization(pctx, &blit);
|
||||
panfrost_blitter_blit_legalized(pctx, &blit);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -1326,7 +1326,7 @@ pan_blit_to_staging(struct pipe_context *pctx, struct panfrost_transfer *trans)
|
|||
blit.mask = util_format_get_mask(blit.dst.format);
|
||||
blit.filter = PIPE_TEX_FILTER_NEAREST;
|
||||
|
||||
panfrost_blitter_blit_no_afbc_legalization(pctx, &blit);
|
||||
panfrost_blitter_blit_legalized(pctx, &blit);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -1814,7 +1814,7 @@ pan_resource_modifier_convert(struct panfrost_context *ctx,
|
|||
if (drm_is_mtk_tiled(rsrc->modifier))
|
||||
screen->vtbl.mtk_detile(ctx, &blit);
|
||||
else
|
||||
panfrost_blitter_blit_no_afbc_legalization(&ctx->base, &blit);
|
||||
panfrost_blitter_blit_legalized(&ctx->base, &blit);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue