From df0e7e964d0829de4a7ad188e17e0e63ce15cf51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Molinari?= Date: Tue, 13 May 2025 17:08:23 +0200 Subject: [PATCH] panfrost: Make panfrost_pack_afbc() static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It isn't used outside of pan_resource.c. Signed-off-by: Loïc Molinari Reviewed-by: Boris Brezillon Reviewed-by: Eric R. Smith Reviewed-by: Mary Guillemard Part-of: --- src/gallium/drivers/panfrost/pan_resource.c | 2 +- src/gallium/drivers/panfrost/pan_resource.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c index 936fc3c5b98..b47505957a7 100644 --- a/src/gallium/drivers/panfrost/pan_resource.c +++ b/src/gallium/drivers/panfrost/pan_resource.c @@ -2003,7 +2003,7 @@ panfrost_get_afbc_payload_sizes(struct panfrost_context *ctx, return bo; } -void +static void panfrost_pack_afbc(struct panfrost_context *ctx, struct panfrost_resource *prsrc) { diff --git a/src/gallium/drivers/panfrost/pan_resource.h b/src/gallium/drivers/panfrost/pan_resource.h index 4d3de5d08c0..440f0af3feb 100644 --- a/src/gallium/drivers/panfrost/pan_resource.h +++ b/src/gallium/drivers/panfrost/pan_resource.h @@ -212,9 +212,6 @@ panfrost_resource_restore_format(struct panfrost_resource *rsrc, bool panfrost_should_pack_afbc(struct panfrost_device *dev, const struct panfrost_resource *rsrc); -void panfrost_pack_afbc(struct panfrost_context *ctx, - struct panfrost_resource *prsrc); - void pan_resource_modifier_convert(struct panfrost_context *ctx, struct panfrost_resource *rsrc, uint64_t modifier, bool copy_resource,