summaryrefslogtreecommitdiffstats
path: root/src/amd/common/gfx9d.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-07 02:01:40 +0100
committerMarek Olšák <[email protected]>2018-10-30 16:03:02 -0400
commit26cb93e229e3db3850c813f5fa156303a684c880 (patch)
tree83fe5fa35401cd9c85f437fd2435d31725fec551 /src/amd/common/gfx9d.h
parent0dea85928e09c01a4f5964a56d126ac43e568a2e (diff)
radeonsi: add support for Raven2 (v2)
v2: fix enabling primitive binning Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/common/gfx9d.h')
-rw-r--r--src/amd/common/gfx9d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/common/gfx9d.h b/src/amd/common/gfx9d.h
index d18e6655d33..2e790c54699 100644
--- a/src/amd/common/gfx9d.h
+++ b/src/amd/common/gfx9d.h
@@ -4457,6 +4457,9 @@
#define S_028424_OVERWRITE_COMBINER_WATERMARK(x) (((unsigned)(x) & 0x1F) << 2)
#define G_028424_OVERWRITE_COMBINER_WATERMARK(x) (((x) >> 2) & 0x1F)
#define C_028424_OVERWRITE_COMBINER_WATERMARK 0xFFFFFF83
+#define S_028424_DISABLE_CONSTANT_ENCODE_REG(x) (((unsigned)(x) & 0x1) << 10) /* Raven2+ */
+#define G_028424_DISABLE_CONSTANT_ENCODE_REG(x) (((x) >> 10) & 0x1)
+#define C_028424_DISABLE_CONSTANT_ENCODE_REG 0xFFFFFBFF
#define R_02842C_DB_STENCIL_CONTROL 0x02842C
#define S_02842C_STENCILFAIL(x) (((unsigned)(x) & 0x0F) << 0)
#define G_02842C_STENCILFAIL(x) (((x) >> 0) & 0x0F)