Mesa (main): panfrost: Enable AFBC on v7

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Oct 23 02:20:02 UTC 2021


Module: Mesa
Branch: main
Commit: 2526f6f229406fa364e4375449d33e2048caaab6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2526f6f229406fa364e4375449d33e2048caaab6

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Oct  5 16:18:22 2021 -0400

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 at collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13205>

---

 src/gallium/drivers/panfrost/pan_screen.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index 72999fe7c90..abc21432751 100644
--- a/src/gallium/drivers/panfrost/pan_screen.c
+++ b/src/gallium/drivers/panfrost/pan_screen.c
@@ -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. */



More information about the mesa-commit mailing list