From: Alyssa Rosenzweig Date: Mon, 6 Apr 2020 20:44:04 +0000 (-0400) Subject: panfrost: Add IS_BIFROST quirk X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b096a1dbd3caca5d7a67ce139421736fc127cc35;p=mesa.git panfrost: Add IS_BIFROST quirk Signed-off-by: Alyssa Rosenzweig Signed-off-by: Tomeu Vizoso Part-of: --- 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)