From 8260c4648ac48c1b46f123e19f5e0e74943a3287 Mon Sep 17 00:00:00 2001 From: Glenn Kennard Date: Sun, 5 Mar 2017 18:26:46 +0100 Subject: [PATCH] r600g: Add scratch ring register defines Acked-by: Dave Airlie Signed-off-by: Glenn Kennard --- src/gallium/drivers/r600/evergreend.h | 14 ++++++++++++++ src/gallium/drivers/r600/r600d.h | 8 ++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/evergreend.h b/src/gallium/drivers/r600/evergreend.h index 0173ea37399..d664a2d0fb2 100644 --- a/src/gallium/drivers/r600/evergreend.h +++ b/src/gallium/drivers/r600/evergreend.h @@ -2021,10 +2021,24 @@ #define R_0288EC_SQ_LDS_ALLOC_PS 0x000288EC #define R_028900_SQ_ESGS_RING_ITEMSIZE 0x00028900 #define R_028904_SQ_GSVS_RING_ITEMSIZE 0x00028904 +#define R_008C50_SQ_ESTMP_RING_BASE 0x00008C50 #define R_028908_SQ_ESTMP_RING_ITEMSIZE 0x00028908 +#define R_008C54_SQ_ESTMP_RING_SIZE 0x00008C54 +#define R_008C58_SQ_GSTMP_RING_BASE 0x00008C58 #define R_02890C_SQ_GSTMP_RING_ITEMSIZE 0x0002890C +#define R_008C5C_SQ_GSTMP_RING_SIZE 0x00008C5C +#define R_008C60_SQ_VSTMP_RING_BASE 0x00008C60 #define R_028910_SQ_VSTMP_RING_ITEMSIZE 0x00028910 +#define R_008C64_SQ_VSTMP_RING_SIZE 0x00008C64 +#define R_008C68_SQ_PSTMP_RING_BASE 0x00008C68 #define R_028914_SQ_PSTMP_RING_ITEMSIZE 0x00028914 +#define R_008C6C_SQ_PSTMP_RING_SIZE 0x00008C6C +#define R_008E10_SQ_LSTMP_RING_BASE 0x00008E10 +#define R_028830_SQ_LSTMP_RING_ITEMSIZE 0x00028830 +#define R_008E14_SQ_LSTMP_RING_SIZE 0x00008E14 +#define R_008E18_SQ_HSTMP_RING_BASE 0x00008E18 +#define R_028834_SQ_HSTMP_RING_ITEMSIZE 0x00028834 +#define R_008E1C_SQ_HSTMP_RING_SIZE 0x00008E1C #define R_02891C_SQ_GS_VERT_ITEMSIZE 0x0002891C #define R_028920_SQ_GS_VERT_ITEMSIZE_1 0x00028920 #define R_028924_SQ_GS_VERT_ITEMSIZE_2 0x00028924 diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h index 75d64c13081..9155076a790 100644 --- a/src/gallium/drivers/r600/r600d.h +++ b/src/gallium/drivers/r600/r600d.h @@ -219,8 +219,12 @@ #define R_008C4C_SQ_GSVS_RING_SIZE 0x008C4C #define R_008C50_SQ_ESTMP_RING_BASE 0x008C50 #define R_008C54_SQ_ESTMP_RING_SIZE 0x008C54 -#define R_008C50_SQ_GSTMP_RING_BASE 0x008C58 -#define R_008C54_SQ_GSTMP_RING_SIZE 0x008C5C +#define R_008C58_SQ_GSTMP_RING_BASE 0x008C58 +#define R_008C5C_SQ_GSTMP_RING_SIZE 0x008C5C +#define R_008C68_SQ_PSTMP_RING_BASE 0x008C68 +#define R_008C6C_SQ_PSTMP_RING_SIZE 0x008C6C +#define R_008C60_SQ_VSTMP_RING_BASE 0x008C60 +#define R_008C64_SQ_VSTMP_RING_SIZE 0x008C64 #define R_0088C8_VGT_GS_PER_ES 0x0088C8 #define R_0088CC_VGT_ES_PER_GS 0x0088CC -- 2.30.2