panfrost: Add IS_BIFROST quirk

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>
This commit is contained in:
Alyssa Rosenzweig
2020-04-06 16:44:04 -04:00
committed by Tomeu Vizoso
parent 693480a581
commit b096a1dbd3
+4 -1
View File
@@ -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)