Commit 1ed1f6be authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

drm/amd/amdgpu: update GC 10.3.0 pwrdec

The 10.3 GC headers were missing most of the pwrdec block.
This patch adds the registers and bits present in the 10.1 header
but based on the contents of the 10.3 specs.
Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a4a3798f
......@@ -9800,18 +9800,118 @@
// addressBlock: gc_pwrdec
// base address: 0x3c000
#define mmCGTS_RD_CTRL_REG 0x5004
#define mmCGTS_RD_CTRL_REG_BASE_IDX 1
#define mmCGTS_RD_REG 0x5005
#define mmCGTS_RD_REG_BASE_IDX 1
#define mmCGTS_TCC_DISABLE 0x5006
#define mmCGTS_TCC_DISABLE_BASE_IDX 1
#define mmCGTS_USER_TCC_DISABLE 0x5007
#define mmCGTS_USER_TCC_DISABLE_BASE_IDX 1
#define mmCGTS_STATUS_REG 0x5008
#define mmCGTS_STATUS_REG_BASE_IDX 1
#define mmCGTT_SPI_CGTSSM_CLK_CTRL 0x5009
#define mmCGTT_SPI_CGTSSM_CLK_CTRL_BASE_IDX 1
#define mmCGTT_SPI_PS_CLK_CTRL 0x507d
#define mmCGTT_SPI_PS_CLK_CTRL_BASE_IDX 1
#define mmCGTT_SPIS_CLK_CTRL 0x507e
#define mmCGTT_SPIS_CLK_CTRL_BASE_IDX 1
#define mmCGTT_SPI_CLK_CTRL 0x5080
#define mmCGTT_SPI_CLK_CTRL_BASE_IDX 1
#define mmCGTT_PC_CLK_CTRL 0x5081
#define mmCGTT_PC_CLK_CTRL_BASE_IDX 1
#define mmCGTT_BCI_CLK_CTRL 0x5082
#define mmCGTT_BCI_CLK_CTRL_BASE_IDX 1
#define mmCGTT_VGT_CLK_CTRL 0x5084
#define mmCGTT_VGT_CLK_CTRL_BASE_IDX 1
#define mmCGTT_IA_CLK_CTRL 0x5085
#define mmCGTT_IA_CLK_CTRL_BASE_IDX 1
#define mmCGTT_WD_CLK_CTRL 0x5086
#define mmCGTT_WD_CLK_CTRL_BASE_IDX 1
#define mmCGTT_GS_NGG_CLK_CTRL 0x5087
#define mmCGTT_GS_NGG_CLK_CTRL_BASE_IDX 1
#define mmCGTT_PA_CLK_CTRL 0x5088
#define mmCGTT_PA_CLK_CTRL_BASE_IDX 1
#define mmCGTT_SC_CLK_CTRL0 0x5089
#define mmCGTT_SC_CLK_CTRL0_BASE_IDX 1
#define mmCGTT_SC_CLK_CTRL1 0x508a
#define mmCGTT_SC_CLK_CTRL1_BASE_IDX 1
#define mmCGTT_SC_CLK_CTRL2 0x508b
#define mmCGTT_SC_CLK_CTRL2_BASE_IDX 1
#define mmCGTT_SQ_CLK_CTRL 0x508c
#define mmCGTT_SQ_CLK_CTRL_BASE_IDX 1
#define mmCGTT_SQG_CLK_CTRL 0x508d
#define mmCGTT_SQG_CLK_CTRL_BASE_IDX 1
#define mmSQ_ALU_CLK_CTRL 0x508e
#define mmSQ_ALU_CLK_CTRL_BASE_IDX 1
#define mmSQ_TEX_CLK_CTRL 0x508f
#define mmSQ_TEX_CLK_CTRL_BASE_IDX 1
#define mmSQ_LDS_CLK_CTRL 0x5090
#define mmSQ_LDS_CLK_CTRL_BASE_IDX 1
#define mmCGTT_SX_CLK_CTRL0 0x5094
#define mmCGTT_SX_CLK_CTRL0_BASE_IDX 1
#define mmCGTT_SX_CLK_CTRL1 0x5095
#define mmCGTT_SX_CLK_CTRL1_BASE_IDX 1
#define mmCGTT_SX_CLK_CTRL2 0x5096
#define mmCGTT_SX_CLK_CTRL2_BASE_IDX 1
#define mmCGTT_SX_CLK_CTRL3 0x5097
#define mmCGTT_SX_CLK_CTRL3_BASE_IDX 1
#define mmCGTT_SX_CLK_CTRL4 0x5098
#define mmCGTT_SX_CLK_CTRL4_BASE_IDX 1
#define mmTD_CGTT_CTRL 0x509c
#define mmTD_CGTT_CTRL_BASE_IDX 1
#define mmTA_CGTT_CTRL 0x509d
#define mmTA_CGTT_CTRL_BASE_IDX 1
#define mmCGTT_TCPI_CLK_CTRL 0x5109
#define mmCGTT_TCPI_CLK_CTRL_BASE_IDX 1
#define mmCGTT_GDS_CLK_CTRL 0x50a0
#define mmCGTT_GDS_CLK_CTRL_BASE_IDX 1
#define mmDB_CGTT_CLK_CTRL_0 0x50a4
#define mmDB_CGTT_CLK_CTRL_0_BASE_IDX 1
#define mmCB_CGTT_SCLK_CTRL 0x50a8
#define mmCB_CGTT_SCLK_CTRL_BASE_IDX 1
#define mmGL2C_CGTT_SCLK_CTRL 0x50fc
#define mmGL2C_CGTT_SCLK_CTRL_BASE_IDX 1
#define mmGL2A_CGTT_SCLK_CTRL 0x50ac
#define mmGL2A_CGTT_SCLK_CTRL_BASE_IDX 1
#define mmGL2A_CGTT_SCLK_CTRL_1 0x50ad
#define mmGL2A_CGTT_SCLK_CTRL_1_BASE_IDX 1
#define mmCGTT_CP_CLK_CTRL 0x50b0
#define mmCGTT_CP_CLK_CTRL_BASE_IDX 1
#define mmCGTT_CPF_CLK_CTRL 0x50b1
#define mmCGTT_CPF_CLK_CTRL_BASE_IDX 1
#define mmCGTT_CPC_CLK_CTRL 0x50b2
#define mmCGTT_CPC_CLK_CTRL_BASE_IDX 1
#define mmCGTT_RLC_CLK_CTRL 0x50b5
#define mmCGTT_RLC_CLK_CTRL_BASE_IDX 1
#define mmRLC_GFX_RM_CNTL 0x50b6
#define mmRLC_GFX_RM_CNTL_BASE_IDX 1
#define mmRMI_CGTT_SCLK_CTRL 0x50c0
#define mmRMI_CGTT_SCLK_CTRL_BASE_IDX 1
#define mmCGTT_TCPF_CLK_CTRL 0x5111
#define mmCGTT_TCPF_CLK_CTRL_BASE_IDX 1
#define mmGCR_CGTT_SCLK_CTRL 0x50c2
#define mmGCR_CGTT_SCLK_CTRL_BASE_IDX 1
#define mmUTCL1_CGTT_CLK_CTRL 0x50c3
#define mmUTCL1_CGTT_CLK_CTRL_BASE_IDX 1
#define mmGCEA_CGTT_CLK_CTRL 0x50c4
#define mmGCEA_CGTT_CLK_CTRL_BASE_IDX 1
#define mmSE_CAC_CGTT_CLK_CTRL 0x50d0
#define mmSE_CAC_CGTT_CLK_CTRL_BASE_IDX 1
#define mmGC_CAC_CGTT_CLK_CTRL 0x50d8
#define mmGC_CAC_CGTT_CLK_CTRL_BASE_IDX 1
#define mmGRBM_CGTT_CLK_CNTL 0x50e0
#define mmGRBM_CGTT_CLK_CNTL_BASE_IDX 1
#define mmGUS_CGTT_CLK_CTRL 0x50f4
#define mmGUS_CGTT_CLK_CTRL_BASE_IDX 1
#define mmCGTT_PH_CLK_CTRL0 0x50f8
#define mmCGTT_PH_CLK_CTRL0_BASE_IDX 1
#define mmCGTT_PH_CLK_CTRL1 0x50f9
#define mmCGTT_PH_CLK_CTRL1_BASE_IDX 1
#define mmCGTT_PH_CLK_CTRL2 0x50fa
#define mmCGTT_PH_CLK_CTRL2_BASE_IDX 1
#define mmCGTT_PH_CLK_CTRL3 0x50fb
#define mmCGTT_PH_CLK_CTRL3_BASE_IDX 1
// addressBlock: gc_hypdec
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment