panfrost: Add IS_BIFROST quirk
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 6 Apr 2020 20:44:04 +0000 (16:44 -0400)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 10 Apr 2020 14:51:57 +0000 (16:51 +0200)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>

src/panfrost/include/panfrost-quirks.h

index afac6d82d2b66f14cd38e221c7575030226f4040..c8d631cd4763bbe474c8483268f29c5a519b3534 100644 (file)
 
 #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)