summaryrefslogtreecommitdiffstats
path: root/src/panfrost/include/panfrost-quirks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/include/panfrost-quirks.h')
-rw-r--r--src/panfrost/include/panfrost-quirks.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/panfrost/include/panfrost-quirks.h b/src/panfrost/include/panfrost-quirks.h
index 8b8aa0812cd..afac6d82d2b 100644
--- a/src/panfrost/include/panfrost-quirks.h
+++ b/src/panfrost/include/panfrost-quirks.h
@@ -39,9 +39,14 @@
#define MIDGARD_SFBD (1 << 1)
+/* Whether fp16 is broken in the compiler. Hopefully this quirk will go away
+ * over time */
+
+#define MIDGARD_BROKEN_FP16 (1 << 2)
+
/* Quirk collections common to particular uarchs */
-#define MIDGARD_QUIRKS (0)
+#define MIDGARD_QUIRKS (MIDGARD_BROKEN_FP16)
#define BIFROST_QUIRKS (0)