panfrost: Move checksum routines to root panfrost
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 18 Feb 2020 17:07:47 +0000 (12:07 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 21 Feb 2020 12:26:52 +0000 (07:26 -0500)
commit5ddf7ad9d2098d21e1346b8ceb2756901ae1b0c1
treebe9d3a1361c352d6801dacf9858c823470576ce9
parent2e3318b151abddd456077ec0eed13f95245ce344
panfrost: Move checksum routines to root panfrost

These are Gallium-independent and clean code; as is tradition, let's
hoist them up out of the Gallium driver as a bit of yak shaving as we
prepare to untangle the monster that is pan_resource.c

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3858>
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_resource.h
src/panfrost/Makefile.sources
src/panfrost/encoder/meson.build
src/panfrost/encoder/pan_encoder.h
src/panfrost/encoder/pan_texture.c [new file with mode: 0644]
src/panfrost/encoder/pan_texture.h [new file with mode: 0644]