Mesa (main): panfrost: Remove unused MIDGARD_NO_AFBC quirk

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 22 23:58:25 UTC 2021


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

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

panfrost: Remove unused MIDGARD_NO_AFBC quirk

This is not Midgard-specific and is handled outside of the quirks
infrastructure now.

Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13497>

---

 src/panfrost/include/panfrost-quirks.h | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/panfrost/include/panfrost-quirks.h b/src/panfrost/include/panfrost-quirks.h
index cede8254dc0..804dc311c29 100644
--- a/src/panfrost/include/panfrost-quirks.h
+++ b/src/panfrost/include/panfrost-quirks.h
@@ -62,8 +62,7 @@
 /* Has some missing formats for typed loads */
 #define MIDGARD_MISSING_LOADS (1 << 9)
 
-/* Lack support for AFBC */
-#define MIDGARD_NO_AFBC (1 << 10)
+/* bit 10 unused */
 
 /* Does this GPU support anisotropic filtering? */
 #define HAS_ANISOTROPIC (1 << 11)
@@ -86,12 +85,11 @@ panfrost_get_quirks(unsigned gpu_id, unsigned gpu_revision)
         case 0x620:
                 return MIDGARD_QUIRKS | MIDGARD_SFBD
                         | MIDGARD_NO_TYPED_BLEND_LOADS
-                        | NO_BLEND_PACKS | MIDGARD_NO_AFBC
-                        | NO_TILE_ENABLE_MAP;
+                        | NO_BLEND_PACKS | NO_TILE_ENABLE_MAP;
 
         case 0x720:
                 return MIDGARD_QUIRKS | MIDGARD_SFBD | MIDGARD_NO_HIER_TILING
-                        | MIDGARD_NO_AFBC | NO_TILE_ENABLE_MAP;
+                        | NO_TILE_ENABLE_MAP;
 
         case 0x820:
         case 0x830:



More information about the mesa-commit mailing list