pan/mdg: Add quirk for missing out-of-order support
[mesa.git] / src / panfrost / midgard / midgard_quirks.h
index 7f213cc3d697b10750cd3472844cde81263a8113..d90d59f76770dc830fb711644eb3aa601b17ea10 100644 (file)
 
 #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: