1 static uint32_t gk104_grgpc_data[] = { 2 /* 0x0000: gpc_mmio_list_head */ 3 0x0000006c, 4 /* 0x0004: gpc_mmio_list_tail */ 5 /* 0x0004: tpc_mmio_list_head */ 6 0x0000006c, 7 /* 0x0008: tpc_mmio_list_tail */ 8 /* 0x0008: unk_mmio_list_head */ 9 0x0000006c, 10 /* 0x000c: unk_mmio_list_tail */ 11 0x0000006c, 12 /* 0x0010: gpc_id */ 13 0x00000000, 14 /* 0x0014: tpc_count */ 15 0x00000000, 16 /* 0x0018: tpc_mask */ 17 0x00000000, 18 /* 0x001c: unk_count */ 19 0x00000000, 20 /* 0x0020: unk_mask */ 21 0x00000000, 22 /* 0x0024: cmd_queue */ 23 0x00000000, 24 0x00000000, 25 0x00000000, 26 0x00000000, 27 0x00000000, 28 0x00000000, 29 0x00000000, 30 0x00000000, 31 0x00000000, 32 0x00000000, 33 0x00000000, 34 0x00000000, 35 0x00000000, 36 0x00000000, 37 0x00000000, 38 0x00000000, 39 0x00000000, 40 0x00000000, 41 }; 42 43 static uint32_t gk104_grgpc_code[] = { 44 0x03a10ef5, 45 /* 0x0004: queue_put */ 46 0x9800d898, 47 0x86f001d9, 48 0x0489b808, 49 0xf00c1bf4, 50 0x21f502f7, 51 0x00f8037e, 52 /* 0x001c: queue_put_next */ 53 0xb60798c4, 54 0x8dbb0384, 55 0x0880b600, 56 0x80008e80, 57 0x90b6018f, 58 0x0f94f001, 59 0xf801d980, 60 /* 0x0039: queue_get */ 61 0x0131f400, 62 0x9800d898, 63 0x89b801d9, 64 0x210bf404, 65 0xb60789c4, 66 0x9dbb0394, 67 0x0890b600, 68 0x98009e98, 69 0x80b6019f, 70 0x0f84f001, 71 0xf400d880, 72 /* 0x0066: queue_get_done */ 73 0x00f80132, 74 /* 0x0068: nv_rd32 */ 75 0xf002ecb9, 76 0x07f11fc9, 77 0x03f0ca00, 78 0x000cd001, 79 /* 0x007a: nv_rd32_wait */ 80 0xc7f104bd, 81 0xc3f0ca00, 82 0x00cccf01, 83 0xf41fccc8, 84 0xa7f0f31b, 85 0x1021f506, 86 0x00f7f101, 87 0x01f3f0cb, 88 0xf800ffcf, 89 /* 0x009d: nv_wr32 */ 90 0x0007f100, 91 0x0103f0cc, 92 0xbd000fd0, 93 0x02ecb904, 94 0xf01fc9f0, 95 0x07f11ec9, 96 0x03f0ca00, 97 0x000cd001, 98 /* 0x00be: nv_wr32_wait */ 99 0xc7f104bd, 100 0xc3f0ca00, 101 0x00cccf01, 102 0xf41fccc8, 103 0x00f8f31b, 104 /* 0x00d0: wait_donez */ 105 0x99f094bd, 106 0x0007f100, 107 0x0203f00f, 108 0xbd0009d0, 109 0x0007f104, 110 0x0203f006, 111 0xbd000ad0, 112 /* 0x00ed: wait_donez_ne */ 113 0x0087f104, 114 0x0183f000, 115 0xff0088cf, 116 0x1bf4888a, 117 0xf094bdf3, 118 0x07f10099, 119 0x03f01700, 120 0x0009d002, 121 0x00f804bd, 122 /* 0x0110: wait_doneo */ 123 0x99f094bd, 124 0x0007f100, 125 0x0203f00f, 126 0xbd0009d0, 127 0x0007f104, 128 0x0203f006, 129 0xbd000ad0, 130 /* 0x012d: wait_doneo_e */ 131 0x0087f104, 132 0x0183f000, 133 0xff0088cf, 134 0x0bf4888a, 135 0xf094bdf3, 136 0x07f10099, 137 0x03f01700, 138 0x0009d002, 139 0x00f804bd, 140 /* 0x0150: mmctx_size */ 141 /* 0x0152: nv_mmctx_size_loop */ 142 0xe89894bd, 143 0x1a85b600, 144 0xb60180b6, 145 0x98bb0284, 146 0x04e0b600, 147 0xf404efb8, 148 0x9fb9eb1b, 149 /* 0x016f: mmctx_xfer */ 150 0xbd00f802, 151 0x0199f094, 152 0x0f0007f1, 153 0xd00203f0, 154 0x04bd0009, 155 0xbbfd94bd, 156 0x120bf405, 157 0xc40007f1, 158 0xd00103f0, 159 0x04bd000b, 160 /* 0x0197: mmctx_base_disabled */ 161 0xfd0099f0, 162 0x0bf405ee, 163 0x0007f11e, 164 0x0103f0c6, 165 0xbd000ed0, 166 0x0007f104, 167 0x0103f0c7, 168 0xbd000fd0, 169 0x0199f004, 170 /* 0x01b8: mmctx_multi_disabled */ 171 0xb600abc8, 172 0xb9f010b4, 173 0x01aec80c, 174 0xfd11e4b6, 175 0x07f105be, 176 0x03f0c500, 177 0x000bd001, 178 /* 0x01d6: mmctx_exec_loop */ 179 /* 0x01d6: mmctx_wait_free */ 180 0xe7f104bd, 181 0xe3f0c500, 182 0x00eecf01, 183 0xf41fe4f0, 184 0xce98f30b, 185 0x05e9fd00, 186 0xc80007f1, 187 0xd00103f0, 188 0x04bd000e, 189 0xb804c0b6, 190 0x1bf404cd, 191 0x02abc8d8, 192 /* 0x0207: mmctx_fini_wait */ 193 0xf11f1bf4, 194 0xf0c500b7, 195 0xbbcf01b3, 196 0x1fb4f000, 197 0xf410b4b0, 198 0xa7f0f01b, 199 0xd021f405, 200 /* 0x0223: mmctx_stop */ 201 0xc82b0ef4, 202 0xb4b600ab, 203 0x0cb9f010, 204 0xf112b9f0, 205 0xf0c50007, 206 0x0bd00103, 207 /* 0x023b: mmctx_stop_wait */ 208 0xf104bd00, 209 0xf0c500b7, 210 0xbbcf01b3, 211 0x12bbc800, 212 /* 0x024b: mmctx_done */ 213 0xbdf31bf4, 214 0x0199f094, 215 0x170007f1, 216 0xd00203f0, 217 0x04bd0009, 218 /* 0x025e: strand_wait */ 219 0xa0f900f8, 220 0xf402a7f0, 221 0xa0fcd021, 222 /* 0x026a: strand_pre */ 223 0x97f000f8, 224 0xfc07f10c, 225 0x0203f04a, 226 0xbd0009d0, 227 0x5e21f504, 228 /* 0x027f: strand_post */ 229 0xf000f802, 230 0x07f10d97, 231 0x03f04afc, 232 0x0009d002, 233 0x21f504bd, 234 0x00f8025e, 235 /* 0x0294: strand_set */ 236 0xf10fc7f0, 237 0xf04ffc07, 238 0x0cd00203, 239 0xf004bd00, 240 0x07f10bc7, 241 0x03f04afc, 242 0x000cd002, 243 0x07f104bd, 244 0x03f04ffc, 245 0x000ed002, 246 0xc7f004bd, 247 0xfc07f10a, 248 0x0203f04a, 249 0xbd000cd0, 250 0x5e21f504, 251 /* 0x02d3: strand_ctx_init */ 252 0xbd00f802, 253 0x0399f094, 254 0x0f0007f1, 255 0xd00203f0, 256 0x04bd0009, 257 0x026a21f5, 258 0xf503e7f0, 259 0xbd029421, 260 0xfc07f1c4, 261 0x0203f047, 262 0xbd000cd0, 263 0x01c7f004, 264 0x4afc07f1, 265 0xd00203f0, 266 0x04bd000c, 267 0x025e21f5, 268 0xf1010c92, 269 0xf046fc07, 270 0x0cd00203, 271 0xf004bd00, 272 0x07f102c7, 273 0x03f04afc, 274 0x000cd002, 275 0x21f504bd, 276 0x21f5025e, 277 0x87f1027f, 278 0x83f04200, 279 0x0097f102, 280 0x0293f020, 281 0x950099cf, 282 /* 0x034a: ctx_init_strand_loop */ 283 0x8ed008fe, 284 0x408ed000, 285 0xb6808acf, 286 0xa0b606a5, 287 0x00eabb01, 288 0xb60480b6, 289 0x1bf40192, 290 0x08e4b6e8, 291 0xbdf2efbc, 292 0x0399f094, 293 0x170007f1, 294 0xd00203f0, 295 0x04bd0009, 296 /* 0x037e: error */ 297 0xe0f900f8, 298 0xf102ffb9, 299 0xf09814e7, 300 0x21f440e3, 301 0x01f7f09d, 302 0xf102ffb9, 303 0xf09c1ce7, 304 0x21f440e3, 305 0xf8e0fc9d, 306 /* 0x03a1: init */ 307 0xf104bd00, 308 0xf0420017, 309 0x11cf0013, 310 0x0911e700, 311 0x0814b601, 312 0xf00014fe, 313 0x07f10227, 314 0x03f01200, 315 0x0002d000, 316 0x17f104bd, 317 0x10fe0545, 318 0x0007f100, 319 0x0003f007, 320 0xbd0000d0, 321 0x0427f004, 322 0x040007f1, 323 0xd00003f0, 324 0x04bd0002, 325 0xf11031f4, 326 0xf0820027, 327 0x22cf0123, 328 0x0137f000, 329 0xbb1f24f0, 330 0x32b60432, 331 0x05028001, 332 0xf1060380, 333 0xf0860027, 334 0x22cf0123, 335 0x04028000, 336 0xf10f24b6, 337 0xf0c90007, 338 0x02d00103, 339 0xf104bd00, 340 0xf00c30e7, 341 0xe5f050e3, 342 0xbd24bd01, 343 /* 0x0433: init_unk_loop */ 344 0xf444bd34, 345 0xf6b06821, 346 0x0f0bf400, 347 0xbb01f7f0, 348 0x4ffd04f2, 349 0x0130b605, 350 /* 0x0448: init_unk_next */ 351 0xb60120b6, 352 0x26b004e0, 353 0xe21bf401, 354 /* 0x0454: init_unk_done */ 355 0x80070380, 356 0x27f10804, 357 0x23f00100, 358 0x0022cf02, 359 0x259534bd, 360 0x0007f108, 361 0x0103f0c0, 362 0xbd0005d0, 363 0x0007f104, 364 0x0103f0c1, 365 0xbd0005d0, 366 0x000e9804, 367 0xf5010f98, 368 0xbb015021, 369 0x3fbb002f, 370 0x010e9800, 371 0xf5020f98, 372 0x98015021, 373 0xeffd050e, 374 0x002ebb00, 375 0x98003ebb, 376 0x0f98020e, 377 0x5021f503, 378 0x070e9801, 379 0xbb00effd, 380 0x3ebb002e, 381 0x0235b600, 382 0xd30007f1, 383 0xd00103f0, 384 0x04bd0003, 385 0xb60825b6, 386 0x20b60635, 387 0x0130b601, 388 0xb60824b6, 389 0x2fb90834, 390 0xd321f502, 391 0x002fbb02, 392 0xf1003fbb, 393 0xf0010007, 394 0x03d00203, 395 0xbd04bd00, 396 0x1f29f024, 397 0x080007f1, 398 0xd00203f0, 399 0x04bd0002, 400 /* 0x0508: wait */ 401 0xf40028f4, 402 /* 0x050e: main */ 403 0xd7f00031, 404 0x3921f424, 405 0xb0f401f4, 406 0x18f404e4, 407 0x0181fe1e, 408 0xbd0627f0, 409 0x0412fd20, 410 0xfd01e4b6, 411 0x18fe051e, 412 0x0121f500, 413 0xd90ef406, 414 /* 0x0538: main_not_ctx_xfer */ 415 0xf010ef94, 416 0x21f501f5, 417 0x0ef4037e, 418 /* 0x0545: ih */ 419 0xf900f9cc, 420 0x0188fe80, 421 0x90f980f9, 422 0xb0f9a0f9, 423 0xe0f9d0f9, 424 0x04bdf0f9, 425 0x0200a7f1, 426 0xcf00a3f0, 427 0xabc400aa, 428 0x2c0bf404, 429 0xf124d7f0, 430 0xf01a00e7, 431 0xeecf00e3, 432 0x00f7f100, 433 0x00f3f019, 434 0xf400ffcf, 435 0xe7f00421, 436 0x0007f101, 437 0x0003f01d, 438 0xbd000ed0, 439 /* 0x0595: ih_no_fifo */ 440 0x0007f104, 441 0x0003f001, 442 0xbd000ad0, 443 0xfcf0fc04, 444 0xfcd0fce0, 445 0xfca0fcb0, 446 0xfe80fc90, 447 0x80fc0088, 448 0x32f400fc, 449 /* 0x05bb: hub_barrier_done */ 450 0xf001f800, 451 0x0e9801f7, 452 0x04febb04, 453 0xf102ffb9, 454 0xf09418e7, 455 0x21f440e3, 456 /* 0x05d3: ctx_redswitch */ 457 0xf000f89d, 458 0x07f120f7, 459 0x03f08500, 460 0x000fd001, 461 0xe7f004bd, 462 /* 0x05e5: ctx_redswitch_delay */ 463 0x01e2b608, 464 0xf1fd1bf4, 465 0xf10800f5, 466 0xf10200f5, 467 0xf0850007, 468 0x0fd00103, 469 0xf804bd00, 470 /* 0x0601: ctx_xfer */ 471 0x0007f100, 472 0x0203f081, 473 0xbd000fd0, 474 0x0711f404, 475 0x05d321f5, 476 /* 0x0614: ctx_xfer_not_load */ 477 0x026a21f5, 478 0x07f124bd, 479 0x03f047fc, 480 0x0002d002, 481 0x2cf004bd, 482 0x0320b601, 483 0x4afc07f1, 484 0xd00203f0, 485 0x04bd0002, 486 0xf001acf0, 487 0xb7f102a5, 488 0xb3f00000, 489 0x040c9850, 490 0xbb0fc4b6, 491 0x0c9800bc, 492 0x010d9800, 493 0xf500e7f0, 494 0xf0016f21, 495 0xb7f101ac, 496 0xb3f04000, 497 0x040c9850, 498 0xbb0fc4b6, 499 0x0c9800bc, 500 0x020d9801, 501 0xf1060f98, 502 0xf50800e7, 503 0xf0016f21, 504 0xa5f001ac, 505 0x00b7f104, 506 0x50b3f030, 507 0xb6040c98, 508 0xbcbb0fc4, 509 0x020c9800, 510 0x98030d98, 511 0xe7f1080f, 512 0x21f50200, 513 0x21f5016f, 514 0x01f4025e, 515 0x0712f406, 516 /* 0x06b0: ctx_xfer_post */ 517 0x027f21f5, 518 /* 0x06b4: ctx_xfer_done */ 519 0x05bb21f5, 520 0x000000f8, 521 0x00000000, 522 0x00000000, 523 0x00000000, 524 0x00000000, 525 0x00000000, 526 0x00000000, 527 0x00000000, 528 0x00000000, 529 0x00000000, 530 0x00000000, 531 0x00000000, 532 0x00000000, 533 0x00000000, 534 0x00000000, 535 0x00000000, 536 0x00000000, 537 0x00000000, 538 }; 539