summaryrefslogtreecommitdiffstats
path: root/src/amd/common
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-04-28 19:28:06 +0200
committerMarek Olšák <[email protected]>2017-05-05 00:23:44 +0200
commit283a1d1e27b5456cfda848a54b9d74be0993e038 (patch)
treefb98ca1e2ef998492ae31a85bc6d5f912339311d /src/amd/common
parentefa19f5a542709cab7c6aa7f03af959f4394962f (diff)
radeonsi/gfx9: make some PA & DB registers match the closed Vulkan driver
Cc: 17.1 <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r--src/amd/common/gfx9d.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/common/gfx9d.h b/src/amd/common/gfx9d.h
index e295a1da820..787d0a94dfb 100644
--- a/src/amd/common/gfx9d.h
+++ b/src/amd/common/gfx9d.h
@@ -4074,6 +4074,10 @@
#define S_028060_PUNCHOUT_MODE(x) (((unsigned)(x) & 0x03) << 0)
#define G_028060_PUNCHOUT_MODE(x) (((x) >> 0) & 0x03)
#define C_028060_PUNCHOUT_MODE 0xFFFFFFFC
+#define V_028060_AUTO 0
+#define V_028060_FORCE_ON 1
+#define V_028060_FORCE_OFF 2
+#define V_028060_RESERVED 3
#define S_028060_POPS_DRAIN_PS_ON_OVERLAP(x) (((unsigned)(x) & 0x1) << 2)
#define G_028060_POPS_DRAIN_PS_ON_OVERLAP(x) (((x) >> 2) & 0x1)
#define C_028060_POPS_DRAIN_PS_ON_OVERLAP 0xFFFFFFFB