panfrost: Patch the gallium driver to use pan_image_layout_init()
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 26 Mar 2021 10:14:28 +0000 (11:14 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Apr 2021 18:06:37 +0000 (18:06 +0000)
commit9d0ad7fd2e1c56a1771e253086a5d4862d54e358
tree21f3ebbc38a283c4cbe75474e48e8da239c6032a
parent051d62cf041054bf0fdbd0ae5d2160d1b02e0203
panfrost: Patch the gallium driver to use pan_image_layout_init()

Now that we have a generic implementation, we can use it and get rid
of panfrost_setup_layout().

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/10033>
src/gallium/drivers/panfrost/pan_resource.c