panfrost: Make panfrost_pack_afbc() static

It isn't used outside of pan_resource.c.

Signed-off-by: Loïc Molinari <loic.molinari@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35001>
This commit is contained in:
Loïc Molinari 2025-05-13 17:08:23 +02:00 committed by Marge Bot
parent 42c305def3
commit df0e7e964d
2 changed files with 1 additions and 4 deletions

View file

@ -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)
{

View file

@ -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,