1 /* 2 * Copyright 2020 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the 9 * Software is furnished to do so, subject to the following conditions: 10 * 11 * The above copyright notice and this permission notice shall be included in 12 * all copies or substantial portions of the Software. 13 * 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 21 * 22 */ 23 #ifndef _osssys_4_2_0_OFFSET_HEADER 24 #define _osssys_4_2_0_OFFSET_HEADER 25 26 27 28 // addressBlock: osssys_osssysdec 29 // base address: 0x4280 30 #define mmIH_VMID_0_LUT 0x0000 31 #define mmIH_VMID_0_LUT_BASE_IDX 0 32 #define mmIH_VMID_1_LUT 0x0001 33 #define mmIH_VMID_1_LUT_BASE_IDX 0 34 #define mmIH_VMID_2_LUT 0x0002 35 #define mmIH_VMID_2_LUT_BASE_IDX 0 36 #define mmIH_VMID_3_LUT 0x0003 37 #define mmIH_VMID_3_LUT_BASE_IDX 0 38 #define mmIH_VMID_4_LUT 0x0004 39 #define mmIH_VMID_4_LUT_BASE_IDX 0 40 #define mmIH_VMID_5_LUT 0x0005 41 #define mmIH_VMID_5_LUT_BASE_IDX 0 42 #define mmIH_VMID_6_LUT 0x0006 43 #define mmIH_VMID_6_LUT_BASE_IDX 0 44 #define mmIH_VMID_7_LUT 0x0007 45 #define mmIH_VMID_7_LUT_BASE_IDX 0 46 #define mmIH_VMID_8_LUT 0x0008 47 #define mmIH_VMID_8_LUT_BASE_IDX 0 48 #define mmIH_VMID_9_LUT 0x0009 49 #define mmIH_VMID_9_LUT_BASE_IDX 0 50 #define mmIH_VMID_10_LUT 0x000a 51 #define mmIH_VMID_10_LUT_BASE_IDX 0 52 #define mmIH_VMID_11_LUT 0x000b 53 #define mmIH_VMID_11_LUT_BASE_IDX 0 54 #define mmIH_VMID_12_LUT 0x000c 55 #define mmIH_VMID_12_LUT_BASE_IDX 0 56 #define mmIH_VMID_13_LUT 0x000d 57 #define mmIH_VMID_13_LUT_BASE_IDX 0 58 #define mmIH_VMID_14_LUT 0x000e 59 #define mmIH_VMID_14_LUT_BASE_IDX 0 60 #define mmIH_VMID_15_LUT 0x000f 61 #define mmIH_VMID_15_LUT_BASE_IDX 0 62 #define mmIH_VMID_0_LUT_MM 0x0010 63 #define mmIH_VMID_0_LUT_MM_BASE_IDX 0 64 #define mmIH_VMID_1_LUT_MM 0x0011 65 #define mmIH_VMID_1_LUT_MM_BASE_IDX 0 66 #define mmIH_VMID_2_LUT_MM 0x0012 67 #define mmIH_VMID_2_LUT_MM_BASE_IDX 0 68 #define mmIH_VMID_3_LUT_MM 0x0013 69 #define mmIH_VMID_3_LUT_MM_BASE_IDX 0 70 #define mmIH_VMID_4_LUT_MM 0x0014 71 #define mmIH_VMID_4_LUT_MM_BASE_IDX 0 72 #define mmIH_VMID_5_LUT_MM 0x0015 73 #define mmIH_VMID_5_LUT_MM_BASE_IDX 0 74 #define mmIH_VMID_6_LUT_MM 0x0016 75 #define mmIH_VMID_6_LUT_MM_BASE_IDX 0 76 #define mmIH_VMID_7_LUT_MM 0x0017 77 #define mmIH_VMID_7_LUT_MM_BASE_IDX 0 78 #define mmIH_VMID_8_LUT_MM 0x0018 79 #define mmIH_VMID_8_LUT_MM_BASE_IDX 0 80 #define mmIH_VMID_9_LUT_MM 0x0019 81 #define mmIH_VMID_9_LUT_MM_BASE_IDX 0 82 #define mmIH_VMID_10_LUT_MM 0x001a 83 #define mmIH_VMID_10_LUT_MM_BASE_IDX 0 84 #define mmIH_VMID_11_LUT_MM 0x001b 85 #define mmIH_VMID_11_LUT_MM_BASE_IDX 0 86 #define mmIH_VMID_12_LUT_MM 0x001c 87 #define mmIH_VMID_12_LUT_MM_BASE_IDX 0 88 #define mmIH_VMID_13_LUT_MM 0x001d 89 #define mmIH_VMID_13_LUT_MM_BASE_IDX 0 90 #define mmIH_VMID_14_LUT_MM 0x001e 91 #define mmIH_VMID_14_LUT_MM_BASE_IDX 0 92 #define mmIH_VMID_15_LUT_MM 0x001f 93 #define mmIH_VMID_15_LUT_MM_BASE_IDX 0 94 #define mmIH_COOKIE_0 0x0020 95 #define mmIH_COOKIE_0_BASE_IDX 0 96 #define mmIH_COOKIE_1 0x0021 97 #define mmIH_COOKIE_1_BASE_IDX 0 98 #define mmIH_COOKIE_2 0x0022 99 #define mmIH_COOKIE_2_BASE_IDX 0 100 #define mmIH_COOKIE_3 0x0023 101 #define mmIH_COOKIE_3_BASE_IDX 0 102 #define mmIH_COOKIE_4 0x0024 103 #define mmIH_COOKIE_4_BASE_IDX 0 104 #define mmIH_COOKIE_5 0x0025 105 #define mmIH_COOKIE_5_BASE_IDX 0 106 #define mmIH_COOKIE_6 0x0026 107 #define mmIH_COOKIE_6_BASE_IDX 0 108 #define mmIH_COOKIE_7 0x0027 109 #define mmIH_COOKIE_7_BASE_IDX 0 110 #define mmIH_REGISTER_LAST_PART0 0x003f 111 #define mmIH_REGISTER_LAST_PART0_BASE_IDX 0 112 #define mmSEM_REQ_INPUT_0 0x0040 113 #define mmSEM_REQ_INPUT_0_BASE_IDX 0 114 #define mmSEM_REQ_INPUT_1 0x0041 115 #define mmSEM_REQ_INPUT_1_BASE_IDX 0 116 #define mmSEM_REQ_INPUT_2 0x0042 117 #define mmSEM_REQ_INPUT_2_BASE_IDX 0 118 #define mmSEM_REQ_INPUT_3 0x0043 119 #define mmSEM_REQ_INPUT_3_BASE_IDX 0 120 #define mmSEM_REGISTER_LAST_PART0 0x007f 121 #define mmSEM_REGISTER_LAST_PART0_BASE_IDX 0 122 #define mmIH_RB_CNTL 0x0080 123 #define mmIH_RB_CNTL_BASE_IDX 0 124 #define mmIH_RB_BASE 0x0081 125 #define mmIH_RB_BASE_BASE_IDX 0 126 #define mmIH_RB_BASE_HI 0x0082 127 #define mmIH_RB_BASE_HI_BASE_IDX 0 128 #define mmIH_RB_RPTR 0x0083 129 #define mmIH_RB_RPTR_BASE_IDX 0 130 #define mmIH_RB_WPTR 0x0084 131 #define mmIH_RB_WPTR_BASE_IDX 0 132 #define mmIH_RB_WPTR_ADDR_HI 0x0085 133 #define mmIH_RB_WPTR_ADDR_HI_BASE_IDX 0 134 #define mmIH_RB_WPTR_ADDR_LO 0x0086 135 #define mmIH_RB_WPTR_ADDR_LO_BASE_IDX 0 136 #define mmIH_DOORBELL_RPTR 0x0087 137 #define mmIH_DOORBELL_RPTR_BASE_IDX 0 138 #define mmIH_RB_CNTL_RING1 0x008c 139 #define mmIH_RB_CNTL_RING1_BASE_IDX 0 140 #define mmIH_RB_BASE_RING1 0x008d 141 #define mmIH_RB_BASE_RING1_BASE_IDX 0 142 #define mmIH_RB_BASE_HI_RING1 0x008e 143 #define mmIH_RB_BASE_HI_RING1_BASE_IDX 0 144 #define mmIH_RB_RPTR_RING1 0x008f 145 #define mmIH_RB_RPTR_RING1_BASE_IDX 0 146 #define mmIH_RB_WPTR_RING1 0x0090 147 #define mmIH_RB_WPTR_RING1_BASE_IDX 0 148 #define mmIH_DOORBELL_RPTR_RING1 0x0093 149 #define mmIH_DOORBELL_RPTR_RING1_BASE_IDX 0 150 #define mmIH_RB_CNTL_RING2 0x0098 151 #define mmIH_RB_CNTL_RING2_BASE_IDX 0 152 #define mmIH_RB_BASE_RING2 0x0099 153 #define mmIH_RB_BASE_RING2_BASE_IDX 0 154 #define mmIH_RB_BASE_HI_RING2 0x009a 155 #define mmIH_RB_BASE_HI_RING2_BASE_IDX 0 156 #define mmIH_RB_RPTR_RING2 0x009b 157 #define mmIH_RB_RPTR_RING2_BASE_IDX 0 158 #define mmIH_RB_WPTR_RING2 0x009c 159 #define mmIH_RB_WPTR_RING2_BASE_IDX 0 160 #define mmIH_DOORBELL_RPTR_RING2 0x009f 161 #define mmIH_DOORBELL_RPTR_RING2_BASE_IDX 0 162 #define mmIH_VERSION 0x00a5 163 #define mmIH_VERSION_BASE_IDX 0 164 #define mmIH_CNTL 0x00c0 165 #define mmIH_CNTL_BASE_IDX 0 166 #define mmIH_CNTL2 0x00c1 167 #define mmIH_CNTL2_BASE_IDX 0 168 #define mmIH_STATUS 0x00c2 169 #define mmIH_STATUS_BASE_IDX 0 170 #define mmIH_PERFMON_CNTL 0x00c3 171 #define mmIH_PERFMON_CNTL_BASE_IDX 0 172 #define mmIH_PERFCOUNTER0_RESULT 0x00c4 173 #define mmIH_PERFCOUNTER0_RESULT_BASE_IDX 0 174 #define mmIH_PERFCOUNTER1_RESULT 0x00c5 175 #define mmIH_PERFCOUNTER1_RESULT_BASE_IDX 0 176 #define mmIH_DSM_MATCH_VALUE_BIT_31_0 0x00c7 177 #define mmIH_DSM_MATCH_VALUE_BIT_31_0_BASE_IDX 0 178 #define mmIH_DSM_MATCH_VALUE_BIT_63_32 0x00c8 179 #define mmIH_DSM_MATCH_VALUE_BIT_63_32_BASE_IDX 0 180 #define mmIH_DSM_MATCH_VALUE_BIT_95_64 0x00c9 181 #define mmIH_DSM_MATCH_VALUE_BIT_95_64_BASE_IDX 0 182 #define mmIH_DSM_MATCH_FIELD_CONTROL 0x00ca 183 #define mmIH_DSM_MATCH_FIELD_CONTROL_BASE_IDX 0 184 #define mmIH_DSM_MATCH_DATA_CONTROL 0x00cb 185 #define mmIH_DSM_MATCH_DATA_CONTROL_BASE_IDX 0 186 #define mmIH_DSM_MATCH_FCN_ID 0x00cc 187 #define mmIH_DSM_MATCH_FCN_ID_BASE_IDX 0 188 #define mmIH_LIMIT_INT_RATE_CNTL 0x00cd 189 #define mmIH_LIMIT_INT_RATE_CNTL_BASE_IDX 0 190 #define mmIH_VF_RB_STATUS 0x00ce 191 #define mmIH_VF_RB_STATUS_BASE_IDX 0 192 #define mmIH_VF_RB_STATUS2 0x00cf 193 #define mmIH_VF_RB_STATUS2_BASE_IDX 0 194 #define mmIH_VF_RB1_STATUS 0x00d0 195 #define mmIH_VF_RB1_STATUS_BASE_IDX 0 196 #define mmIH_VF_RB1_STATUS2 0x00d1 197 #define mmIH_VF_RB1_STATUS2_BASE_IDX 0 198 #define mmIH_VF_RB2_STATUS 0x00d2 199 #define mmIH_VF_RB2_STATUS_BASE_IDX 0 200 #define mmIH_VF_RB2_STATUS2 0x00d3 201 #define mmIH_VF_RB2_STATUS2_BASE_IDX 0 202 #define mmIH_INT_FLOOD_CNTL 0x00d5 203 #define mmIH_INT_FLOOD_CNTL_BASE_IDX 0 204 #define mmIH_RB0_INT_FLOOD_STATUS 0x00d6 205 #define mmIH_RB0_INT_FLOOD_STATUS_BASE_IDX 0 206 #define mmIH_RB1_INT_FLOOD_STATUS 0x00d7 207 #define mmIH_RB1_INT_FLOOD_STATUS_BASE_IDX 0 208 #define mmIH_RB2_INT_FLOOD_STATUS 0x00d8 209 #define mmIH_RB2_INT_FLOOD_STATUS_BASE_IDX 0 210 #define mmIH_INT_FLOOD_STATUS 0x00d9 211 #define mmIH_INT_FLOOD_STATUS_BASE_IDX 0 212 #define mmIH_STORM_CLIENT_LIST_CNTL 0x00da 213 #define mmIH_STORM_CLIENT_LIST_CNTL_BASE_IDX 0 214 #define mmIH_CLK_CTRL 0x00db 215 #define mmIH_CLK_CTRL_BASE_IDX 0 216 #define mmIH_INT_FLAGS 0x00dc 217 #define mmIH_INT_FLAGS_BASE_IDX 0 218 #define mmIH_LAST_INT_INFO0 0x00dd 219 #define mmIH_LAST_INT_INFO0_BASE_IDX 0 220 #define mmIH_LAST_INT_INFO1 0x00de 221 #define mmIH_LAST_INT_INFO1_BASE_IDX 0 222 #define mmIH_LAST_INT_INFO2 0x00df 223 #define mmIH_LAST_INT_INFO2_BASE_IDX 0 224 #define mmIH_SCRATCH 0x00e0 225 #define mmIH_SCRATCH_BASE_IDX 0 226 #define mmIH_CLIENT_CREDIT_ERROR 0x00e1 227 #define mmIH_CLIENT_CREDIT_ERROR_BASE_IDX 0 228 #define mmIH_GPU_IOV_VIOLATION_LOG 0x00e2 229 #define mmIH_GPU_IOV_VIOLATION_LOG_BASE_IDX 0 230 #define mmIH_COOKIE_REC_VIOLATION_LOG 0x00e3 231 #define mmIH_COOKIE_REC_VIOLATION_LOG_BASE_IDX 0 232 #define mmIH_CREDIT_STATUS 0x00e4 233 #define mmIH_CREDIT_STATUS_BASE_IDX 0 234 #define mmIH_MMHUB_ERROR 0x00e5 235 #define mmIH_MMHUB_ERROR_BASE_IDX 0 236 #define mmIH_MEM_POWER_CTRL 0x00e8 237 #define mmIH_MEM_POWER_CTRL_BASE_IDX 0 238 #define mmIH_REGISTER_LAST_PART2 0x00ff 239 #define mmIH_REGISTER_LAST_PART2_BASE_IDX 0 240 #define mmSEM_CLK_CTRL 0x0100 241 #define mmSEM_CLK_CTRL_BASE_IDX 0 242 #define mmSEM_UTC_CREDIT 0x0101 243 #define mmSEM_UTC_CREDIT_BASE_IDX 0 244 #define mmSEM_UTC_CONFIG 0x0102 245 #define mmSEM_UTC_CONFIG_BASE_IDX 0 246 #define mmSEM_UTCL2_TRAN_EN_LUT 0x0103 247 #define mmSEM_UTCL2_TRAN_EN_LUT_BASE_IDX 0 248 #define mmSEM_MCIF_CONFIG 0x0104 249 #define mmSEM_MCIF_CONFIG_BASE_IDX 0 250 #define mmSEM_PERFMON_CNTL 0x0105 251 #define mmSEM_PERFMON_CNTL_BASE_IDX 0 252 #define mmSEM_PERFCOUNTER0_RESULT 0x0106 253 #define mmSEM_PERFCOUNTER0_RESULT_BASE_IDX 0 254 #define mmSEM_PERFCOUNTER1_RESULT 0x0107 255 #define mmSEM_PERFCOUNTER1_RESULT_BASE_IDX 0 256 #define mmSEM_STATUS 0x0108 257 #define mmSEM_STATUS_BASE_IDX 0 258 #define mmSEM_MAILBOX_CLIENTCONFIG 0x0109 259 #define mmSEM_MAILBOX_CLIENTCONFIG_BASE_IDX 0 260 #define mmSEM_MAILBOX 0x010a 261 #define mmSEM_MAILBOX_BASE_IDX 0 262 #define mmSEM_MAILBOX_CONTROL 0x010b 263 #define mmSEM_MAILBOX_CONTROL_BASE_IDX 0 264 #define mmSEM_CHICKEN_BITS 0x010c 265 #define mmSEM_CHICKEN_BITS_BASE_IDX 0 266 #define mmSEM_MAILBOX_CLIENTCONFIG_EXTRA 0x010d 267 #define mmSEM_MAILBOX_CLIENTCONFIG_EXTRA_BASE_IDX 0 268 #define mmSEM_GPU_IOV_VIOLATION_LOG 0x010e 269 #define mmSEM_GPU_IOV_VIOLATION_LOG_BASE_IDX 0 270 #define mmSEM_OUTSTANDING_THRESHOLD 0x010f 271 #define mmSEM_OUTSTANDING_THRESHOLD_BASE_IDX 0 272 #define mmSEM_MEM_POWER_CTRL 0x0110 273 #define mmSEM_MEM_POWER_CTRL_BASE_IDX 0 274 #define mmSEM_REGISTER_LAST_PART2 0x017f 275 #define mmSEM_REGISTER_LAST_PART2_BASE_IDX 0 276 #define mmIH_ACTIVE_FCN_ID 0x0180 277 #define mmIH_ACTIVE_FCN_ID_BASE_IDX 0 278 #define mmIH_VIRT_RESET_REQ 0x0181 279 #define mmIH_VIRT_RESET_REQ_BASE_IDX 0 280 #define mmIH_CLIENT_CFG 0x0184 281 #define mmIH_CLIENT_CFG_BASE_IDX 0 282 #define mmIH_CLIENT_CFG_INDEX 0x0188 283 #define mmIH_CLIENT_CFG_INDEX_BASE_IDX 0 284 #define mmIH_CLIENT_CFG_DATA 0x0189 285 #define mmIH_CLIENT_CFG_DATA_BASE_IDX 0 286 #define mmIH_CID_REMAP_INDEX 0x018a 287 #define mmIH_CID_REMAP_INDEX_BASE_IDX 0 288 #define mmIH_CID_REMAP_DATA 0x018b 289 #define mmIH_CID_REMAP_DATA_BASE_IDX 0 290 #define mmIH_CHICKEN 0x018c 291 #define mmIH_CHICKEN_BASE_IDX 0 292 #define mmIH_MMHUB_CNTL 0x018d 293 #define mmIH_MMHUB_CNTL_BASE_IDX 0 294 #define mmIH_INT_DROP_CNTL 0x018e 295 #define mmIH_INT_DROP_CNTL_BASE_IDX 0 296 #define mmIH_INT_DROP_MATCH_VALUE0 0x018f 297 #define mmIH_INT_DROP_MATCH_VALUE0_BASE_IDX 0 298 #define mmIH_INT_DROP_MATCH_VALUE1 0x0190 299 #define mmIH_INT_DROP_MATCH_VALUE1_BASE_IDX 0 300 #define mmIH_INT_DROP_MATCH_MASK0 0x0191 301 #define mmIH_INT_DROP_MATCH_MASK0_BASE_IDX 0 302 #define mmIH_INT_DROP_MATCH_MASK1 0x0192 303 #define mmIH_INT_DROP_MATCH_MASK1_BASE_IDX 0 304 #define mmIH_REGISTER_LAST_PART1 0x019f 305 #define mmIH_REGISTER_LAST_PART1_BASE_IDX 0 306 #define mmSEM_ACTIVE_FCN_ID 0x01a0 307 #define mmSEM_ACTIVE_FCN_ID_BASE_IDX 0 308 #define mmSEM_VIRT_RESET_REQ 0x01a1 309 #define mmSEM_VIRT_RESET_REQ_BASE_IDX 0 310 #define mmSEM_RESP_SDMA0 0x01a4 311 #define mmSEM_RESP_SDMA0_BASE_IDX 0 312 #define mmSEM_RESP_SDMA1 0x01a5 313 #define mmSEM_RESP_SDMA1_BASE_IDX 0 314 #define mmSEM_RESP_UVD 0x01a6 315 #define mmSEM_RESP_UVD_BASE_IDX 0 316 #define mmSEM_RESP_VCE_0 0x01a7 317 #define mmSEM_RESP_VCE_0_BASE_IDX 0 318 #define mmSEM_RESP_ACP 0x01a8 319 #define mmSEM_RESP_ACP_BASE_IDX 0 320 #define mmSEM_RESP_ISP 0x01a9 321 #define mmSEM_RESP_ISP_BASE_IDX 0 322 #define mmSEM_RESP_VCE_1 0x01aa 323 #define mmSEM_RESP_VCE_1_BASE_IDX 0 324 #define mmSEM_RESP_VP8 0x01ab 325 #define mmSEM_RESP_VP8_BASE_IDX 0 326 #define mmSEM_RESP_GC 0x01ac 327 #define mmSEM_RESP_GC_BASE_IDX 0 328 #define mmSEM_RESP_UVD_1 0x01ad 329 #define mmSEM_RESP_UVD_1_BASE_IDX 0 330 #define mmSEM_CID_REMAP_INDEX 0x01b0 331 #define mmSEM_CID_REMAP_INDEX_BASE_IDX 0 332 #define mmSEM_CID_REMAP_DATA 0x01b1 333 #define mmSEM_CID_REMAP_DATA_BASE_IDX 0 334 #define mmSEM_ATOMIC_OP_LUT 0x01b2 335 #define mmSEM_ATOMIC_OP_LUT_BASE_IDX 0 336 #define mmSEM_EDC_CONFIG 0x01b3 337 #define mmSEM_EDC_CONFIG_BASE_IDX 0 338 #define mmSEM_CHICKEN_BITS2 0x01b4 339 #define mmSEM_CHICKEN_BITS2_BASE_IDX 0 340 #define mmSEM_MMHUB_CNTL 0x01b5 341 #define mmSEM_MMHUB_CNTL_BASE_IDX 0 342 #define mmSEM_REGISTER_LAST_PART1 0x01bf 343 #define mmSEM_REGISTER_LAST_PART1_BASE_IDX 0 344 345 #endif 346