panfrost: Move out-of-band CRC info to pan_image
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 25 Mar 2021 17:35:52 +0000 (18:35 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Apr 2021 18:06:37 +0000 (18:06 +0000)
commit50f39908aa876d43b9ca2748d62dfdecc3cff583
treead06ab380cf9dbddce4b7af090ebe8edb461c0b1
parent1c7e8a16929344eb099012f13e5be2ee05a23d17
panfrost: Move out-of-band CRC info to pan_image

We already have the data BO stored there, let's move the out-of-band
CRC BO too. We also add a CRC mode to pan_image_layout so we can easily
know where the CRC resides.

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_job.c
src/gallium/drivers/panfrost/pan_mfbd.c
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_resource.h
src/gallium/drivers/panfrost/pan_sfbd.c
src/panfrost/lib/pan_texture.h