aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/include
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-04-06 16:44:04 -0400
committerTomeu Vizoso <[email protected]>2020-04-10 16:51:57 +0200
commitb096a1dbd3caca5d7a67ce139421736fc127cc35 (patch)
treeac9e4cc0fec9a1777be416f35659845621cf30dd /src/panfrost/include
parent693480a581e018bf61ca00889fcc8c479a418319 (diff)
panfrost: Add IS_BIFROST quirk
Signed-off-by: Alyssa Rosenzweig <[email protected]> Signed-off-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r--src/panfrost/include/panfrost-quirks.h5
1 files changed, 4 insertions, 1 deletions
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)