From b096a1dbd3caca5d7a67ce139421736fc127cc35 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 6 Apr 2020 16:44:04 -0400 Subject: panfrost: Add IS_BIFROST quirk Signed-off-by: Alyssa Rosenzweig Signed-off-by: Tomeu Vizoso Part-of: --- src/panfrost/include/panfrost-quirks.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/panfrost/include') 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) -- cgit v1.2.3