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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user