panfrost: Enable AFBC on v7

The bugs blocking this have been resolved, so flip on AFBC again and get
moar fps.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13205>
This commit is contained in:
Alyssa Rosenzweig 2021-10-05 16:18:22 -04:00
parent 789601a189
commit 2526f6f229

View file

@ -841,13 +841,6 @@ panfrost_create_screen(int fd, struct renderonly *ro)
if (dev->debug & PAN_DBG_NO_AFBC)
dev->has_afbc = false;
/* XXX: AFBC is currently broken on Bifrost
*
* - Preload is broken if the effective tile size is not 16x16
*/
if (dev->arch == 7)
dev->has_afbc = false;
dev->ro = ro;
/* Check if we're loading against a supported GPU model. */