panfrost: Import staging routines from freedreno
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 21 Jul 2020 16:57:25 +0000 (12:57 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 12 Aug 2020 13:59:20 +0000 (09:59 -0400)
commitc54d45dd90a0606a9287bdcc03fd2463e47039a2
treee2363c17bd981952f89164e4855cc9e93c4b0acf
parent348d374d01302ffe0e88e04e2509ff1407d731b5
panfrost: Import staging routines from freedreno

For software access to AFBC textures.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Icecream95 <ixn@keemail.me>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6159>
src/gallium/drivers/panfrost/pan_resource.c
src/gallium/drivers/panfrost/pan_resource.h