[Mesa-dev] [PATCH 3/6] radeonsi: remove some old gfx 9.x registers
Marek Olšák
maraeo at gmail.com
Thu May 17 01:47:24 UTC 2018
From: Marek Olšák <marek.olsak at amd.com>
Leftover from bring up.
---
src/amd/common/gfx9d.h | 48 ------------------------------------------
1 file changed, 48 deletions(-)
diff --git a/src/amd/common/gfx9d.h b/src/amd/common/gfx9d.h
index 8c616451849..485fd7d0fed 100644
--- a/src/amd/common/gfx9d.h
+++ b/src/amd/common/gfx9d.h
@@ -1116,21 +1116,20 @@
#define C_030960_WD_SWITCH_ON_EOP 0xFFEFFFFF
#define S_030960_EN_INST_OPT_BASIC(x) (((unsigned)(x) & 0x1) << 21)
#define G_030960_EN_INST_OPT_BASIC(x) (((x) >> 21) & 0x1)
#define C_030960_EN_INST_OPT_BASIC 0xFFDFFFFF
#define S_030960_EN_INST_OPT_ADV(x) (((unsigned)(x) & 0x1) << 22)
#define G_030960_EN_INST_OPT_ADV(x) (((x) >> 22) & 0x1)
#define C_030960_EN_INST_OPT_ADV 0xFFBFFFFF
#define S_030960_HW_USE_ONLY(x) (((unsigned)(x) & 0x1) << 23)
#define G_030960_HW_USE_ONLY(x) (((x) >> 23) & 0x1)
#define C_030960_HW_USE_ONLY 0xFF7FFFFF
-#define R_030964_VGT_OBJECT_ID 0x030964
#define R_030968_VGT_INSTANCE_BASE_ID 0x030968
#define R_030A00_PA_SU_LINE_STIPPLE_VALUE 0x030A00
#define S_030A00_LINE_STIPPLE_VALUE(x) (((unsigned)(x) & 0xFFFFFF) << 0)
#define G_030A00_LINE_STIPPLE_VALUE(x) (((x) >> 0) & 0xFFFFFF)
#define C_030A00_LINE_STIPPLE_VALUE 0xFF000000
#define R_030A04_PA_SC_LINE_STIPPLE_STATE 0x030A04
#define S_030A04_CURRENT_PTR(x) (((unsigned)(x) & 0x0F) << 0)
#define G_030A04_CURRENT_PTR(x) (((x) >> 0) & 0x0F)
#define C_030A04_CURRENT_PTR 0xFFFFFFF0
#define S_030A04_CURRENT_COUNT(x) (((unsigned)(x) & 0xFF) << 8)
@@ -1188,33 +1187,20 @@
#define G_030D24_DWB(x) (((x) >> 0) & 0x1)
#define C_030D24_DWB 0xFFFFFFFE
#define S_030D24_DIRTY(x) (((unsigned)(x) & 0x1) << 1)
#define G_030D24_DIRTY(x) (((x) >> 1) & 0x1)
#define C_030D24_DIRTY 0xFFFFFFFD
#define R_030E00_TA_CS_BC_BASE_ADDR 0x030E00
#define R_030E04_TA_CS_BC_BASE_ADDR_HI 0x030E04
#define S_030E04_ADDRESS(x) (((unsigned)(x) & 0xFF) << 0)
#define G_030E04_ADDRESS(x) (((x) >> 0) & 0xFF)
#define C_030E04_ADDRESS 0xFFFFFF00
-#define R_030E08_TA_GRAD_ADJ_UCONFIG 0x030E08
-#define S_030E08_GRAD_ADJ_0(x) (((unsigned)(x) & 0xFF) << 0)
-#define G_030E08_GRAD_ADJ_0(x) (((x) >> 0) & 0xFF)
-#define C_030E08_GRAD_ADJ_0 0xFFFFFF00
-#define S_030E08_GRAD_ADJ_1(x) (((unsigned)(x) & 0xFF) << 8)
-#define G_030E08_GRAD_ADJ_1(x) (((x) >> 8) & 0xFF)
-#define C_030E08_GRAD_ADJ_1 0xFFFF00FF
-#define S_030E08_GRAD_ADJ_2(x) (((unsigned)(x) & 0xFF) << 16)
-#define G_030E08_GRAD_ADJ_2(x) (((x) >> 16) & 0xFF)
-#define C_030E08_GRAD_ADJ_2 0xFF00FFFF
-#define S_030E08_GRAD_ADJ_3(x) (((unsigned)(x) & 0xFF) << 24)
-#define G_030E08_GRAD_ADJ_3(x) (((x) >> 24) & 0xFF)
-#define C_030E08_GRAD_ADJ_3 0x00FFFFFF
#define R_030F00_DB_OCCLUSION_COUNT0_LOW 0x030F00
#define R_008F00_SQ_BUF_RSRC_WORD0 0x008F00
#define R_030F04_DB_OCCLUSION_COUNT0_HI 0x030F04
#define S_030F04_COUNT_HI(x) (((unsigned)(x) & 0x7FFFFFFF) << 0)
#define G_030F04_COUNT_HI(x) (((x) >> 0) & 0x7FFFFFFF)
#define C_030F04_COUNT_HI 0x80000000
#define R_008F04_SQ_BUF_RSRC_WORD1 0x008F04
#define S_008F04_BASE_ADDRESS_HI(x) (((unsigned)(x) & 0xFFFF) << 0)
#define G_008F04_BASE_ADDRESS_HI(x) (((x) >> 0) & 0xFFFF)
#define C_008F04_BASE_ADDRESS_HI 0xFFFF0000
@@ -4077,24 +4063,20 @@
#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
#define S_028060_DISALLOW_OVERFLOW(x) (((unsigned)(x) & 0x1) << 3)
#define G_028060_DISALLOW_OVERFLOW(x) (((x) >> 3) & 0x1)
#define C_028060_DISALLOW_OVERFLOW 0xFFFFFFF7
-#define R_028064_DB_RENDER_FILTER 0x028064
-#define S_028064_PS_INVOKE_MASK(x) (((unsigned)(x) & 0xFFFF) << 0)
-#define G_028064_PS_INVOKE_MASK(x) (((x) >> 0) & 0xFFFF)
-#define C_028064_PS_INVOKE_MASK 0xFFFF0000
#define R_028068_DB_Z_INFO2 0x028068
#define S_028068_EPITCH(x) (((unsigned)(x) & 0xFFFF) << 0)
#define G_028068_EPITCH(x) (((x) >> 0) & 0xFFFF)
#define C_028068_EPITCH 0xFFFF0000
#define R_02806C_DB_STENCIL_INFO2 0x02806C
#define S_02806C_EPITCH(x) (((unsigned)(x) & 0xFFFF) << 0)
#define G_02806C_EPITCH(x) (((x) >> 0) & 0xFFFF)
#define C_02806C_EPITCH 0xFFFF0000
#define R_028080_TA_BC_BASE_ADDR 0x028080
#define R_028084_TA_BC_BASE_ADDR_HI 0x028084
@@ -4410,23 +4392,20 @@
#define R_02835C_PA_SC_TILE_STEERING_OVERRIDE 0x02835C
#define S_02835C_ENABLE(x) (((unsigned)(x) & 0x1) << 0)
#define G_02835C_ENABLE(x) (((x) >> 0) & 0x1)
#define C_02835C_ENABLE 0xFFFFFFFE
#define S_02835C_NUM_SE(x) (((unsigned)(x) & 0x03) << 1)
#define G_02835C_NUM_SE(x) (((x) >> 1) & 0x03)
#define C_02835C_NUM_SE 0xFFFFFFF9
#define S_02835C_NUM_RB_PER_SE(x) (((unsigned)(x) & 0x03) << 5)
#define G_02835C_NUM_RB_PER_SE(x) (((x) >> 5) & 0x03)
#define C_02835C_NUM_RB_PER_SE 0xFFFFFF9F
-#define S_02835C_DISABLE_SRBSL_DB_OPTIMIZED_PACKING(x) (((unsigned)(x) & 0x1) << 8)
-#define G_02835C_DISABLE_SRBSL_DB_OPTIMIZED_PACKING(x) (((x) >> 8) & 0x1)
-#define C_02835C_DISABLE_SRBSL_DB_OPTIMIZED_PACKING 0xFFFFFEFF
#define R_028360_CP_PERFMON_CNTX_CNTL 0x028360
#define S_028360_PERFMON_ENABLE(x) (((unsigned)(x) & 0x1) << 31)
#define G_028360_PERFMON_ENABLE(x) (((x) >> 31) & 0x1)
#define C_028360_PERFMON_ENABLE 0x7FFFFFFF
#define R_0283A0_PA_SC_RIGHT_VERT_GRID 0x0283A0
#define S_0283A0_LEFT_QTR(x) (((unsigned)(x) & 0xFF) << 0)
#define G_0283A0_LEFT_QTR(x) (((x) >> 0) & 0xFF)
#define C_0283A0_LEFT_QTR 0xFFFFFF00
#define S_0283A0_LEFT_HALF(x) (((unsigned)(x) & 0xFF) << 8)
#define G_0283A0_LEFT_HALF(x) (((x) >> 8) & 0xFF)
@@ -4456,40 +4435,20 @@
#define C_0283A8_TOP_QTR 0xFFFFFF00
#define S_0283A8_TOP_HALF(x) (((unsigned)(x) & 0xFF) << 8)
#define G_0283A8_TOP_HALF(x) (((x) >> 8) & 0xFF)
#define C_0283A8_TOP_HALF 0xFFFF00FF
#define S_0283A8_BOT_HALF(x) (((unsigned)(x) & 0xFF) << 16)
#define G_0283A8_BOT_HALF(x) (((x) >> 16) & 0xFF)
#define C_0283A8_BOT_HALF 0xFF00FFFF
#define S_0283A8_BOT_QTR(x) (((unsigned)(x) & 0xFF) << 24)
#define G_0283A8_BOT_QTR(x) (((x) >> 24) & 0xFF)
#define C_0283A8_BOT_QTR 0x00FFFFFF
-#define R_0283AC_PA_SC_FOV_WINDOW_LR 0x0283AC
-#define S_0283AC_LEFT_EYE_FOV_LEFT(x) (((unsigned)(x) & 0xFF) << 0)
-#define G_0283AC_LEFT_EYE_FOV_LEFT(x) (((x) >> 0) & 0xFF)
-#define C_0283AC_LEFT_EYE_FOV_LEFT 0xFFFFFF00
-#define S_0283AC_LEFT_EYE_FOV_RIGHT(x) (((unsigned)(x) & 0xFF) << 8)
-#define G_0283AC_LEFT_EYE_FOV_RIGHT(x) (((x) >> 8) & 0xFF)
-#define C_0283AC_LEFT_EYE_FOV_RIGHT 0xFFFF00FF
-#define S_0283AC_RIGHT_EYE_FOV_LEFT(x) (((unsigned)(x) & 0xFF) << 16)
-#define G_0283AC_RIGHT_EYE_FOV_LEFT(x) (((x) >> 16) & 0xFF)
-#define C_0283AC_RIGHT_EYE_FOV_LEFT 0xFF00FFFF
-#define S_0283AC_RIGHT_EYE_FOV_RIGHT(x) (((unsigned)(x) & 0xFF) << 24)
-#define G_0283AC_RIGHT_EYE_FOV_RIGHT(x) (((x) >> 24) & 0xFF)
-#define C_0283AC_RIGHT_EYE_FOV_RIGHT 0x00FFFFFF
-#define R_0283B0_PA_SC_FOV_WINDOW_TB 0x0283B0
-#define S_0283B0_FOV_TOP(x) (((unsigned)(x) & 0xFF) << 0)
-#define G_0283B0_FOV_TOP(x) (((x) >> 0) & 0xFF)
-#define C_0283B0_FOV_TOP 0xFFFFFF00
-#define S_0283B0_FOV_BOT(x) (((unsigned)(x) & 0xFF) << 8)
-#define G_0283B0_FOV_BOT(x) (((x) >> 8) & 0xFF)
-#define C_0283B0_FOV_BOT 0xFFFF00FF
#define R_02840C_VGT_MULTI_PRIM_IB_RESET_INDX 0x02840C
#define R_028414_CB_BLEND_RED 0x028414
#define R_028418_CB_BLEND_GREEN 0x028418
#define R_02841C_CB_BLEND_BLUE 0x02841C
#define R_028420_CB_BLEND_ALPHA 0x028420
#define R_028424_CB_DCC_CONTROL 0x028424
#define S_028424_OVERWRITE_COMBINER_DISABLE(x) (((unsigned)(x) & 0x1) << 0)
#define G_028424_OVERWRITE_COMBINER_DISABLE(x) (((x) >> 0) & 0x1)
#define C_028424_OVERWRITE_COMBINER_DISABLE 0xFFFFFFFE
#define S_028424_OVERWRITE_COMBINER_MRT_SHARING_DISABLE(x) (((unsigned)(x) & 0x1) << 1)
@@ -5765,23 +5724,20 @@
#define C_028830_TRIANGLE_FILTER_DISABLE 0xFFFFFFFD
#define S_028830_LINE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 2)
#define G_028830_LINE_FILTER_DISABLE(x) (((x) >> 2) & 0x1)
#define C_028830_LINE_FILTER_DISABLE 0xFFFFFFFB
#define S_028830_POINT_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 3)
#define G_028830_POINT_FILTER_DISABLE(x) (((x) >> 3) & 0x1)
#define C_028830_POINT_FILTER_DISABLE 0xFFFFFFF7
#define S_028830_RECTANGLE_FILTER_DISABLE(x) (((unsigned)(x) & 0x1) << 4)
#define G_028830_RECTANGLE_FILTER_DISABLE(x) (((x) >> 4) & 0x1)
#define C_028830_RECTANGLE_FILTER_DISABLE 0xFFFFFFEF
-#define S_028830_SRBSL_ENABLE(x) (((unsigned)(x) & 0x1) << 5)
-#define G_028830_SRBSL_ENABLE(x) (((x) >> 5) & 0x1)
-#define C_028830_SRBSL_ENABLE 0xFFFFFFDF
#define R_028834_PA_CL_OBJPRIM_ID_CNTL 0x028834
#define S_028834_OBJ_ID_SEL(x) (((unsigned)(x) & 0x1) << 0)
#define G_028834_OBJ_ID_SEL(x) (((x) >> 0) & 0x1)
#define C_028834_OBJ_ID_SEL 0xFFFFFFFE
#define S_028834_ADD_PIPED_PRIM_ID(x) (((unsigned)(x) & 0x1) << 1)
#define G_028834_ADD_PIPED_PRIM_ID(x) (((x) >> 1) & 0x1)
#define C_028834_ADD_PIPED_PRIM_ID 0xFFFFFFFD
#define S_028834_EN_32BIT_OBJPRIMID(x) (((unsigned)(x) & 0x1) << 2)
#define G_028834_EN_32BIT_OBJPRIMID(x) (((x) >> 2) & 0x1)
#define C_028834_EN_32BIT_OBJPRIMID 0xFFFFFFFB
@@ -6266,24 +6222,20 @@
#define C_028A98_OBJPRIM_ID_EN 0xFFFFFFFE
#define S_028A98_EN_REG_RT_INDEX(x) (((unsigned)(x) & 0x1) << 1)
#define G_028A98_EN_REG_RT_INDEX(x) (((x) >> 1) & 0x1)
#define C_028A98_EN_REG_RT_INDEX 0xFFFFFFFD
#define S_028A98_EN_PIPELINE_PRIMID(x) (((unsigned)(x) & 0x1) << 2)
#define G_028A98_EN_PIPELINE_PRIMID(x) (((x) >> 2) & 0x1)
#define C_028A98_EN_PIPELINE_PRIMID 0xFFFFFFFB
#define S_028A98_OBJECT_ID_INST_EN(x) (((unsigned)(x) & 0x1) << 3)
#define G_028A98_OBJECT_ID_INST_EN(x) (((x) >> 3) & 0x1)
#define C_028A98_OBJECT_ID_INST_EN 0xFFFFFFF7
-#define R_028A9C_VGT_INDEX_PAYLOAD_CNTL 0x028A9C
-#define S_028A9C_COMPOUND_INDEX_EN(x) (((unsigned)(x) & 0x1) << 0)
-#define G_028A9C_COMPOUND_INDEX_EN(x) (((x) >> 0) & 0x1)
-#define C_028A9C_COMPOUND_INDEX_EN 0xFFFFFFFE
#define R_028AA0_VGT_INSTANCE_STEP_RATE_0 0x028AA0
#define R_028AA4_VGT_INSTANCE_STEP_RATE_1 0x028AA4
#define R_028AAC_VGT_ESGS_RING_ITEMSIZE 0x028AAC
#define S_028AAC_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0)
#define G_028AAC_ITEMSIZE(x) (((x) >> 0) & 0x7FFF)
#define C_028AAC_ITEMSIZE 0xFFFF8000
#define R_028AB0_VGT_GSVS_RING_ITEMSIZE 0x028AB0
#define S_028AB0_ITEMSIZE(x) (((unsigned)(x) & 0x7FFF) << 0)
#define G_028AB0_ITEMSIZE(x) (((x) >> 0) & 0x7FFF)
#define C_028AB0_ITEMSIZE 0xFFFF8000
--
2.17.0
More information about the mesa-dev
mailing list