panfrost: Rename panfrost_create_pool() into panfrost_pool_init()
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 24 Aug 2020 09:24:57 +0000 (11:24 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Aug 2020 19:18:08 +0000 (19:18 +0000)
commit4047c691bff192fdcac20a16fb9a4f4071de4af9
tree8be0c4125e3af2297d42c8937e25447049db9a07
parentb8f2d71c4045e1ddb630c2f989e4b397b5b97099
panfrost: Rename panfrost_create_pool() into panfrost_pool_init()

_create functions usually allocate an object and return a pointer to the
allocated object, _init ones usually take an existing object and
initialize it. Let's follow this semantic here by renaming the
panfrost_create_pool() function and updating its prototype.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6494>
src/gallium/drivers/panfrost/pan_job.c
src/panfrost/lib/pan_pool.c
src/panfrost/lib/pan_pool.h