r600: add some missing cayman register defines
authorDave Airlie <airlied@redhat.com>
Mon, 27 Nov 2017 06:54:00 +0000 (06:54 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 5 Dec 2017 20:09:43 +0000 (20:09 +0000)
These are just taken from the kernel, and were seen in some fglrx dumps.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreend.h

index f8a256ca524904ff089f91955bcff24e32193768..9fd56ec514020879da268d8aeadfcf570d278343 100644 (file)
 #define ENDIAN_8IN32   2
 #define ENDIAN_8IN64   3
 
+#define CM_R_0286F8_SPI_GPR_MGMT                     0x286f8
 #define CM_R_0286FC_SPI_LDS_MGMT                     0x286fc
 #define   S_0286FC_NUM_PS_LDS(x)                     ((x) & 0xff)
 #define   S_0286FC_NUM_LS_LDS(x)                     ((x) & 0xff) << 8
+#define CM_R_028700_SPI_STACK_MGMT                   0x28700
+#define CM_R_028704_SPI_WAVE_MGMT_1                  0x28704
+#define CM_R_028708_SPI_WAVE_MGMT_2                  0x28708
 
 #define CM_R_028804_DB_EQAA                          0x00028804
 #define   S_028804_MAX_ANCHOR_SAMPLES(x)                              (((unsigned)(x) & 0x07) << 0)