Mesa (master): pan/mdg: Add quirk for missing out-of-order support
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 1 18:58:14 UTC 2020
Module: Mesa
Branch: master
Commit: 7c0e82d4ab9073af45a36e6c11ed2a31580cba9e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c0e82d4ab9073af45a36e6c11ed2a31580cba9e
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Mon Jun 1 14:26:11 2020 -0400
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 <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5286>
---
src/panfrost/midgard/midgard_quirks.h | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
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:
More information about the mesa-commit
mailing list