Module: Mesa Branch: master Commit: 7c0e82d4ab9073af45a36e6c11ed2a31580cba9e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c0e82d4ab9073af45a36e6c11ed2a31580cba9e
Author: Alyssa Rosenzweig <alyssa.rosenzw...@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.rosenzw...@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: _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit