panfrost: Choose AFBC when available
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 21 Jul 2020 16:34:33 +0000 (12:34 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 12 Aug 2020 13:59:20 +0000 (09:59 -0400)
commitacb8dcfebdde56a748ec50a3fbecf27912974be9
tree221aff9307bb24ac10de8629b4d78eb6a66910f8
parentc54d45dd90a0606a9287bdcc03fd2463e47039a2
panfrost: Choose AFBC when available

There are lots of reasons we might fallback on u-interleaved tiling, but
when we can use AFBC, it's a big win.

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/panfrost/include/panfrost-quirks.h