Mesa (master): panfrost: Add IS_BIFROST quirk

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 10 15:11:41 UTC 2020


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

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Mon Apr  6 16:44:04 2020 -0400

panfrost: Add IS_BIFROST quirk

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>

---

 src/panfrost/include/panfrost-quirks.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/panfrost/include/panfrost-quirks.h b/src/panfrost/include/panfrost-quirks.h
index afac6d82d2b..c8d631cd476 100644
--- a/src/panfrost/include/panfrost-quirks.h
+++ b/src/panfrost/include/panfrost-quirks.h
@@ -44,11 +44,14 @@
 
 #define MIDGARD_BROKEN_FP16 (1 << 2)
 
+/* What it says on the tin */
+#define IS_BIFROST (1 << 3)
+
 /* Quirk collections common to particular uarchs */
 
 #define MIDGARD_QUIRKS (MIDGARD_BROKEN_FP16)
 
-#define BIFROST_QUIRKS (0)
+#define BIFROST_QUIRKS (IS_BIFROST)
 
 static inline unsigned
 panfrost_get_quirks(unsigned gpu_id)



More information about the mesa-commit mailing list