From: Alyssa Rosenzweig Date: Mon, 1 Jun 2020 18:26:11 +0000 (-0400) Subject: pan/mdg: Add quirk for missing out-of-order support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c0e82d4ab9073af45a36e6c11ed2a31580cba9e;p=mesa.git pan/mdg: Add quirk for missing out-of-order support Added in T760, like the other good parts of Midgard. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/midgard/midgard_quirks.h b/src/panfrost/midgard/midgard_quirks.h index 7f213cc3d69..d90d59f7677 100644 --- a/src/panfrost/midgard/midgard_quirks.h +++ b/src/panfrost/midgard/midgard_quirks.h @@ -62,6 +62,11 @@ #define MIDGARD_NO_UPPER_ALU (1 << 4) +/* Whether (texture) out-of-order execution support is missing on early + * Midgards. For these just set the OoO bits to 0. */ + +#define MIDGARD_NO_OOO (1 << 5) + static inline unsigned midgard_get_quirks(unsigned gpu_id) { @@ -70,13 +75,15 @@ midgard_get_quirks(unsigned gpu_id) case 0x620: return MIDGARD_OLD_BLEND | MIDGARD_BROKEN_LOD | - MIDGARD_NO_UPPER_ALU; + MIDGARD_NO_UPPER_ALU | + MIDGARD_NO_OOO; case 0x720: return MIDGARD_INTERPIPE_REG_ALIASING | MIDGARD_OLD_BLEND | MIDGARD_BROKEN_LOD | - MIDGARD_NO_UPPER_ALU; + MIDGARD_NO_UPPER_ALU | + MIDGARD_NO_OOO; case 0x820: case 0x830: