From: Boris Brezillon Date: Thu, 25 Mar 2021 09:24:27 +0000 (+0100) Subject: panfrost: Get rid of panfrost_pool_alloc() X-Git-Tag: upstream/21.2.3~5888 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fe3aebd630e9a61812d1a14cd95fce8bf26b334;p=platform%2Fupstream%2Fmesa.git panfrost: Get rid of panfrost_pool_alloc() This one is no longer used. Signed-off-by: Boris Brezillon Reviewed-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/lib/pan_pool.h b/src/panfrost/lib/pan_pool.h index 00c35fc..a8d1669 100644 --- a/src/panfrost/lib/pan_pool.h +++ b/src/panfrost/lib/pan_pool.h @@ -76,18 +76,6 @@ panfrost_pool_get_bo_handles(struct pan_pool *pool, uint32_t *handles); struct panfrost_ptr panfrost_pool_alloc_aligned(struct pan_pool *pool, size_t sz, unsigned alignment); -/* Default to self-alignment */ - -static inline struct panfrost_ptr -panfrost_pool_alloc(struct pan_pool *pool, size_t sz) -{ - assert(sz == util_next_power_of_two(sz)); - return panfrost_pool_alloc_aligned(pool, sz, sz); -} - -struct panfrost_ptr -panfrost_pool_alloc(struct pan_pool *pool, size_t sz); - mali_ptr panfrost_pool_upload(struct pan_pool *pool, const void *data, size_t sz);