forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_1_0_offset.h
....@@ -33,6 +33,14 @@
3333 #define mmUVD_POWER_STATUS_BASE_IDX 1
3434 #define mmCC_UVD_HARVESTING 0x00c7
3535 #define mmCC_UVD_HARVESTING_BASE_IDX 1
36
+#define mmUVD_DPG_LMA_CTL 0x00d1
37
+#define mmUVD_DPG_LMA_CTL_BASE_IDX 1
38
+#define mmUVD_DPG_LMA_DATA 0x00d2
39
+#define mmUVD_DPG_LMA_DATA_BASE_IDX 1
40
+#define mmUVD_DPG_LMA_MASK 0x00d3
41
+#define mmUVD_DPG_LMA_MASK_BASE_IDX 1
42
+#define mmUVD_DPG_PAUSE 0x00d4
43
+#define mmUVD_DPG_PAUSE_BASE_IDX 1
3644 #define mmUVD_SCRATCH1 0x00d5
3745 #define mmUVD_SCRATCH1_BASE_IDX 1
3846 #define mmUVD_SCRATCH2 0x00d6
....@@ -74,6 +82,18 @@
7482 #define mmUVD_LCM_CGC_CNTRL 0x0123
7583 #define mmUVD_LCM_CGC_CNTRL_BASE_IDX 1
7684
85
+#define mmUVD_MIF_CURR_UV_ADDR_CONFIG 0x0184
86
+#define mmUVD_MIF_CURR_UV_ADDR_CONFIG_BASE_IDX 1
87
+#define mmUVD_MIF_REF_UV_ADDR_CONFIG 0x0185
88
+#define mmUVD_MIF_REF_UV_ADDR_CONFIG_BASE_IDX 1
89
+#define mmUVD_MIF_RECON1_UV_ADDR_CONFIG 0x0186
90
+#define mmUVD_MIF_RECON1_UV_ADDR_CONFIG_BASE_IDX 1
91
+#define mmUVD_MIF_CURR_ADDR_CONFIG 0x0192
92
+#define mmUVD_MIF_CURR_ADDR_CONFIG_BASE_IDX 1
93
+#define mmUVD_MIF_REF_ADDR_CONFIG 0x0193
94
+#define mmUVD_MIF_REF_ADDR_CONFIG_BASE_IDX 1
95
+#define mmUVD_MIF_RECON1_ADDR_CONFIG 0x01c5
96
+#define mmUVD_MIF_RECON1_ADDR_CONFIG_BASE_IDX 1
7797
7898 // addressBlock: uvd_uvdnpdec
7999 // base address: 0x20000
....@@ -121,6 +141,8 @@
121141 #define mmUVD_GPCOM_VCPU_DATA0_BASE_IDX 1
122142 #define mmUVD_GPCOM_VCPU_DATA1 0x03c5
123143 #define mmUVD_GPCOM_VCPU_DATA1_BASE_IDX 1
144
+#define mmUVD_ENGINE_CNTL 0x03c6
145
+#define mmUVD_ENGINE_CNTL_BASE_IDX 1
124146 #define mmUVD_UDEC_DBW_UV_ADDR_CONFIG 0x03d2
125147 #define mmUVD_UDEC_DBW_UV_ADDR_CONFIG_BASE_IDX 1
126148 #define mmUVD_UDEC_ADDR_CONFIG 0x03d3
....@@ -307,6 +329,8 @@
307329 #define mmUVD_LMI_CTRL2_BASE_IDX 1
308330 #define mmUVD_MASTINT_EN 0x0540
309331 #define mmUVD_MASTINT_EN_BASE_IDX 1
332
+#define mmUVD_SYS_INT_EN 0x0541
333
+#define mmUVD_SYS_INT_EN_BASE_IDX 1
310334 #define mmJPEG_CGC_CTRL 0x0565
311335 #define mmJPEG_CGC_CTRL_BASE_IDX 1
312336 #define mmUVD_LMI_CTRL 0x0566
....@@ -317,6 +341,8 @@
317341 #define mmUVD_LMI_VM_CTRL_BASE_IDX 1
318342 #define mmUVD_LMI_SWAP_CNTL 0x056d
319343 #define mmUVD_LMI_SWAP_CNTL_BASE_IDX 1
344
+#define mmUVD_MPC_CNTL 0x0577
345
+#define mmUVD_MPC_CNTL_BASE_IDX 1
320346 #define mmUVD_MPC_SET_MUXA0 0x0579
321347 #define mmUVD_MPC_SET_MUXA0_BASE_IDX 1
322348 #define mmUVD_MPC_SET_MUXA1 0x057a