panfrost: Remove out-of-band CRC support
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 7 Nov 2022 15:00:48 +0000 (10:00 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 9 Nov 2022 15:56:20 +0000 (15:56 +0000)
commitf8553ef44cf8e9e45d7aa220cd3db490bf26a965
tree74af70e2eb1b219f58ae6c15ec022131913a81da
parentcf7a3906b0629b2b6aadd3b18a39eae06b10fd6a
panfrost: Remove out-of-band CRC support

Without additional signalling of modifiers, CRCs cannot possibly in a correct
way work across process boundaries. Since we don't do that signalling, we should
not be allocating private CRCs for imported resources, and we should not be
using our own private CRCs for internal resources.

The entire out-of-bands CRC infrastructure is a hack to let us do CRCs even for
imported/exported BOs, but that can't possibly work. Remove it, and remove a
pile of special cases across the driver.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19576>
src/gallium/drivers/panfrost/pan_job.c
src/gallium/drivers/panfrost/pan_resource.c
src/panfrost/lib/pan_cs.c
src/panfrost/lib/pan_layout.c
src/panfrost/lib/pan_texture.h
src/panfrost/vulkan/panvk_image.c