1c59a5c48SFrançois Tigeot /*
2c59a5c48SFrançois Tigeot  * UVD_6_0 Register documentation
3c59a5c48SFrançois Tigeot  *
4c59a5c48SFrançois Tigeot  * Copyright (C) 2014  Advanced Micro Devices, Inc.
5c59a5c48SFrançois Tigeot  *
6c59a5c48SFrançois Tigeot  * Permission is hereby granted, free of charge, to any person obtaining a
7c59a5c48SFrançois Tigeot  * copy of this software and associated documentation files (the "Software"),
8c59a5c48SFrançois Tigeot  * to deal in the Software without restriction, including without limitation
9c59a5c48SFrançois Tigeot  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10c59a5c48SFrançois Tigeot  * and/or sell copies of the Software, and to permit persons to whom the
11c59a5c48SFrançois Tigeot  * Software is furnished to do so, subject to the following conditions:
12c59a5c48SFrançois Tigeot  *
13c59a5c48SFrançois Tigeot  * The above copyright notice and this permission notice shall be included
14c59a5c48SFrançois Tigeot  * in all copies or substantial portions of the Software.
15c59a5c48SFrançois Tigeot  *
16c59a5c48SFrançois Tigeot  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17c59a5c48SFrançois Tigeot  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18c59a5c48SFrançois Tigeot  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
19c59a5c48SFrançois Tigeot  * THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20c59a5c48SFrançois Tigeot  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21c59a5c48SFrançois Tigeot  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22c59a5c48SFrançois Tigeot  */
23c59a5c48SFrançois Tigeot 
24c59a5c48SFrançois Tigeot #ifndef UVD_6_0_D_H
25c59a5c48SFrançois Tigeot #define UVD_6_0_D_H
26c59a5c48SFrançois Tigeot 
27c59a5c48SFrançois Tigeot #define mmUVD_SEMA_ADDR_LOW                                                     0x3bc0
28c59a5c48SFrançois Tigeot #define mmUVD_SEMA_ADDR_HIGH                                                    0x3bc1
29c59a5c48SFrançois Tigeot #define mmUVD_SEMA_CMD                                                          0x3bc2
30c59a5c48SFrançois Tigeot #define mmUVD_GPCOM_VCPU_CMD                                                    0x3bc3
31c59a5c48SFrançois Tigeot #define mmUVD_GPCOM_VCPU_DATA0                                                  0x3bc4
32c59a5c48SFrançois Tigeot #define mmUVD_GPCOM_VCPU_DATA1                                                  0x3bc5
33c59a5c48SFrançois Tigeot #define mmUVD_ENGINE_CNTL                                                       0x3bc6
34c59a5c48SFrançois Tigeot #define mmUVD_UDEC_ADDR_CONFIG                                                  0x3bd3
35c59a5c48SFrançois Tigeot #define mmUVD_UDEC_DB_ADDR_CONFIG                                               0x3bd4
36c59a5c48SFrançois Tigeot #define mmUVD_UDEC_DBW_ADDR_CONFIG                                              0x3bd5
37c59a5c48SFrançois Tigeot #define mmUVD_POWER_STATUS_U                                                    0x3bfd
38*b843c749SSergey Zigachev #define mmUVD_NO_OP                                                             0x3bff
39*b843c749SSergey Zigachev #define mmUVD_RB_BASE_LO2                                                       0x3c21
40*b843c749SSergey Zigachev #define mmUVD_RB_BASE_HI2                                                       0x3c22
41*b843c749SSergey Zigachev #define mmUVD_RB_SIZE2                                                          0x3c23
42*b843c749SSergey Zigachev #define mmUVD_RB_RPTR2                                                          0x3c24
43*b843c749SSergey Zigachev #define mmUVD_RB_WPTR2                                                          0x3c25
44*b843c749SSergey Zigachev #define mmUVD_RB_BASE_LO                                                        0x3c26
45*b843c749SSergey Zigachev #define mmUVD_RB_BASE_HI                                                        0x3c27
46*b843c749SSergey Zigachev #define mmUVD_RB_SIZE                                                           0x3c28
47*b843c749SSergey Zigachev #define mmUVD_RB_RPTR                                                           0x3c29
48*b843c749SSergey Zigachev #define mmUVD_RB_WPTR                                                           0x3c2a
49c59a5c48SFrançois Tigeot #define mmUVD_LMI_RBC_RB_64BIT_BAR_LOW                                          0x3c69
50c59a5c48SFrançois Tigeot #define mmUVD_LMI_RBC_RB_64BIT_BAR_HIGH                                         0x3c68
51c59a5c48SFrançois Tigeot #define mmUVD_LMI_RBC_IB_64BIT_BAR_LOW                                          0x3c67
52c59a5c48SFrançois Tigeot #define mmUVD_LMI_RBC_IB_64BIT_BAR_HIGH                                         0x3c66
53c59a5c48SFrançois Tigeot #define mmUVD_LMI_VCPU_CACHE_64BIT_BAR_LOW                                      0x3c5f
54c59a5c48SFrançois Tigeot #define mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH                                     0x3c5e
55c59a5c48SFrançois Tigeot #define mmUVD_SEMA_CNTL                                                         0x3d00
56*b843c749SSergey Zigachev #define mmUVD_RB_WPTR3                                                          0x3d1c
57*b843c749SSergey Zigachev #define mmUVD_RB_RPTR3                                                          0x3d1b
58*b843c749SSergey Zigachev #define mmUVD_RB_BASE_LO3                                                       0x3d1d
59*b843c749SSergey Zigachev #define mmUVD_RB_BASE_HI3                                                       0x3d1e
60*b843c749SSergey Zigachev #define mmUVD_RB_SIZE3                                                          0x3d1f
61c59a5c48SFrançois Tigeot #define mmUVD_LMI_EXT40_ADDR                                                    0x3d26
62c59a5c48SFrançois Tigeot #define mmUVD_CTX_INDEX                                                         0x3d28
63c59a5c48SFrançois Tigeot #define mmUVD_CTX_DATA                                                          0x3d29
64c59a5c48SFrançois Tigeot #define mmUVD_CGC_GATE                                                          0x3d2a
65c59a5c48SFrançois Tigeot #define mmUVD_CGC_STATUS                                                        0x3d2b
66c59a5c48SFrançois Tigeot #define mmUVD_CGC_CTRL                                                          0x3d2c
67c59a5c48SFrançois Tigeot #define mmUVD_CGC_UDEC_STATUS                                                   0x3d2d
68c59a5c48SFrançois Tigeot #define mmUVD_LMI_CTRL2                                                         0x3d3d
69c59a5c48SFrançois Tigeot #define mmUVD_MASTINT_EN                                                        0x3d40
70c59a5c48SFrançois Tigeot #define mmUVD_LMI_ADDR_EXT                                                      0x3d65
71c59a5c48SFrançois Tigeot #define mmUVD_LMI_CTRL                                                          0x3d66
72c59a5c48SFrançois Tigeot #define mmUVD_LMI_STATUS                                                        0x3d67
73c59a5c48SFrançois Tigeot #define mmUVD_LMI_SWAP_CNTL                                                     0x3d6d
74c59a5c48SFrançois Tigeot #define mmUVD_MP_SWAP_CNTL                                                      0x3d6f
75c59a5c48SFrançois Tigeot #define mmUVD_MPC_CNTL                                                          0x3d77
76c59a5c48SFrançois Tigeot #define mmUVD_MPC_SET_MUXA0                                                     0x3d79
77c59a5c48SFrançois Tigeot #define mmUVD_MPC_SET_MUXA1                                                     0x3d7a
78c59a5c48SFrançois Tigeot #define mmUVD_MPC_SET_MUXB0                                                     0x3d7b
79c59a5c48SFrançois Tigeot #define mmUVD_MPC_SET_MUXB1                                                     0x3d7c
80c59a5c48SFrançois Tigeot #define mmUVD_MPC_SET_MUX                                                       0x3d7d
81c59a5c48SFrançois Tigeot #define mmUVD_MPC_SET_ALU                                                       0x3d7e
82c59a5c48SFrançois Tigeot #define mmUVD_VCPU_CACHE_OFFSET0                                                0x3d82
83c59a5c48SFrançois Tigeot #define mmUVD_VCPU_CACHE_SIZE0                                                  0x3d83
84c59a5c48SFrançois Tigeot #define mmUVD_VCPU_CACHE_OFFSET1                                                0x3d84
85c59a5c48SFrançois Tigeot #define mmUVD_VCPU_CACHE_SIZE1                                                  0x3d85
86c59a5c48SFrançois Tigeot #define mmUVD_VCPU_CACHE_OFFSET2                                                0x3d86
87c59a5c48SFrançois Tigeot #define mmUVD_VCPU_CACHE_SIZE2                                                  0x3d87
88c59a5c48SFrançois Tigeot #define mmUVD_VCPU_CNTL                                                         0x3d98
89c59a5c48SFrançois Tigeot #define mmUVD_SOFT_RESET                                                        0x3da0
90c59a5c48SFrançois Tigeot #define mmUVD_LMI_RBC_IB_VMID                                                   0x3da1
91c59a5c48SFrançois Tigeot #define mmUVD_RBC_IB_SIZE                                                       0x3da2
92c59a5c48SFrançois Tigeot #define mmUVD_LMI_RBC_RB_VMID                                                   0x3da3
93c59a5c48SFrançois Tigeot #define mmUVD_RBC_RB_RPTR                                                       0x3da4
94c59a5c48SFrançois Tigeot #define mmUVD_RBC_RB_WPTR                                                       0x3da5
95c59a5c48SFrançois Tigeot #define mmUVD_RBC_RB_WPTR_CNTL                                                  0x3da6
96c59a5c48SFrançois Tigeot #define mmUVD_RBC_RB_CNTL                                                       0x3da9
97c59a5c48SFrançois Tigeot #define mmUVD_RBC_RB_RPTR_ADDR                                                  0x3daa
98c59a5c48SFrançois Tigeot #define mmUVD_STATUS                                                            0x3daf
99c59a5c48SFrançois Tigeot #define mmUVD_SEMA_TIMEOUT_STATUS                                               0x3db0
100c59a5c48SFrançois Tigeot #define mmUVD_SEMA_WAIT_INCOMPLETE_TIMEOUT_CNTL                                 0x3db1
101c59a5c48SFrançois Tigeot #define mmUVD_SEMA_WAIT_FAULT_TIMEOUT_CNTL                                      0x3db2
102c59a5c48SFrançois Tigeot #define mmUVD_SEMA_SIGNAL_INCOMPLETE_TIMEOUT_CNTL                               0x3db3
103c59a5c48SFrançois Tigeot #define mmUVD_CONTEXT_ID                                                        0x3dbd
104c59a5c48SFrançois Tigeot #define mmUVD_RBC_IB_SIZE_UPDATE                                                0x3df1
105c59a5c48SFrançois Tigeot #define mmUVD_SUVD_CGC_GATE                                                     0x3be4
106c59a5c48SFrançois Tigeot #define mmUVD_SUVD_CGC_STATUS                                                   0x3be5
107c59a5c48SFrançois Tigeot #define mmUVD_SUVD_CGC_CTRL                                                     0x3be6
108c59a5c48SFrançois Tigeot #define ixUVD_LMI_VMID_INTERNAL                                                 0x99
109c59a5c48SFrançois Tigeot #define ixUVD_LMI_VMID_INTERNAL2                                                0x9a
110c59a5c48SFrançois Tigeot #define ixUVD_LMI_CACHE_CTRL                                                    0x9b
111c59a5c48SFrançois Tigeot #define ixUVD_LMI_SWAP_CNTL2                                                    0xaa
112c59a5c48SFrançois Tigeot #define ixUVD_LMI_ADDR_EXT2                                                     0xab
113c59a5c48SFrançois Tigeot #define ixUVD_CGC_MEM_CTRL                                                      0xc0
114c59a5c48SFrançois Tigeot #define ixUVD_CGC_CTRL2                                                         0xc1
115c59a5c48SFrançois Tigeot #define ixUVD_LMI_VMID_INTERNAL3                                                0x162
116c59a5c48SFrançois Tigeot #define mmUVD_PGFSM_CONFIG                                                      0x38c0
117c59a5c48SFrançois Tigeot #define mmUVD_PGFSM_READ_TILE1                                                  0x38c2
118c59a5c48SFrançois Tigeot #define mmUVD_PGFSM_READ_TILE2                                                  0x38c3
119c59a5c48SFrançois Tigeot #define mmUVD_POWER_STATUS                                                      0x38c4
120c59a5c48SFrançois Tigeot #define mmUVD_PGFSM_READ_TILE3                                                  0x38c5
121c59a5c48SFrançois Tigeot #define mmUVD_PGFSM_READ_TILE4                                                  0x38c6
122c59a5c48SFrançois Tigeot #define mmUVD_PGFSM_READ_TILE5                                                  0x38c8
123c59a5c48SFrançois Tigeot #define mmUVD_PGFSM_READ_TILE6                                                  0x38ee
124c59a5c48SFrançois Tigeot #define mmUVD_PGFSM_READ_TILE7                                                  0x38ef
125c59a5c48SFrançois Tigeot #define mmUVD_MIF_CURR_ADDR_CONFIG                                              0x3992
126c59a5c48SFrançois Tigeot #define mmUVD_MIF_REF_ADDR_CONFIG                                               0x3993
127c59a5c48SFrançois Tigeot #define mmUVD_MIF_RECON1_ADDR_CONFIG                                            0x39c5
128c59a5c48SFrançois Tigeot #define ixUVD_MIF_SCLR_ADDR_CONFIG                                              0x4
129c59a5c48SFrançois Tigeot #define mmUVD_JPEG_ADDR_CONFIG                                                  0x3a1f
130*b843c749SSergey Zigachev #define mmUVD_GP_SCRATCH8                                                       0x3c0a
131*b843c749SSergey Zigachev #define mmUVD_GP_SCRATCH9                                                       0x3c0b
132d78d3a22SFrançois Tigeot #define mmUVD_GP_SCRATCH4                                                       0x3d38
133c59a5c48SFrançois Tigeot 
134c59a5c48SFrançois Tigeot #endif /* UVD_6_0_D_H */
135