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,