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@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5286>
This commit is contained in:
parent
31de10c434
commit
7c0e82d4ab
|
@ -62,6 +62,11 @@
|
||||||
|
|
||||||
#define MIDGARD_NO_UPPER_ALU (1 << 4)
|
#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
|
static inline unsigned
|
||||||
midgard_get_quirks(unsigned gpu_id)
|
midgard_get_quirks(unsigned gpu_id)
|
||||||
{
|
{
|
||||||
|
@ -70,13 +75,15 @@ midgard_get_quirks(unsigned gpu_id)
|
||||||
case 0x620:
|
case 0x620:
|
||||||
return MIDGARD_OLD_BLEND |
|
return MIDGARD_OLD_BLEND |
|
||||||
MIDGARD_BROKEN_LOD |
|
MIDGARD_BROKEN_LOD |
|
||||||
MIDGARD_NO_UPPER_ALU;
|
MIDGARD_NO_UPPER_ALU |
|
||||||
|
MIDGARD_NO_OOO;
|
||||||
|
|
||||||
case 0x720:
|
case 0x720:
|
||||||
return MIDGARD_INTERPIPE_REG_ALIASING |
|
return MIDGARD_INTERPIPE_REG_ALIASING |
|
||||||
MIDGARD_OLD_BLEND |
|
MIDGARD_OLD_BLEND |
|
||||||
MIDGARD_BROKEN_LOD |
|
MIDGARD_BROKEN_LOD |
|
||||||
MIDGARD_NO_UPPER_ALU;
|
MIDGARD_NO_UPPER_ALU |
|
||||||
|
MIDGARD_NO_OOO;
|
||||||
|
|
||||||
case 0x820:
|
case 0x820:
|
||||||
case 0x830:
|
case 0x830:
|
||||||
|
|
Loading…
Reference in New Issue