radeon_microcode.h revision 256281
1/*- 2 * Copyright 2007 Advanced Micro Devices, Inc. 3 * All Rights Reserved. 4 * 5 * Permission is hereby granted, free of charge, to any person obtaining a 6 * copy of this software and associated documentation files (the "Software"), 7 * to deal in the Software without restriction, including without limitation 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 * and/or sell copies of the Software, and to permit persons to whom the 10 * Software is furnished to do so, subject to the following conditions: 11 * 12 * The above copyright notice and this permission notice (including the next 13 * paragraph) shall be included in all copies or substantial portions of the 14 * Software. 15 * 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE 20 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 22 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 * 24 */ 25 26#include <sys/cdefs.h> 27__FBSDID("$FreeBSD: stable/10/sys/dev/drm/radeon_microcode.h 182080 2008-08-23 20:59:12Z rnoland $"); 28 29#ifndef RADEON_MICROCODE_H 30#define RADEON_MICROCODE_H 31 32/* production radeon ucode r1xx-r6xx */ 33static const u32 R100_cp_microcode[][2]={ 34 { 0x21007000, 0000000000 }, 35 { 0x20007000, 0000000000 }, 36 { 0x000000b4, 0x00000004 }, 37 { 0x000000b8, 0x00000004 }, 38 { 0x6f5b4d4c, 0000000000 }, 39 { 0x4c4c427f, 0000000000 }, 40 { 0x5b568a92, 0000000000 }, 41 { 0x4ca09c6d, 0000000000 }, 42 { 0xad4c4c4c, 0000000000 }, 43 { 0x4ce1af3d, 0000000000 }, 44 { 0xd8afafaf, 0000000000 }, 45 { 0xd64c4cdc, 0000000000 }, 46 { 0x4cd10d10, 0000000000 }, 47 { 0x000f0000, 0x00000016 }, 48 { 0x362f242d, 0000000000 }, 49 { 0x00000012, 0x00000004 }, 50 { 0x000f0000, 0x00000016 }, 51 { 0x362f282d, 0000000000 }, 52 { 0x000380e7, 0x00000002 }, 53 { 0x04002c97, 0x00000002 }, 54 { 0x000f0001, 0x00000016 }, 55 { 0x333a3730, 0000000000 }, 56 { 0x000077ef, 0x00000002 }, 57 { 0x00061000, 0x00000002 }, 58 { 0x00000021, 0x0000001a }, 59 { 0x00004000, 0x0000001e }, 60 { 0x00061000, 0x00000002 }, 61 { 0x00000021, 0x0000001a }, 62 { 0x00004000, 0x0000001e }, 63 { 0x00061000, 0x00000002 }, 64 { 0x00000021, 0x0000001a }, 65 { 0x00004000, 0x0000001e }, 66 { 0x00000017, 0x00000004 }, 67 { 0x0003802b, 0x00000002 }, 68 { 0x040067e0, 0x00000002 }, 69 { 0x00000017, 0x00000004 }, 70 { 0x000077e0, 0x00000002 }, 71 { 0x00065000, 0x00000002 }, 72 { 0x000037e1, 0x00000002 }, 73 { 0x040067e1, 0x00000006 }, 74 { 0x000077e0, 0x00000002 }, 75 { 0x000077e1, 0x00000002 }, 76 { 0x000077e1, 0x00000006 }, 77 { 0xffffffff, 0000000000 }, 78 { 0x10000000, 0000000000 }, 79 { 0x0003802b, 0x00000002 }, 80 { 0x040067e0, 0x00000006 }, 81 { 0x00007675, 0x00000002 }, 82 { 0x00007676, 0x00000002 }, 83 { 0x00007677, 0x00000002 }, 84 { 0x00007678, 0x00000006 }, 85 { 0x0003802c, 0x00000002 }, 86 { 0x04002676, 0x00000002 }, 87 { 0x00007677, 0x00000002 }, 88 { 0x00007678, 0x00000006 }, 89 { 0x0000002f, 0x00000018 }, 90 { 0x0000002f, 0x00000018 }, 91 { 0000000000, 0x00000006 }, 92 { 0x00000030, 0x00000018 }, 93 { 0x00000030, 0x00000018 }, 94 { 0000000000, 0x00000006 }, 95 { 0x01605000, 0x00000002 }, 96 { 0x00065000, 0x00000002 }, 97 { 0x00098000, 0x00000002 }, 98 { 0x00061000, 0x00000002 }, 99 { 0x64c0603e, 0x00000004 }, 100 { 0x000380e6, 0x00000002 }, 101 { 0x040025c5, 0x00000002 }, 102 { 0x00080000, 0x00000016 }, 103 { 0000000000, 0000000000 }, 104 { 0x0400251d, 0x00000002 }, 105 { 0x00007580, 0x00000002 }, 106 { 0x00067581, 0x00000002 }, 107 { 0x04002580, 0x00000002 }, 108 { 0x00067581, 0x00000002 }, 109 { 0x00000049, 0x00000004 }, 110 { 0x00005000, 0000000000 }, 111 { 0x000380e6, 0x00000002 }, 112 { 0x040025c5, 0x00000002 }, 113 { 0x00061000, 0x00000002 }, 114 { 0x0000750e, 0x00000002 }, 115 { 0x00019000, 0x00000002 }, 116 { 0x00011055, 0x00000014 }, 117 { 0x00000055, 0x00000012 }, 118 { 0x0400250f, 0x00000002 }, 119 { 0x0000504f, 0x00000004 }, 120 { 0x000380e6, 0x00000002 }, 121 { 0x040025c5, 0x00000002 }, 122 { 0x00007565, 0x00000002 }, 123 { 0x00007566, 0x00000002 }, 124 { 0x00000058, 0x00000004 }, 125 { 0x000380e6, 0x00000002 }, 126 { 0x040025c5, 0x00000002 }, 127 { 0x01e655b4, 0x00000002 }, 128 { 0x4401b0e4, 0x00000002 }, 129 { 0x01c110e4, 0x00000002 }, 130 { 0x26667066, 0x00000018 }, 131 { 0x040c2565, 0x00000002 }, 132 { 0x00000066, 0x00000018 }, 133 { 0x04002564, 0x00000002 }, 134 { 0x00007566, 0x00000002 }, 135 { 0x0000005d, 0x00000004 }, 136 { 0x00401069, 0x00000008 }, 137 { 0x00101000, 0x00000002 }, 138 { 0x000d80ff, 0x00000002 }, 139 { 0x0080006c, 0x00000008 }, 140 { 0x000f9000, 0x00000002 }, 141 { 0x000e00ff, 0x00000002 }, 142 { 0000000000, 0x00000006 }, 143 { 0x0000008f, 0x00000018 }, 144 { 0x0000005b, 0x00000004 }, 145 { 0x000380e6, 0x00000002 }, 146 { 0x040025c5, 0x00000002 }, 147 { 0x00007576, 0x00000002 }, 148 { 0x00065000, 0x00000002 }, 149 { 0x00009000, 0x00000002 }, 150 { 0x00041000, 0x00000002 }, 151 { 0x0c00350e, 0x00000002 }, 152 { 0x00049000, 0x00000002 }, 153 { 0x00051000, 0x00000002 }, 154 { 0x01e785f8, 0x00000002 }, 155 { 0x00200000, 0x00000002 }, 156 { 0x0060007e, 0x0000000c }, 157 { 0x00007563, 0x00000002 }, 158 { 0x006075f0, 0x00000021 }, 159 { 0x20007073, 0x00000004 }, 160 { 0x00005073, 0x00000004 }, 161 { 0x000380e6, 0x00000002 }, 162 { 0x040025c5, 0x00000002 }, 163 { 0x00007576, 0x00000002 }, 164 { 0x00007577, 0x00000002 }, 165 { 0x0000750e, 0x00000002 }, 166 { 0x0000750f, 0x00000002 }, 167 { 0x00a05000, 0x00000002 }, 168 { 0x00600083, 0x0000000c }, 169 { 0x006075f0, 0x00000021 }, 170 { 0x000075f8, 0x00000002 }, 171 { 0x00000083, 0x00000004 }, 172 { 0x000a750e, 0x00000002 }, 173 { 0x000380e6, 0x00000002 }, 174 { 0x040025c5, 0x00000002 }, 175 { 0x0020750f, 0x00000002 }, 176 { 0x00600086, 0x00000004 }, 177 { 0x00007570, 0x00000002 }, 178 { 0x00007571, 0x00000002 }, 179 { 0x00007572, 0x00000006 }, 180 { 0x000380e6, 0x00000002 }, 181 { 0x040025c5, 0x00000002 }, 182 { 0x00005000, 0x00000002 }, 183 { 0x00a05000, 0x00000002 }, 184 { 0x00007568, 0x00000002 }, 185 { 0x00061000, 0x00000002 }, 186 { 0x00000095, 0x0000000c }, 187 { 0x00058000, 0x00000002 }, 188 { 0x0c607562, 0x00000002 }, 189 { 0x00000097, 0x00000004 }, 190 { 0x000380e6, 0x00000002 }, 191 { 0x040025c5, 0x00000002 }, 192 { 0x00600096, 0x00000004 }, 193 { 0x400070e5, 0000000000 }, 194 { 0x000380e6, 0x00000002 }, 195 { 0x040025c5, 0x00000002 }, 196 { 0x000380e5, 0x00000002 }, 197 { 0x000000a8, 0x0000001c }, 198 { 0x000650aa, 0x00000018 }, 199 { 0x040025bb, 0x00000002 }, 200 { 0x000610ab, 0x00000018 }, 201 { 0x040075bc, 0000000000 }, 202 { 0x000075bb, 0x00000002 }, 203 { 0x000075bc, 0000000000 }, 204 { 0x00090000, 0x00000006 }, 205 { 0x00090000, 0x00000002 }, 206 { 0x000d8002, 0x00000006 }, 207 { 0x00007832, 0x00000002 }, 208 { 0x00005000, 0x00000002 }, 209 { 0x000380e7, 0x00000002 }, 210 { 0x04002c97, 0x00000002 }, 211 { 0x00007820, 0x00000002 }, 212 { 0x00007821, 0x00000002 }, 213 { 0x00007800, 0000000000 }, 214 { 0x01200000, 0x00000002 }, 215 { 0x20077000, 0x00000002 }, 216 { 0x01200000, 0x00000002 }, 217 { 0x20007000, 0x00000002 }, 218 { 0x00061000, 0x00000002 }, 219 { 0x0120751b, 0x00000002 }, 220 { 0x8040750a, 0x00000002 }, 221 { 0x8040750b, 0x00000002 }, 222 { 0x00110000, 0x00000002 }, 223 { 0x000380e5, 0x00000002 }, 224 { 0x000000c6, 0x0000001c }, 225 { 0x000610ab, 0x00000018 }, 226 { 0x844075bd, 0x00000002 }, 227 { 0x000610aa, 0x00000018 }, 228 { 0x840075bb, 0x00000002 }, 229 { 0x000610ab, 0x00000018 }, 230 { 0x844075bc, 0x00000002 }, 231 { 0x000000c9, 0x00000004 }, 232 { 0x804075bd, 0x00000002 }, 233 { 0x800075bb, 0x00000002 }, 234 { 0x804075bc, 0x00000002 }, 235 { 0x00108000, 0x00000002 }, 236 { 0x01400000, 0x00000002 }, 237 { 0x006000cd, 0x0000000c }, 238 { 0x20c07000, 0x00000020 }, 239 { 0x000000cf, 0x00000012 }, 240 { 0x00800000, 0x00000006 }, 241 { 0x0080751d, 0x00000006 }, 242 { 0000000000, 0000000000 }, 243 { 0x0000775c, 0x00000002 }, 244 { 0x00a05000, 0x00000002 }, 245 { 0x00661000, 0x00000002 }, 246 { 0x0460275d, 0x00000020 }, 247 { 0x00004000, 0000000000 }, 248 { 0x01e00830, 0x00000002 }, 249 { 0x21007000, 0000000000 }, 250 { 0x6464614d, 0000000000 }, 251 { 0x69687420, 0000000000 }, 252 { 0x00000073, 0000000000 }, 253 { 0000000000, 0000000000 }, 254 { 0x00005000, 0x00000002 }, 255 { 0x000380d0, 0x00000002 }, 256 { 0x040025e0, 0x00000002 }, 257 { 0x000075e1, 0000000000 }, 258 { 0x00000001, 0000000000 }, 259 { 0x000380e0, 0x00000002 }, 260 { 0x04002394, 0x00000002 }, 261 { 0x00005000, 0000000000 }, 262 { 0000000000, 0000000000 }, 263 { 0000000000, 0000000000 }, 264 { 0x00000008, 0000000000 }, 265 { 0x00000004, 0000000000 }, 266 { 0000000000, 0000000000 }, 267 { 0000000000, 0000000000 }, 268 { 0000000000, 0000000000 }, 269 { 0000000000, 0000000000 }, 270 { 0000000000, 0000000000 }, 271 { 0000000000, 0000000000 }, 272 { 0000000000, 0000000000 }, 273 { 0000000000, 0000000000 }, 274 { 0000000000, 0000000000 }, 275 { 0000000000, 0000000000 }, 276 { 0000000000, 0000000000 }, 277 { 0000000000, 0000000000 }, 278 { 0000000000, 0000000000 }, 279 { 0000000000, 0000000000 }, 280 { 0000000000, 0000000000 }, 281 { 0000000000, 0000000000 }, 282 { 0000000000, 0000000000 }, 283 { 0000000000, 0000000000 }, 284 { 0000000000, 0000000000 }, 285 { 0000000000, 0000000000 }, 286 { 0000000000, 0000000000 }, 287 { 0000000000, 0000000000 }, 288 { 0000000000, 0000000000 }, 289 { 0000000000, 0000000000 }, 290}; 291 292static const u32 R200_cp_microcode[][2]={ 293 { 0x21007000, 0000000000 }, 294 { 0x20007000, 0000000000 }, 295 { 0x000000bf, 0x00000004 }, 296 { 0x000000c3, 0x00000004 }, 297 { 0x7a685e5d, 0000000000 }, 298 { 0x5d5d5588, 0000000000 }, 299 { 0x68659197, 0000000000 }, 300 { 0x5da19f78, 0000000000 }, 301 { 0x5d5d5d5d, 0000000000 }, 302 { 0x5dee5d50, 0000000000 }, 303 { 0xf2acacac, 0000000000 }, 304 { 0xe75df9e9, 0000000000 }, 305 { 0xb1dd0e11, 0000000000 }, 306 { 0xe2afafaf, 0000000000 }, 307 { 0x000f0000, 0x00000016 }, 308 { 0x452f232d, 0000000000 }, 309 { 0x00000013, 0x00000004 }, 310 { 0x000f0000, 0x00000016 }, 311 { 0x452f272d, 0000000000 }, 312 { 0x000f0001, 0x00000016 }, 313 { 0x3e4d4a37, 0000000000 }, 314 { 0x000077ef, 0x00000002 }, 315 { 0x00061000, 0x00000002 }, 316 { 0x00000020, 0x0000001a }, 317 { 0x00004000, 0x0000001e }, 318 { 0x00061000, 0x00000002 }, 319 { 0x00000020, 0x0000001a }, 320 { 0x00004000, 0x0000001e }, 321 { 0x00061000, 0x00000002 }, 322 { 0x00000020, 0x0000001a }, 323 { 0x00004000, 0x0000001e }, 324 { 0x00000016, 0x00000004 }, 325 { 0x0003802a, 0x00000002 }, 326 { 0x040067e0, 0x00000002 }, 327 { 0x00000016, 0x00000004 }, 328 { 0x000077e0, 0x00000002 }, 329 { 0x00065000, 0x00000002 }, 330 { 0x000037e1, 0x00000002 }, 331 { 0x040067e1, 0x00000006 }, 332 { 0x000077e0, 0x00000002 }, 333 { 0x000077e1, 0x00000002 }, 334 { 0x000077e1, 0x00000006 }, 335 { 0xffffffff, 0000000000 }, 336 { 0x10000000, 0000000000 }, 337 { 0x07f007f0, 0000000000 }, 338 { 0x0003802a, 0x00000002 }, 339 { 0x040067e0, 0x00000006 }, 340 { 0x0003802c, 0x00000002 }, 341 { 0x04002741, 0x00000002 }, 342 { 0x04002741, 0x00000002 }, 343 { 0x04002743, 0x00000002 }, 344 { 0x00007675, 0x00000002 }, 345 { 0x00007676, 0x00000002 }, 346 { 0x00007677, 0x00000002 }, 347 { 0x00007678, 0x00000006 }, 348 { 0x0003802c, 0x00000002 }, 349 { 0x04002741, 0x00000002 }, 350 { 0x04002741, 0x00000002 }, 351 { 0x04002743, 0x00000002 }, 352 { 0x00007676, 0x00000002 }, 353 { 0x00007677, 0x00000002 }, 354 { 0x00007678, 0x00000006 }, 355 { 0x0003802b, 0x00000002 }, 356 { 0x04002676, 0x00000002 }, 357 { 0x00007677, 0x00000002 }, 358 { 0x0003802c, 0x00000002 }, 359 { 0x04002741, 0x00000002 }, 360 { 0x04002743, 0x00000002 }, 361 { 0x00007678, 0x00000006 }, 362 { 0x0003802c, 0x00000002 }, 363 { 0x04002741, 0x00000002 }, 364 { 0x04002741, 0x00000002 }, 365 { 0x04002743, 0x00000002 }, 366 { 0x00007678, 0x00000006 }, 367 { 0x0000002f, 0x00000018 }, 368 { 0x0000002f, 0x00000018 }, 369 { 0000000000, 0x00000006 }, 370 { 0x00000037, 0x00000018 }, 371 { 0x00000037, 0x00000018 }, 372 { 0000000000, 0x00000006 }, 373 { 0x01605000, 0x00000002 }, 374 { 0x00065000, 0x00000002 }, 375 { 0x00098000, 0x00000002 }, 376 { 0x00061000, 0x00000002 }, 377 { 0x64c06051, 0x00000004 }, 378 { 0x00080000, 0x00000016 }, 379 { 0000000000, 0000000000 }, 380 { 0x0400251d, 0x00000002 }, 381 { 0x00007580, 0x00000002 }, 382 { 0x00067581, 0x00000002 }, 383 { 0x04002580, 0x00000002 }, 384 { 0x00067581, 0x00000002 }, 385 { 0x0000005a, 0x00000004 }, 386 { 0x00005000, 0000000000 }, 387 { 0x00061000, 0x00000002 }, 388 { 0x0000750e, 0x00000002 }, 389 { 0x00019000, 0x00000002 }, 390 { 0x00011064, 0x00000014 }, 391 { 0x00000064, 0x00000012 }, 392 { 0x0400250f, 0x00000002 }, 393 { 0x0000505e, 0x00000004 }, 394 { 0x00007565, 0x00000002 }, 395 { 0x00007566, 0x00000002 }, 396 { 0x00000065, 0x00000004 }, 397 { 0x01e655b4, 0x00000002 }, 398 { 0x4401b0f0, 0x00000002 }, 399 { 0x01c110f0, 0x00000002 }, 400 { 0x26667071, 0x00000018 }, 401 { 0x040c2565, 0x00000002 }, 402 { 0x00000071, 0x00000018 }, 403 { 0x04002564, 0x00000002 }, 404 { 0x00007566, 0x00000002 }, 405 { 0x00000068, 0x00000004 }, 406 { 0x00401074, 0x00000008 }, 407 { 0x00101000, 0x00000002 }, 408 { 0x000d80ff, 0x00000002 }, 409 { 0x00800077, 0x00000008 }, 410 { 0x000f9000, 0x00000002 }, 411 { 0x000e00ff, 0x00000002 }, 412 { 0000000000, 0x00000006 }, 413 { 0x00000094, 0x00000018 }, 414 { 0x00000068, 0x00000004 }, 415 { 0x00007576, 0x00000002 }, 416 { 0x00065000, 0x00000002 }, 417 { 0x00009000, 0x00000002 }, 418 { 0x00041000, 0x00000002 }, 419 { 0x0c00350e, 0x00000002 }, 420 { 0x00049000, 0x00000002 }, 421 { 0x00051000, 0x00000002 }, 422 { 0x01e785f8, 0x00000002 }, 423 { 0x00200000, 0x00000002 }, 424 { 0x00600087, 0x0000000c }, 425 { 0x00007563, 0x00000002 }, 426 { 0x006075f0, 0x00000021 }, 427 { 0x2000707c, 0x00000004 }, 428 { 0x0000507c, 0x00000004 }, 429 { 0x00007576, 0x00000002 }, 430 { 0x00007577, 0x00000002 }, 431 { 0x0000750e, 0x00000002 }, 432 { 0x0000750f, 0x00000002 }, 433 { 0x00a05000, 0x00000002 }, 434 { 0x0060008a, 0x0000000c }, 435 { 0x006075f0, 0x00000021 }, 436 { 0x000075f8, 0x00000002 }, 437 { 0x0000008a, 0x00000004 }, 438 { 0x000a750e, 0x00000002 }, 439 { 0x0020750f, 0x00000002 }, 440 { 0x0060008d, 0x00000004 }, 441 { 0x00007570, 0x00000002 }, 442 { 0x00007571, 0x00000002 }, 443 { 0x00007572, 0x00000006 }, 444 { 0x00005000, 0x00000002 }, 445 { 0x00a05000, 0x00000002 }, 446 { 0x00007568, 0x00000002 }, 447 { 0x00061000, 0x00000002 }, 448 { 0x00000098, 0x0000000c }, 449 { 0x00058000, 0x00000002 }, 450 { 0x0c607562, 0x00000002 }, 451 { 0x0000009a, 0x00000004 }, 452 { 0x00600099, 0x00000004 }, 453 { 0x400070f1, 0000000000 }, 454 { 0x000380f1, 0x00000002 }, 455 { 0x000000a7, 0x0000001c }, 456 { 0x000650a9, 0x00000018 }, 457 { 0x040025bb, 0x00000002 }, 458 { 0x000610aa, 0x00000018 }, 459 { 0x040075bc, 0000000000 }, 460 { 0x000075bb, 0x00000002 }, 461 { 0x000075bc, 0000000000 }, 462 { 0x00090000, 0x00000006 }, 463 { 0x00090000, 0x00000002 }, 464 { 0x000d8002, 0x00000006 }, 465 { 0x00005000, 0x00000002 }, 466 { 0x00007821, 0x00000002 }, 467 { 0x00007800, 0000000000 }, 468 { 0x00007821, 0x00000002 }, 469 { 0x00007800, 0000000000 }, 470 { 0x01665000, 0x00000002 }, 471 { 0x000a0000, 0x00000002 }, 472 { 0x000671cc, 0x00000002 }, 473 { 0x0286f1cd, 0x00000002 }, 474 { 0x000000b7, 0x00000010 }, 475 { 0x21007000, 0000000000 }, 476 { 0x000000be, 0x0000001c }, 477 { 0x00065000, 0x00000002 }, 478 { 0x000a0000, 0x00000002 }, 479 { 0x00061000, 0x00000002 }, 480 { 0x000b0000, 0x00000002 }, 481 { 0x38067000, 0x00000002 }, 482 { 0x000a00ba, 0x00000004 }, 483 { 0x20007000, 0000000000 }, 484 { 0x01200000, 0x00000002 }, 485 { 0x20077000, 0x00000002 }, 486 { 0x01200000, 0x00000002 }, 487 { 0x20007000, 0000000000 }, 488 { 0x00061000, 0x00000002 }, 489 { 0x0120751b, 0x00000002 }, 490 { 0x8040750a, 0x00000002 }, 491 { 0x8040750b, 0x00000002 }, 492 { 0x00110000, 0x00000002 }, 493 { 0x000380f1, 0x00000002 }, 494 { 0x000000d1, 0x0000001c }, 495 { 0x000610aa, 0x00000018 }, 496 { 0x844075bd, 0x00000002 }, 497 { 0x000610a9, 0x00000018 }, 498 { 0x840075bb, 0x00000002 }, 499 { 0x000610aa, 0x00000018 }, 500 { 0x844075bc, 0x00000002 }, 501 { 0x000000d4, 0x00000004 }, 502 { 0x804075bd, 0x00000002 }, 503 { 0x800075bb, 0x00000002 }, 504 { 0x804075bc, 0x00000002 }, 505 { 0x00108000, 0x00000002 }, 506 { 0x01400000, 0x00000002 }, 507 { 0x006000d8, 0x0000000c }, 508 { 0x20c07000, 0x00000020 }, 509 { 0x000000da, 0x00000012 }, 510 { 0x00800000, 0x00000006 }, 511 { 0x0080751d, 0x00000006 }, 512 { 0x000025bb, 0x00000002 }, 513 { 0x000040d4, 0x00000004 }, 514 { 0x0000775c, 0x00000002 }, 515 { 0x00a05000, 0x00000002 }, 516 { 0x00661000, 0x00000002 }, 517 { 0x0460275d, 0x00000020 }, 518 { 0x00004000, 0000000000 }, 519 { 0x00007999, 0x00000002 }, 520 { 0x00a05000, 0x00000002 }, 521 { 0x00661000, 0x00000002 }, 522 { 0x0460299b, 0x00000020 }, 523 { 0x00004000, 0000000000 }, 524 { 0x01e00830, 0x00000002 }, 525 { 0x21007000, 0000000000 }, 526 { 0x00005000, 0x00000002 }, 527 { 0x00038056, 0x00000002 }, 528 { 0x040025e0, 0x00000002 }, 529 { 0x000075e1, 0000000000 }, 530 { 0x00000001, 0000000000 }, 531 { 0x000380ed, 0x00000002 }, 532 { 0x04007394, 0000000000 }, 533 { 0000000000, 0000000000 }, 534 { 0000000000, 0000000000 }, 535 { 0x000078c4, 0x00000002 }, 536 { 0x000078c5, 0x00000002 }, 537 { 0x000078c6, 0x00000002 }, 538 { 0x00007924, 0x00000002 }, 539 { 0x00007925, 0x00000002 }, 540 { 0x00007926, 0x00000002 }, 541 { 0x000000f2, 0x00000004 }, 542 { 0x00007924, 0x00000002 }, 543 { 0x00007925, 0x00000002 }, 544 { 0x00007926, 0x00000002 }, 545 { 0x000000f9, 0x00000004 }, 546 { 0000000000, 0000000000 }, 547 { 0000000000, 0000000000 }, 548 { 0000000000, 0000000000 }, 549}; 550 551static const u32 R300_cp_microcode[][2]={ 552 { 0x4200e000, 0000000000 }, 553 { 0x4000e000, 0000000000 }, 554 { 0x000000ae, 0x00000008 }, 555 { 0x000000b2, 0x00000008 }, 556 { 0x67554b4a, 0000000000 }, 557 { 0x4a4a4475, 0000000000 }, 558 { 0x55527d83, 0000000000 }, 559 { 0x4a8c8b65, 0000000000 }, 560 { 0x4aef4af6, 0000000000 }, 561 { 0x4ae14a4a, 0000000000 }, 562 { 0xe4979797, 0000000000 }, 563 { 0xdb4aebdd, 0000000000 }, 564 { 0x9ccc4a4a, 0000000000 }, 565 { 0xd1989898, 0000000000 }, 566 { 0x4a0f9ad6, 0000000000 }, 567 { 0x000ca000, 0x00000004 }, 568 { 0x000d0012, 0x00000038 }, 569 { 0x0000e8b4, 0x00000004 }, 570 { 0x000d0014, 0x00000038 }, 571 { 0x0000e8b6, 0x00000004 }, 572 { 0x000d0016, 0x00000038 }, 573 { 0x0000e854, 0x00000004 }, 574 { 0x000d0018, 0x00000038 }, 575 { 0x0000e855, 0x00000004 }, 576 { 0x000d001a, 0x00000038 }, 577 { 0x0000e856, 0x00000004 }, 578 { 0x000d001c, 0x00000038 }, 579 { 0x0000e857, 0x00000004 }, 580 { 0x000d001e, 0x00000038 }, 581 { 0x0000e824, 0x00000004 }, 582 { 0x000d0020, 0x00000038 }, 583 { 0x0000e825, 0x00000004 }, 584 { 0x000d0022, 0x00000038 }, 585 { 0x0000e830, 0x00000004 }, 586 { 0x000d0024, 0x00000038 }, 587 { 0x0000f0c0, 0x00000004 }, 588 { 0x000d0026, 0x00000038 }, 589 { 0x0000f0c1, 0x00000004 }, 590 { 0x000d0028, 0x00000038 }, 591 { 0x0000f041, 0x00000004 }, 592 { 0x000d002a, 0x00000038 }, 593 { 0x0000f184, 0x00000004 }, 594 { 0x000d002c, 0x00000038 }, 595 { 0x0000f185, 0x00000004 }, 596 { 0x000d002e, 0x00000038 }, 597 { 0x0000f186, 0x00000004 }, 598 { 0x000d0030, 0x00000038 }, 599 { 0x0000f187, 0x00000004 }, 600 { 0x000d0032, 0x00000038 }, 601 { 0x0000f180, 0x00000004 }, 602 { 0x000d0034, 0x00000038 }, 603 { 0x0000f393, 0x00000004 }, 604 { 0x000d0036, 0x00000038 }, 605 { 0x0000f38a, 0x00000004 }, 606 { 0x000d0038, 0x00000038 }, 607 { 0x0000f38e, 0x00000004 }, 608 { 0x0000e821, 0x00000004 }, 609 { 0x0140a000, 0x00000004 }, 610 { 0x00000043, 0x00000018 }, 611 { 0x00cce800, 0x00000004 }, 612 { 0x001b0001, 0x00000004 }, 613 { 0x08004800, 0x00000004 }, 614 { 0x001b0001, 0x00000004 }, 615 { 0x08004800, 0x00000004 }, 616 { 0x001b0001, 0x00000004 }, 617 { 0x08004800, 0x00000004 }, 618 { 0x0000003a, 0x00000008 }, 619 { 0x0000a000, 0000000000 }, 620 { 0x2000451d, 0x00000004 }, 621 { 0x0000e580, 0x00000004 }, 622 { 0x000ce581, 0x00000004 }, 623 { 0x08004580, 0x00000004 }, 624 { 0x000ce581, 0x00000004 }, 625 { 0x00000047, 0x00000008 }, 626 { 0x0000a000, 0000000000 }, 627 { 0x000c2000, 0x00000004 }, 628 { 0x0000e50e, 0x00000004 }, 629 { 0x00032000, 0x00000004 }, 630 { 0x00022051, 0x00000028 }, 631 { 0x00000051, 0x00000024 }, 632 { 0x0800450f, 0x00000004 }, 633 { 0x0000a04b, 0x00000008 }, 634 { 0x0000e565, 0x00000004 }, 635 { 0x0000e566, 0x00000004 }, 636 { 0x00000052, 0x00000008 }, 637 { 0x03cca5b4, 0x00000004 }, 638 { 0x05432000, 0x00000004 }, 639 { 0x00022000, 0x00000004 }, 640 { 0x4ccce05e, 0x00000030 }, 641 { 0x08274565, 0x00000004 }, 642 { 0x0000005e, 0x00000030 }, 643 { 0x08004564, 0x00000004 }, 644 { 0x0000e566, 0x00000004 }, 645 { 0x00000055, 0x00000008 }, 646 { 0x00802061, 0x00000010 }, 647 { 0x00202000, 0x00000004 }, 648 { 0x001b00ff, 0x00000004 }, 649 { 0x01000064, 0x00000010 }, 650 { 0x001f2000, 0x00000004 }, 651 { 0x001c00ff, 0x00000004 }, 652 { 0000000000, 0x0000000c }, 653 { 0x00000080, 0x00000030 }, 654 { 0x00000055, 0x00000008 }, 655 { 0x0000e576, 0x00000004 }, 656 { 0x000ca000, 0x00000004 }, 657 { 0x00012000, 0x00000004 }, 658 { 0x00082000, 0x00000004 }, 659 { 0x1800650e, 0x00000004 }, 660 { 0x00092000, 0x00000004 }, 661 { 0x000a2000, 0x00000004 }, 662 { 0x000f0000, 0x00000004 }, 663 { 0x00400000, 0x00000004 }, 664 { 0x00000074, 0x00000018 }, 665 { 0x0000e563, 0x00000004 }, 666 { 0x00c0e5f9, 0x000000c2 }, 667 { 0x00000069, 0x00000008 }, 668 { 0x0000a069, 0x00000008 }, 669 { 0x0000e576, 0x00000004 }, 670 { 0x0000e577, 0x00000004 }, 671 { 0x0000e50e, 0x00000004 }, 672 { 0x0000e50f, 0x00000004 }, 673 { 0x0140a000, 0x00000004 }, 674 { 0x00000077, 0x00000018 }, 675 { 0x00c0e5f9, 0x000000c2 }, 676 { 0x00000077, 0x00000008 }, 677 { 0x0014e50e, 0x00000004 }, 678 { 0x0040e50f, 0x00000004 }, 679 { 0x00c0007a, 0x00000008 }, 680 { 0x0000e570, 0x00000004 }, 681 { 0x0000e571, 0x00000004 }, 682 { 0x0000e572, 0x0000000c }, 683 { 0x0000a000, 0x00000004 }, 684 { 0x0140a000, 0x00000004 }, 685 { 0x0000e568, 0x00000004 }, 686 { 0x000c2000, 0x00000004 }, 687 { 0x00000084, 0x00000018 }, 688 { 0x000b0000, 0x00000004 }, 689 { 0x18c0e562, 0x00000004 }, 690 { 0x00000086, 0x00000008 }, 691 { 0x00c00085, 0x00000008 }, 692 { 0x000700e3, 0x00000004 }, 693 { 0x00000092, 0x00000038 }, 694 { 0x000ca094, 0x00000030 }, 695 { 0x080045bb, 0x00000004 }, 696 { 0x000c2095, 0x00000030 }, 697 { 0x0800e5bc, 0000000000 }, 698 { 0x0000e5bb, 0x00000004 }, 699 { 0x0000e5bc, 0000000000 }, 700 { 0x00120000, 0x0000000c }, 701 { 0x00120000, 0x00000004 }, 702 { 0x001b0002, 0x0000000c }, 703 { 0x0000a000, 0x00000004 }, 704 { 0x0000e821, 0x00000004 }, 705 { 0x0000e800, 0000000000 }, 706 { 0x0000e821, 0x00000004 }, 707 { 0x0000e82e, 0000000000 }, 708 { 0x02cca000, 0x00000004 }, 709 { 0x00140000, 0x00000004 }, 710 { 0x000ce1cc, 0x00000004 }, 711 { 0x050de1cd, 0x00000004 }, 712 { 0x00400000, 0x00000004 }, 713 { 0x000000a4, 0x00000018 }, 714 { 0x00c0a000, 0x00000004 }, 715 { 0x000000a1, 0x00000008 }, 716 { 0x000000a6, 0x00000020 }, 717 { 0x4200e000, 0000000000 }, 718 { 0x000000ad, 0x00000038 }, 719 { 0x000ca000, 0x00000004 }, 720 { 0x00140000, 0x00000004 }, 721 { 0x000c2000, 0x00000004 }, 722 { 0x00160000, 0x00000004 }, 723 { 0x700ce000, 0x00000004 }, 724 { 0x001400a9, 0x00000008 }, 725 { 0x4000e000, 0000000000 }, 726 { 0x02400000, 0x00000004 }, 727 { 0x400ee000, 0x00000004 }, 728 { 0x02400000, 0x00000004 }, 729 { 0x4000e000, 0000000000 }, 730 { 0x000c2000, 0x00000004 }, 731 { 0x0240e51b, 0x00000004 }, 732 { 0x0080e50a, 0x00000005 }, 733 { 0x0080e50b, 0x00000005 }, 734 { 0x00220000, 0x00000004 }, 735 { 0x000700e3, 0x00000004 }, 736 { 0x000000c0, 0x00000038 }, 737 { 0x000c2095, 0x00000030 }, 738 { 0x0880e5bd, 0x00000005 }, 739 { 0x000c2094, 0x00000030 }, 740 { 0x0800e5bb, 0x00000005 }, 741 { 0x000c2095, 0x00000030 }, 742 { 0x0880e5bc, 0x00000005 }, 743 { 0x000000c3, 0x00000008 }, 744 { 0x0080e5bd, 0x00000005 }, 745 { 0x0000e5bb, 0x00000005 }, 746 { 0x0080e5bc, 0x00000005 }, 747 { 0x00210000, 0x00000004 }, 748 { 0x02800000, 0x00000004 }, 749 { 0x00c000c7, 0x00000018 }, 750 { 0x4180e000, 0x00000040 }, 751 { 0x000000c9, 0x00000024 }, 752 { 0x01000000, 0x0000000c }, 753 { 0x0100e51d, 0x0000000c }, 754 { 0x000045bb, 0x00000004 }, 755 { 0x000080c3, 0x00000008 }, 756 { 0x0000f3ce, 0x00000004 }, 757 { 0x0140a000, 0x00000004 }, 758 { 0x00cc2000, 0x00000004 }, 759 { 0x08c053cf, 0x00000040 }, 760 { 0x00008000, 0000000000 }, 761 { 0x0000f3d2, 0x00000004 }, 762 { 0x0140a000, 0x00000004 }, 763 { 0x00cc2000, 0x00000004 }, 764 { 0x08c053d3, 0x00000040 }, 765 { 0x00008000, 0000000000 }, 766 { 0x0000f39d, 0x00000004 }, 767 { 0x0140a000, 0x00000004 }, 768 { 0x00cc2000, 0x00000004 }, 769 { 0x08c0539e, 0x00000040 }, 770 { 0x00008000, 0000000000 }, 771 { 0x03c00830, 0x00000004 }, 772 { 0x4200e000, 0000000000 }, 773 { 0x0000a000, 0x00000004 }, 774 { 0x200045e0, 0x00000004 }, 775 { 0x0000e5e1, 0000000000 }, 776 { 0x00000001, 0000000000 }, 777 { 0x000700e0, 0x00000004 }, 778 { 0x0800e394, 0000000000 }, 779 { 0000000000, 0000000000 }, 780 { 0x0000e8c4, 0x00000004 }, 781 { 0x0000e8c5, 0x00000004 }, 782 { 0x0000e8c6, 0x00000004 }, 783 { 0x0000e928, 0x00000004 }, 784 { 0x0000e929, 0x00000004 }, 785 { 0x0000e92a, 0x00000004 }, 786 { 0x000000e4, 0x00000008 }, 787 { 0x0000e928, 0x00000004 }, 788 { 0x0000e929, 0x00000004 }, 789 { 0x0000e92a, 0x00000004 }, 790 { 0x000000eb, 0x00000008 }, 791 { 0x02c02000, 0x00000004 }, 792 { 0x00060000, 0x00000004 }, 793 { 0x000000f3, 0x00000034 }, 794 { 0x000000f0, 0x00000008 }, 795 { 0x00008000, 0x00000004 }, 796 { 0xc000e000, 0000000000 }, 797 { 0000000000, 0000000000 }, 798 { 0x000c2000, 0x00000004 }, 799 { 0x001d0018, 0x00000004 }, 800 { 0x001a0001, 0x00000004 }, 801 { 0x000000fb, 0x00000034 }, 802 { 0x0000004a, 0x00000008 }, 803 { 0x0500a04a, 0x00000008 }, 804 { 0000000000, 0000000000 }, 805 { 0000000000, 0000000000 }, 806 { 0000000000, 0000000000 }, 807 { 0000000000, 0000000000 }, 808}; 809 810static const u32 R420_cp_microcode[][2]={ 811 { 0x4200e000, 0000000000 }, 812 { 0x4000e000, 0000000000 }, 813 { 0x00000099, 0x00000008 }, 814 { 0x0000009d, 0x00000008 }, 815 { 0x4a554b4a, 0000000000 }, 816 { 0x4a4a4467, 0000000000 }, 817 { 0x55526f75, 0000000000 }, 818 { 0x4a7e7d65, 0000000000 }, 819 { 0xd9d3dff6, 0000000000 }, 820 { 0x4ac54a4a, 0000000000 }, 821 { 0xc8828282, 0000000000 }, 822 { 0xbf4acfc1, 0000000000 }, 823 { 0x87b04a4a, 0000000000 }, 824 { 0xb5838383, 0000000000 }, 825 { 0x4a0f85ba, 0000000000 }, 826 { 0x000ca000, 0x00000004 }, 827 { 0x000d0012, 0x00000038 }, 828 { 0x0000e8b4, 0x00000004 }, 829 { 0x000d0014, 0x00000038 }, 830 { 0x0000e8b6, 0x00000004 }, 831 { 0x000d0016, 0x00000038 }, 832 { 0x0000e854, 0x00000004 }, 833 { 0x000d0018, 0x00000038 }, 834 { 0x0000e855, 0x00000004 }, 835 { 0x000d001a, 0x00000038 }, 836 { 0x0000e856, 0x00000004 }, 837 { 0x000d001c, 0x00000038 }, 838 { 0x0000e857, 0x00000004 }, 839 { 0x000d001e, 0x00000038 }, 840 { 0x0000e824, 0x00000004 }, 841 { 0x000d0020, 0x00000038 }, 842 { 0x0000e825, 0x00000004 }, 843 { 0x000d0022, 0x00000038 }, 844 { 0x0000e830, 0x00000004 }, 845 { 0x000d0024, 0x00000038 }, 846 { 0x0000f0c0, 0x00000004 }, 847 { 0x000d0026, 0x00000038 }, 848 { 0x0000f0c1, 0x00000004 }, 849 { 0x000d0028, 0x00000038 }, 850 { 0x0000f041, 0x00000004 }, 851 { 0x000d002a, 0x00000038 }, 852 { 0x0000f184, 0x00000004 }, 853 { 0x000d002c, 0x00000038 }, 854 { 0x0000f185, 0x00000004 }, 855 { 0x000d002e, 0x00000038 }, 856 { 0x0000f186, 0x00000004 }, 857 { 0x000d0030, 0x00000038 }, 858 { 0x0000f187, 0x00000004 }, 859 { 0x000d0032, 0x00000038 }, 860 { 0x0000f180, 0x00000004 }, 861 { 0x000d0034, 0x00000038 }, 862 { 0x0000f393, 0x00000004 }, 863 { 0x000d0036, 0x00000038 }, 864 { 0x0000f38a, 0x00000004 }, 865 { 0x000d0038, 0x00000038 }, 866 { 0x0000f38e, 0x00000004 }, 867 { 0x0000e821, 0x00000004 }, 868 { 0x0140a000, 0x00000004 }, 869 { 0x00000043, 0x00000018 }, 870 { 0x00cce800, 0x00000004 }, 871 { 0x001b0001, 0x00000004 }, 872 { 0x08004800, 0x00000004 }, 873 { 0x001b0001, 0x00000004 }, 874 { 0x08004800, 0x00000004 }, 875 { 0x001b0001, 0x00000004 }, 876 { 0x08004800, 0x00000004 }, 877 { 0x0000003a, 0x00000008 }, 878 { 0x0000a000, 0000000000 }, 879 { 0x2000451d, 0x00000004 }, 880 { 0x0000e580, 0x00000004 }, 881 { 0x000ce581, 0x00000004 }, 882 { 0x08004580, 0x00000004 }, 883 { 0x000ce581, 0x00000004 }, 884 { 0x00000047, 0x00000008 }, 885 { 0x0000a000, 0000000000 }, 886 { 0x000c2000, 0x00000004 }, 887 { 0x0000e50e, 0x00000004 }, 888 { 0x00032000, 0x00000004 }, 889 { 0x00022051, 0x00000028 }, 890 { 0x00000051, 0x00000024 }, 891 { 0x0800450f, 0x00000004 }, 892 { 0x0000a04b, 0x00000008 }, 893 { 0x0000e565, 0x00000004 }, 894 { 0x0000e566, 0x00000004 }, 895 { 0x00000052, 0x00000008 }, 896 { 0x03cca5b4, 0x00000004 }, 897 { 0x05432000, 0x00000004 }, 898 { 0x00022000, 0x00000004 }, 899 { 0x4ccce05e, 0x00000030 }, 900 { 0x08274565, 0x00000004 }, 901 { 0x0000005e, 0x00000030 }, 902 { 0x08004564, 0x00000004 }, 903 { 0x0000e566, 0x00000004 }, 904 { 0x00000055, 0x00000008 }, 905 { 0x00802061, 0x00000010 }, 906 { 0x00202000, 0x00000004 }, 907 { 0x001b00ff, 0x00000004 }, 908 { 0x01000064, 0x00000010 }, 909 { 0x001f2000, 0x00000004 }, 910 { 0x001c00ff, 0x00000004 }, 911 { 0000000000, 0x0000000c }, 912 { 0x00000072, 0x00000030 }, 913 { 0x00000055, 0x00000008 }, 914 { 0x0000e576, 0x00000004 }, 915 { 0x0000e577, 0x00000004 }, 916 { 0x0000e50e, 0x00000004 }, 917 { 0x0000e50f, 0x00000004 }, 918 { 0x0140a000, 0x00000004 }, 919 { 0x00000069, 0x00000018 }, 920 { 0x00c0e5f9, 0x000000c2 }, 921 { 0x00000069, 0x00000008 }, 922 { 0x0014e50e, 0x00000004 }, 923 { 0x0040e50f, 0x00000004 }, 924 { 0x00c0006c, 0x00000008 }, 925 { 0x0000e570, 0x00000004 }, 926 { 0x0000e571, 0x00000004 }, 927 { 0x0000e572, 0x0000000c }, 928 { 0x0000a000, 0x00000004 }, 929 { 0x0140a000, 0x00000004 }, 930 { 0x0000e568, 0x00000004 }, 931 { 0x000c2000, 0x00000004 }, 932 { 0x00000076, 0x00000018 }, 933 { 0x000b0000, 0x00000004 }, 934 { 0x18c0e562, 0x00000004 }, 935 { 0x00000078, 0x00000008 }, 936 { 0x00c00077, 0x00000008 }, 937 { 0x000700c7, 0x00000004 }, 938 { 0x00000080, 0x00000038 }, 939 { 0x0000e5bb, 0x00000004 }, 940 { 0x0000e5bc, 0000000000 }, 941 { 0x0000a000, 0x00000004 }, 942 { 0x0000e821, 0x00000004 }, 943 { 0x0000e800, 0000000000 }, 944 { 0x0000e821, 0x00000004 }, 945 { 0x0000e82e, 0000000000 }, 946 { 0x02cca000, 0x00000004 }, 947 { 0x00140000, 0x00000004 }, 948 { 0x000ce1cc, 0x00000004 }, 949 { 0x050de1cd, 0x00000004 }, 950 { 0x00400000, 0x00000004 }, 951 { 0x0000008f, 0x00000018 }, 952 { 0x00c0a000, 0x00000004 }, 953 { 0x0000008c, 0x00000008 }, 954 { 0x00000091, 0x00000020 }, 955 { 0x4200e000, 0000000000 }, 956 { 0x00000098, 0x00000038 }, 957 { 0x000ca000, 0x00000004 }, 958 { 0x00140000, 0x00000004 }, 959 { 0x000c2000, 0x00000004 }, 960 { 0x00160000, 0x00000004 }, 961 { 0x700ce000, 0x00000004 }, 962 { 0x00140094, 0x00000008 }, 963 { 0x4000e000, 0000000000 }, 964 { 0x02400000, 0x00000004 }, 965 { 0x400ee000, 0x00000004 }, 966 { 0x02400000, 0x00000004 }, 967 { 0x4000e000, 0000000000 }, 968 { 0x000c2000, 0x00000004 }, 969 { 0x0240e51b, 0x00000004 }, 970 { 0x0080e50a, 0x00000005 }, 971 { 0x0080e50b, 0x00000005 }, 972 { 0x00220000, 0x00000004 }, 973 { 0x000700c7, 0x00000004 }, 974 { 0x000000a4, 0x00000038 }, 975 { 0x0080e5bd, 0x00000005 }, 976 { 0x0000e5bb, 0x00000005 }, 977 { 0x0080e5bc, 0x00000005 }, 978 { 0x00210000, 0x00000004 }, 979 { 0x02800000, 0x00000004 }, 980 { 0x00c000ab, 0x00000018 }, 981 { 0x4180e000, 0x00000040 }, 982 { 0x000000ad, 0x00000024 }, 983 { 0x01000000, 0x0000000c }, 984 { 0x0100e51d, 0x0000000c }, 985 { 0x000045bb, 0x00000004 }, 986 { 0x000080a7, 0x00000008 }, 987 { 0x0000f3ce, 0x00000004 }, 988 { 0x0140a000, 0x00000004 }, 989 { 0x00cc2000, 0x00000004 }, 990 { 0x08c053cf, 0x00000040 }, 991 { 0x00008000, 0000000000 }, 992 { 0x0000f3d2, 0x00000004 }, 993 { 0x0140a000, 0x00000004 }, 994 { 0x00cc2000, 0x00000004 }, 995 { 0x08c053d3, 0x00000040 }, 996 { 0x00008000, 0000000000 }, 997 { 0x0000f39d, 0x00000004 }, 998 { 0x0140a000, 0x00000004 }, 999 { 0x00cc2000, 0x00000004 }, 1000 { 0x08c0539e, 0x00000040 }, 1001 { 0x00008000, 0000000000 }, 1002 { 0x03c00830, 0x00000004 }, 1003 { 0x4200e000, 0000000000 }, 1004 { 0x0000a000, 0x00000004 }, 1005 { 0x200045e0, 0x00000004 }, 1006 { 0x0000e5e1, 0000000000 }, 1007 { 0x00000001, 0000000000 }, 1008 { 0x000700c4, 0x00000004 }, 1009 { 0x0800e394, 0000000000 }, 1010 { 0000000000, 0000000000 }, 1011 { 0x0000e8c4, 0x00000004 }, 1012 { 0x0000e8c5, 0x00000004 }, 1013 { 0x0000e8c6, 0x00000004 }, 1014 { 0x0000e928, 0x00000004 }, 1015 { 0x0000e929, 0x00000004 }, 1016 { 0x0000e92a, 0x00000004 }, 1017 { 0x000000c8, 0x00000008 }, 1018 { 0x0000e928, 0x00000004 }, 1019 { 0x0000e929, 0x00000004 }, 1020 { 0x0000e92a, 0x00000004 }, 1021 { 0x000000cf, 0x00000008 }, 1022 { 0x02c02000, 0x00000004 }, 1023 { 0x00060000, 0x00000004 }, 1024 { 0x000000d7, 0x00000034 }, 1025 { 0x000000d4, 0x00000008 }, 1026 { 0x00008000, 0x00000004 }, 1027 { 0xc000e000, 0000000000 }, 1028 { 0x0000e1cc, 0x00000004 }, 1029 { 0x0500e1cd, 0x00000004 }, 1030 { 0x000ca000, 0x00000004 }, 1031 { 0x000000de, 0x00000034 }, 1032 { 0x000000da, 0x00000008 }, 1033 { 0x0000a000, 0000000000 }, 1034 { 0x0019e1cc, 0x00000004 }, 1035 { 0x001b0001, 0x00000004 }, 1036 { 0x0500a000, 0x00000004 }, 1037 { 0x080041cd, 0x00000004 }, 1038 { 0x000ca000, 0x00000004 }, 1039 { 0x000000fb, 0x00000034 }, 1040 { 0x0000004a, 0x00000008 }, 1041 { 0000000000, 0000000000 }, 1042 { 0000000000, 0000000000 }, 1043 { 0000000000, 0000000000 }, 1044 { 0000000000, 0000000000 }, 1045 { 0000000000, 0000000000 }, 1046 { 0000000000, 0000000000 }, 1047 { 0000000000, 0000000000 }, 1048 { 0000000000, 0000000000 }, 1049 { 0000000000, 0000000000 }, 1050 { 0000000000, 0000000000 }, 1051 { 0000000000, 0000000000 }, 1052 { 0000000000, 0000000000 }, 1053 { 0000000000, 0000000000 }, 1054 { 0000000000, 0000000000 }, 1055 { 0000000000, 0000000000 }, 1056 { 0000000000, 0000000000 }, 1057 { 0x000c2000, 0x00000004 }, 1058 { 0x001d0018, 0x00000004 }, 1059 { 0x001a0001, 0x00000004 }, 1060 { 0x000000fb, 0x00000034 }, 1061 { 0x0000004a, 0x00000008 }, 1062 { 0x0500a04a, 0x00000008 }, 1063 { 0000000000, 0000000000 }, 1064 { 0000000000, 0000000000 }, 1065 { 0000000000, 0000000000 }, 1066 { 0000000000, 0000000000 }, 1067}; 1068 1069static const u32 RS600_cp_microcode[][2]={ 1070 { 0x4200e000, 0000000000 }, 1071 { 0x4000e000, 0000000000 }, 1072 { 0x000000a0, 0x00000008 }, 1073 { 0x000000a4, 0x00000008 }, 1074 { 0x4a554b4a, 0000000000 }, 1075 { 0x4a4a4467, 0000000000 }, 1076 { 0x55526f75, 0000000000 }, 1077 { 0x4a7e7d65, 0000000000 }, 1078 { 0x4ae74af6, 0000000000 }, 1079 { 0x4ad34a4a, 0000000000 }, 1080 { 0xd6898989, 0000000000 }, 1081 { 0xcd4addcf, 0000000000 }, 1082 { 0x8ebe4ae2, 0000000000 }, 1083 { 0xc38a8a8a, 0000000000 }, 1084 { 0x4a0f8cc8, 0000000000 }, 1085 { 0x000ca000, 0x00000004 }, 1086 { 0x000d0012, 0x00000038 }, 1087 { 0x0000e8b4, 0x00000004 }, 1088 { 0x000d0014, 0x00000038 }, 1089 { 0x0000e8b6, 0x00000004 }, 1090 { 0x000d0016, 0x00000038 }, 1091 { 0x0000e854, 0x00000004 }, 1092 { 0x000d0018, 0x00000038 }, 1093 { 0x0000e855, 0x00000004 }, 1094 { 0x000d001a, 0x00000038 }, 1095 { 0x0000e856, 0x00000004 }, 1096 { 0x000d001c, 0x00000038 }, 1097 { 0x0000e857, 0x00000004 }, 1098 { 0x000d001e, 0x00000038 }, 1099 { 0x0000e824, 0x00000004 }, 1100 { 0x000d0020, 0x00000038 }, 1101 { 0x0000e825, 0x00000004 }, 1102 { 0x000d0022, 0x00000038 }, 1103 { 0x0000e830, 0x00000004 }, 1104 { 0x000d0024, 0x00000038 }, 1105 { 0x0000f0c0, 0x00000004 }, 1106 { 0x000d0026, 0x00000038 }, 1107 { 0x0000f0c1, 0x00000004 }, 1108 { 0x000d0028, 0x00000038 }, 1109 { 0x0000f041, 0x00000004 }, 1110 { 0x000d002a, 0x00000038 }, 1111 { 0x0000f184, 0x00000004 }, 1112 { 0x000d002c, 0x00000038 }, 1113 { 0x0000f185, 0x00000004 }, 1114 { 0x000d002e, 0x00000038 }, 1115 { 0x0000f186, 0x00000004 }, 1116 { 0x000d0030, 0x00000038 }, 1117 { 0x0000f187, 0x00000004 }, 1118 { 0x000d0032, 0x00000038 }, 1119 { 0x0000f180, 0x00000004 }, 1120 { 0x000d0034, 0x00000038 }, 1121 { 0x0000f393, 0x00000004 }, 1122 { 0x000d0036, 0x00000038 }, 1123 { 0x0000f38a, 0x00000004 }, 1124 { 0x000d0038, 0x00000038 }, 1125 { 0x0000f38e, 0x00000004 }, 1126 { 0x0000e821, 0x00000004 }, 1127 { 0x0140a000, 0x00000004 }, 1128 { 0x00000043, 0x00000018 }, 1129 { 0x00cce800, 0x00000004 }, 1130 { 0x001b0001, 0x00000004 }, 1131 { 0x08004800, 0x00000004 }, 1132 { 0x001b0001, 0x00000004 }, 1133 { 0x08004800, 0x00000004 }, 1134 { 0x001b0001, 0x00000004 }, 1135 { 0x08004800, 0x00000004 }, 1136 { 0x0000003a, 0x00000008 }, 1137 { 0x0000a000, 0000000000 }, 1138 { 0x2000451d, 0x00000004 }, 1139 { 0x0000e580, 0x00000004 }, 1140 { 0x000ce581, 0x00000004 }, 1141 { 0x08004580, 0x00000004 }, 1142 { 0x000ce581, 0x00000004 }, 1143 { 0x00000047, 0x00000008 }, 1144 { 0x0000a000, 0000000000 }, 1145 { 0x000c2000, 0x00000004 }, 1146 { 0x0000e50e, 0x00000004 }, 1147 { 0x00032000, 0x00000004 }, 1148 { 0x00022051, 0x00000028 }, 1149 { 0x00000051, 0x00000024 }, 1150 { 0x0800450f, 0x00000004 }, 1151 { 0x0000a04b, 0x00000008 }, 1152 { 0x0000e565, 0x00000004 }, 1153 { 0x0000e566, 0x00000004 }, 1154 { 0x00000052, 0x00000008 }, 1155 { 0x03cca5b4, 0x00000004 }, 1156 { 0x05432000, 0x00000004 }, 1157 { 0x00022000, 0x00000004 }, 1158 { 0x4ccce05e, 0x00000030 }, 1159 { 0x08274565, 0x00000004 }, 1160 { 0x0000005e, 0x00000030 }, 1161 { 0x08004564, 0x00000004 }, 1162 { 0x0000e566, 0x00000004 }, 1163 { 0x00000055, 0x00000008 }, 1164 { 0x00802061, 0x00000010 }, 1165 { 0x00202000, 0x00000004 }, 1166 { 0x001b00ff, 0x00000004 }, 1167 { 0x01000064, 0x00000010 }, 1168 { 0x001f2000, 0x00000004 }, 1169 { 0x001c00ff, 0x00000004 }, 1170 { 0000000000, 0x0000000c }, 1171 { 0x00000072, 0x00000030 }, 1172 { 0x00000055, 0x00000008 }, 1173 { 0x0000e576, 0x00000004 }, 1174 { 0x0000e577, 0x00000004 }, 1175 { 0x0000e50e, 0x00000004 }, 1176 { 0x0000e50f, 0x00000004 }, 1177 { 0x0140a000, 0x00000004 }, 1178 { 0x00000069, 0x00000018 }, 1179 { 0x00c0e5f9, 0x000000c2 }, 1180 { 0x00000069, 0x00000008 }, 1181 { 0x0014e50e, 0x00000004 }, 1182 { 0x0040e50f, 0x00000004 }, 1183 { 0x00c0006c, 0x00000008 }, 1184 { 0x0000e570, 0x00000004 }, 1185 { 0x0000e571, 0x00000004 }, 1186 { 0x0000e572, 0x0000000c }, 1187 { 0x0000a000, 0x00000004 }, 1188 { 0x0140a000, 0x00000004 }, 1189 { 0x0000e568, 0x00000004 }, 1190 { 0x000c2000, 0x00000004 }, 1191 { 0x00000076, 0x00000018 }, 1192 { 0x000b0000, 0x00000004 }, 1193 { 0x18c0e562, 0x00000004 }, 1194 { 0x00000078, 0x00000008 }, 1195 { 0x00c00077, 0x00000008 }, 1196 { 0x000700d5, 0x00000004 }, 1197 { 0x00000084, 0x00000038 }, 1198 { 0x000ca086, 0x00000030 }, 1199 { 0x080045bb, 0x00000004 }, 1200 { 0x000c2087, 0x00000030 }, 1201 { 0x0800e5bc, 0000000000 }, 1202 { 0x0000e5bb, 0x00000004 }, 1203 { 0x0000e5bc, 0000000000 }, 1204 { 0x00120000, 0x0000000c }, 1205 { 0x00120000, 0x00000004 }, 1206 { 0x001b0002, 0x0000000c }, 1207 { 0x0000a000, 0x00000004 }, 1208 { 0x0000e821, 0x00000004 }, 1209 { 0x0000e800, 0000000000 }, 1210 { 0x0000e821, 0x00000004 }, 1211 { 0x0000e82e, 0000000000 }, 1212 { 0x02cca000, 0x00000004 }, 1213 { 0x00140000, 0x00000004 }, 1214 { 0x000ce1cc, 0x00000004 }, 1215 { 0x050de1cd, 0x00000004 }, 1216 { 0x00400000, 0x00000004 }, 1217 { 0x00000096, 0x00000018 }, 1218 { 0x00c0a000, 0x00000004 }, 1219 { 0x00000093, 0x00000008 }, 1220 { 0x00000098, 0x00000020 }, 1221 { 0x4200e000, 0000000000 }, 1222 { 0x0000009f, 0x00000038 }, 1223 { 0x000ca000, 0x00000004 }, 1224 { 0x00140000, 0x00000004 }, 1225 { 0x000c2000, 0x00000004 }, 1226 { 0x00160000, 0x00000004 }, 1227 { 0x700ce000, 0x00000004 }, 1228 { 0x0014009b, 0x00000008 }, 1229 { 0x4000e000, 0000000000 }, 1230 { 0x02400000, 0x00000004 }, 1231 { 0x400ee000, 0x00000004 }, 1232 { 0x02400000, 0x00000004 }, 1233 { 0x4000e000, 0000000000 }, 1234 { 0x000c2000, 0x00000004 }, 1235 { 0x0240e51b, 0x00000004 }, 1236 { 0x0080e50a, 0x00000005 }, 1237 { 0x0080e50b, 0x00000005 }, 1238 { 0x00220000, 0x00000004 }, 1239 { 0x000700d5, 0x00000004 }, 1240 { 0x000000b2, 0x00000038 }, 1241 { 0x000c2087, 0x00000030 }, 1242 { 0x0880e5bd, 0x00000005 }, 1243 { 0x000c2086, 0x00000030 }, 1244 { 0x0800e5bb, 0x00000005 }, 1245 { 0x000c2087, 0x00000030 }, 1246 { 0x0880e5bc, 0x00000005 }, 1247 { 0x000000b5, 0x00000008 }, 1248 { 0x0080e5bd, 0x00000005 }, 1249 { 0x0000e5bb, 0x00000005 }, 1250 { 0x0080e5bc, 0x00000005 }, 1251 { 0x00210000, 0x00000004 }, 1252 { 0x02800000, 0x00000004 }, 1253 { 0x00c000b9, 0x00000018 }, 1254 { 0x4180e000, 0x00000040 }, 1255 { 0x000000bb, 0x00000024 }, 1256 { 0x01000000, 0x0000000c }, 1257 { 0x0100e51d, 0x0000000c }, 1258 { 0x000045bb, 0x00000004 }, 1259 { 0x000080b5, 0x00000008 }, 1260 { 0x0000f3ce, 0x00000004 }, 1261 { 0x0140a000, 0x00000004 }, 1262 { 0x00cc2000, 0x00000004 }, 1263 { 0x08c053cf, 0x00000040 }, 1264 { 0x00008000, 0000000000 }, 1265 { 0x0000f3d2, 0x00000004 }, 1266 { 0x0140a000, 0x00000004 }, 1267 { 0x00cc2000, 0x00000004 }, 1268 { 0x08c053d3, 0x00000040 }, 1269 { 0x00008000, 0000000000 }, 1270 { 0x0000f39d, 0x00000004 }, 1271 { 0x0140a000, 0x00000004 }, 1272 { 0x00cc2000, 0x00000004 }, 1273 { 0x08c0539e, 0x00000040 }, 1274 { 0x00008000, 0000000000 }, 1275 { 0x03c00830, 0x00000004 }, 1276 { 0x4200e000, 0000000000 }, 1277 { 0x0000a000, 0x00000004 }, 1278 { 0x200045e0, 0x00000004 }, 1279 { 0x0000e5e1, 0000000000 }, 1280 { 0x00000001, 0000000000 }, 1281 { 0x000700d2, 0x00000004 }, 1282 { 0x0800e394, 0000000000 }, 1283 { 0000000000, 0000000000 }, 1284 { 0x0000e8c4, 0x00000004 }, 1285 { 0x0000e8c5, 0x00000004 }, 1286 { 0x0000e8c6, 0x00000004 }, 1287 { 0x0000e928, 0x00000004 }, 1288 { 0x0000e929, 0x00000004 }, 1289 { 0x0000e92a, 0x00000004 }, 1290 { 0x000000d6, 0x00000008 }, 1291 { 0x0000e928, 0x00000004 }, 1292 { 0x0000e929, 0x00000004 }, 1293 { 0x0000e92a, 0x00000004 }, 1294 { 0x000000dd, 0x00000008 }, 1295 { 0x00e00116, 0000000000 }, 1296 { 0x000700e1, 0x00000004 }, 1297 { 0x0800401c, 0x00000004 }, 1298 { 0x200050e7, 0x00000004 }, 1299 { 0x0000e01d, 0x00000004 }, 1300 { 0x000000e4, 0x00000008 }, 1301 { 0x02c02000, 0x00000004 }, 1302 { 0x00060000, 0x00000004 }, 1303 { 0x000000eb, 0x00000034 }, 1304 { 0x000000e8, 0x00000008 }, 1305 { 0x00008000, 0x00000004 }, 1306 { 0xc000e000, 0000000000 }, 1307 { 0000000000, 0000000000 }, 1308 { 0000000000, 0000000000 }, 1309 { 0000000000, 0000000000 }, 1310 { 0000000000, 0000000000 }, 1311 { 0000000000, 0000000000 }, 1312 { 0000000000, 0000000000 }, 1313 { 0000000000, 0000000000 }, 1314 { 0000000000, 0000000000 }, 1315 { 0000000000, 0000000000 }, 1316 { 0x000c2000, 0x00000004 }, 1317 { 0x001d0018, 0x00000004 }, 1318 { 0x001a0001, 0x00000004 }, 1319 { 0x000000fb, 0x00000034 }, 1320 { 0x0000004a, 0x00000008 }, 1321 { 0x0500a04a, 0x00000008 }, 1322 { 0000000000, 0000000000 }, 1323 { 0000000000, 0000000000 }, 1324 { 0000000000, 0000000000 }, 1325 { 0000000000, 0000000000 }, 1326}; 1327 1328static const u32 RS690_cp_microcode[][2]={ 1329 { 0x000000dd, 0x00000008 }, 1330 { 0x000000df, 0x00000008 }, 1331 { 0x000000a0, 0x00000008 }, 1332 { 0x000000a4, 0x00000008 }, 1333 { 0x4a554b4a, 0000000000 }, 1334 { 0x4a4a4467, 0000000000 }, 1335 { 0x55526f75, 0000000000 }, 1336 { 0x4a7e7d65, 0000000000 }, 1337 { 0x4ad74af6, 0000000000 }, 1338 { 0x4ac94a4a, 0000000000 }, 1339 { 0xcc898989, 0000000000 }, 1340 { 0xc34ad3c5, 0000000000 }, 1341 { 0x8e4a4a4a, 0000000000 }, 1342 { 0x4a8a8a8a, 0000000000 }, 1343 { 0x4a0f8c4a, 0000000000 }, 1344 { 0x000ca000, 0x00000004 }, 1345 { 0x000d0012, 0x00000038 }, 1346 { 0x0000e8b4, 0x00000004 }, 1347 { 0x000d0014, 0x00000038 }, 1348 { 0x0000e8b6, 0x00000004 }, 1349 { 0x000d0016, 0x00000038 }, 1350 { 0x0000e854, 0x00000004 }, 1351 { 0x000d0018, 0x00000038 }, 1352 { 0x0000e855, 0x00000004 }, 1353 { 0x000d001a, 0x00000038 }, 1354 { 0x0000e856, 0x00000004 }, 1355 { 0x000d001c, 0x00000038 }, 1356 { 0x0000e857, 0x00000004 }, 1357 { 0x000d001e, 0x00000038 }, 1358 { 0x0000e824, 0x00000004 }, 1359 { 0x000d0020, 0x00000038 }, 1360 { 0x0000e825, 0x00000004 }, 1361 { 0x000d0022, 0x00000038 }, 1362 { 0x0000e830, 0x00000004 }, 1363 { 0x000d0024, 0x00000038 }, 1364 { 0x0000f0c0, 0x00000004 }, 1365 { 0x000d0026, 0x00000038 }, 1366 { 0x0000f0c1, 0x00000004 }, 1367 { 0x000d0028, 0x00000038 }, 1368 { 0x0000f041, 0x00000004 }, 1369 { 0x000d002a, 0x00000038 }, 1370 { 0x0000f184, 0x00000004 }, 1371 { 0x000d002c, 0x00000038 }, 1372 { 0x0000f185, 0x00000004 }, 1373 { 0x000d002e, 0x00000038 }, 1374 { 0x0000f186, 0x00000004 }, 1375 { 0x000d0030, 0x00000038 }, 1376 { 0x0000f187, 0x00000004 }, 1377 { 0x000d0032, 0x00000038 }, 1378 { 0x0000f180, 0x00000004 }, 1379 { 0x000d0034, 0x00000038 }, 1380 { 0x0000f393, 0x00000004 }, 1381 { 0x000d0036, 0x00000038 }, 1382 { 0x0000f38a, 0x00000004 }, 1383 { 0x000d0038, 0x00000038 }, 1384 { 0x0000f38e, 0x00000004 }, 1385 { 0x0000e821, 0x00000004 }, 1386 { 0x0140a000, 0x00000004 }, 1387 { 0x00000043, 0x00000018 }, 1388 { 0x00cce800, 0x00000004 }, 1389 { 0x001b0001, 0x00000004 }, 1390 { 0x08004800, 0x00000004 }, 1391 { 0x001b0001, 0x00000004 }, 1392 { 0x08004800, 0x00000004 }, 1393 { 0x001b0001, 0x00000004 }, 1394 { 0x08004800, 0x00000004 }, 1395 { 0x0000003a, 0x00000008 }, 1396 { 0x0000a000, 0000000000 }, 1397 { 0x2000451d, 0x00000004 }, 1398 { 0x0000e580, 0x00000004 }, 1399 { 0x000ce581, 0x00000004 }, 1400 { 0x08004580, 0x00000004 }, 1401 { 0x000ce581, 0x00000004 }, 1402 { 0x00000047, 0x00000008 }, 1403 { 0x0000a000, 0000000000 }, 1404 { 0x000c2000, 0x00000004 }, 1405 { 0x0000e50e, 0x00000004 }, 1406 { 0x00032000, 0x00000004 }, 1407 { 0x00022051, 0x00000028 }, 1408 { 0x00000051, 0x00000024 }, 1409 { 0x0800450f, 0x00000004 }, 1410 { 0x0000a04b, 0x00000008 }, 1411 { 0x0000e565, 0x00000004 }, 1412 { 0x0000e566, 0x00000004 }, 1413 { 0x00000052, 0x00000008 }, 1414 { 0x03cca5b4, 0x00000004 }, 1415 { 0x05432000, 0x00000004 }, 1416 { 0x00022000, 0x00000004 }, 1417 { 0x4ccce05e, 0x00000030 }, 1418 { 0x08274565, 0x00000004 }, 1419 { 0x0000005e, 0x00000030 }, 1420 { 0x08004564, 0x00000004 }, 1421 { 0x0000e566, 0x00000004 }, 1422 { 0x00000055, 0x00000008 }, 1423 { 0x00802061, 0x00000010 }, 1424 { 0x00202000, 0x00000004 }, 1425 { 0x001b00ff, 0x00000004 }, 1426 { 0x01000064, 0x00000010 }, 1427 { 0x001f2000, 0x00000004 }, 1428 { 0x001c00ff, 0x00000004 }, 1429 { 0000000000, 0x0000000c }, 1430 { 0x00000072, 0x00000030 }, 1431 { 0x00000055, 0x00000008 }, 1432 { 0x0000e576, 0x00000004 }, 1433 { 0x0000e577, 0x00000004 }, 1434 { 0x0000e50e, 0x00000004 }, 1435 { 0x0000e50f, 0x00000004 }, 1436 { 0x0140a000, 0x00000004 }, 1437 { 0x00000069, 0x00000018 }, 1438 { 0x00c0e5f9, 0x000000c2 }, 1439 { 0x00000069, 0x00000008 }, 1440 { 0x0014e50e, 0x00000004 }, 1441 { 0x0040e50f, 0x00000004 }, 1442 { 0x00c0006c, 0x00000008 }, 1443 { 0x0000e570, 0x00000004 }, 1444 { 0x0000e571, 0x00000004 }, 1445 { 0x0000e572, 0x0000000c }, 1446 { 0x0000a000, 0x00000004 }, 1447 { 0x0140a000, 0x00000004 }, 1448 { 0x0000e568, 0x00000004 }, 1449 { 0x000c2000, 0x00000004 }, 1450 { 0x00000076, 0x00000018 }, 1451 { 0x000b0000, 0x00000004 }, 1452 { 0x18c0e562, 0x00000004 }, 1453 { 0x00000078, 0x00000008 }, 1454 { 0x00c00077, 0x00000008 }, 1455 { 0x000700cb, 0x00000004 }, 1456 { 0x00000084, 0x00000038 }, 1457 { 0x000ca086, 0x00000030 }, 1458 { 0x080045bb, 0x00000004 }, 1459 { 0x000c2087, 0x00000030 }, 1460 { 0x0800e5bc, 0000000000 }, 1461 { 0x0000e5bb, 0x00000004 }, 1462 { 0x0000e5bc, 0000000000 }, 1463 { 0x00120000, 0x0000000c }, 1464 { 0x00120000, 0x00000004 }, 1465 { 0x001b0002, 0x0000000c }, 1466 { 0x0000a000, 0x00000004 }, 1467 { 0x0000e821, 0x00000004 }, 1468 { 0x0000e800, 0000000000 }, 1469 { 0x0000e821, 0x00000004 }, 1470 { 0x0000e82e, 0000000000 }, 1471 { 0x02cca000, 0x00000004 }, 1472 { 0x00140000, 0x00000004 }, 1473 { 0x000ce1cc, 0x00000004 }, 1474 { 0x050de1cd, 0x00000004 }, 1475 { 0x00400000, 0x00000004 }, 1476 { 0x00000096, 0x00000018 }, 1477 { 0x00c0a000, 0x00000004 }, 1478 { 0x00000093, 0x00000008 }, 1479 { 0x00000098, 0x00000020 }, 1480 { 0x4200e000, 0000000000 }, 1481 { 0x0000009f, 0x00000038 }, 1482 { 0x000ca000, 0x00000004 }, 1483 { 0x00140000, 0x00000004 }, 1484 { 0x000c2000, 0x00000004 }, 1485 { 0x00160000, 0x00000004 }, 1486 { 0x700ce000, 0x00000004 }, 1487 { 0x0014009b, 0x00000008 }, 1488 { 0x4000e000, 0000000000 }, 1489 { 0x02400000, 0x00000004 }, 1490 { 0x400ee000, 0x00000004 }, 1491 { 0x02400000, 0x00000004 }, 1492 { 0x4000e000, 0000000000 }, 1493 { 0x00100000, 0x0000002c }, 1494 { 0x00004000, 0000000000 }, 1495 { 0x080045c8, 0x00000004 }, 1496 { 0x00240005, 0x00000004 }, 1497 { 0x08004d0b, 0x00000004 }, 1498 { 0x000c2000, 0x00000004 }, 1499 { 0x0240e51b, 0x00000004 }, 1500 { 0x0080e50a, 0x00000005 }, 1501 { 0x0080e50b, 0x00000005 }, 1502 { 0x00220000, 0x00000004 }, 1503 { 0x000700cb, 0x00000004 }, 1504 { 0x000000b7, 0x00000038 }, 1505 { 0x000c2087, 0x00000030 }, 1506 { 0x0880e5bd, 0x00000005 }, 1507 { 0x000c2086, 0x00000030 }, 1508 { 0x0800e5bb, 0x00000005 }, 1509 { 0x000c2087, 0x00000030 }, 1510 { 0x0880e5bc, 0x00000005 }, 1511 { 0x000000ba, 0x00000008 }, 1512 { 0x0080e5bd, 0x00000005 }, 1513 { 0x0000e5bb, 0x00000005 }, 1514 { 0x0080e5bc, 0x00000005 }, 1515 { 0x00210000, 0x00000004 }, 1516 { 0x02800000, 0x00000004 }, 1517 { 0x00c000be, 0x00000018 }, 1518 { 0x4180e000, 0x00000040 }, 1519 { 0x000000c0, 0x00000024 }, 1520 { 0x01000000, 0x0000000c }, 1521 { 0x0100e51d, 0x0000000c }, 1522 { 0x000045bb, 0x00000004 }, 1523 { 0x000080ba, 0x00000008 }, 1524 { 0x03c00830, 0x00000004 }, 1525 { 0x4200e000, 0000000000 }, 1526 { 0x0000a000, 0x00000004 }, 1527 { 0x200045e0, 0x00000004 }, 1528 { 0x0000e5e1, 0000000000 }, 1529 { 0x00000001, 0000000000 }, 1530 { 0x000700c8, 0x00000004 }, 1531 { 0x0800e394, 0000000000 }, 1532 { 0000000000, 0000000000 }, 1533 { 0x0000e8c4, 0x00000004 }, 1534 { 0x0000e8c5, 0x00000004 }, 1535 { 0x0000e8c6, 0x00000004 }, 1536 { 0x0000e928, 0x00000004 }, 1537 { 0x0000e929, 0x00000004 }, 1538 { 0x0000e92a, 0x00000004 }, 1539 { 0x000000cc, 0x00000008 }, 1540 { 0x0000e928, 0x00000004 }, 1541 { 0x0000e929, 0x00000004 }, 1542 { 0x0000e92a, 0x00000004 }, 1543 { 0x000000d3, 0x00000008 }, 1544 { 0x02c02000, 0x00000004 }, 1545 { 0x00060000, 0x00000004 }, 1546 { 0x000000db, 0x00000034 }, 1547 { 0x000000d8, 0x00000008 }, 1548 { 0x00008000, 0x00000004 }, 1549 { 0xc000e000, 0000000000 }, 1550 { 0x000000e1, 0x00000030 }, 1551 { 0x4200e000, 0000000000 }, 1552 { 0x000000e1, 0x00000030 }, 1553 { 0x4000e000, 0000000000 }, 1554 { 0x0025001b, 0x00000004 }, 1555 { 0x00230000, 0x00000004 }, 1556 { 0x00250005, 0x00000004 }, 1557 { 0x000000e6, 0x00000034 }, 1558 { 0000000000, 0x0000000c }, 1559 { 0x00244000, 0x00000004 }, 1560 { 0x080045c8, 0x00000004 }, 1561 { 0x00240005, 0x00000004 }, 1562 { 0x08004d0b, 0x0000000c }, 1563 { 0000000000, 0000000000 }, 1564 { 0000000000, 0000000000 }, 1565 { 0000000000, 0000000000 }, 1566 { 0000000000, 0000000000 }, 1567 { 0000000000, 0000000000 }, 1568 { 0000000000, 0000000000 }, 1569 { 0000000000, 0000000000 }, 1570 { 0000000000, 0000000000 }, 1571 { 0000000000, 0000000000 }, 1572 { 0000000000, 0000000000 }, 1573 { 0000000000, 0000000000 }, 1574 { 0000000000, 0000000000 }, 1575 { 0x000c2000, 0x00000004 }, 1576 { 0x001d0018, 0x00000004 }, 1577 { 0x001a0001, 0x00000004 }, 1578 { 0x000000fb, 0x00000034 }, 1579 { 0x0000004a, 0x00000008 }, 1580 { 0x0500a04a, 0x00000008 }, 1581 { 0000000000, 0000000000 }, 1582 { 0000000000, 0000000000 }, 1583 { 0000000000, 0000000000 }, 1584 { 0000000000, 0000000000 }, 1585}; 1586 1587static const u32 R520_cp_microcode[][2]={ 1588 { 0x4200e000, 0000000000 }, 1589 { 0x4000e000, 0000000000 }, 1590 { 0x00000099, 0x00000008 }, 1591 { 0x0000009d, 0x00000008 }, 1592 { 0x4a554b4a, 0000000000 }, 1593 { 0x4a4a4467, 0000000000 }, 1594 { 0x55526f75, 0000000000 }, 1595 { 0x4a7e7d65, 0000000000 }, 1596 { 0xe0dae6f6, 0000000000 }, 1597 { 0x4ac54a4a, 0000000000 }, 1598 { 0xc8828282, 0000000000 }, 1599 { 0xbf4acfc1, 0000000000 }, 1600 { 0x87b04ad5, 0000000000 }, 1601 { 0xb5838383, 0000000000 }, 1602 { 0x4a0f85ba, 0000000000 }, 1603 { 0x000ca000, 0x00000004 }, 1604 { 0x000d0012, 0x00000038 }, 1605 { 0x0000e8b4, 0x00000004 }, 1606 { 0x000d0014, 0x00000038 }, 1607 { 0x0000e8b6, 0x00000004 }, 1608 { 0x000d0016, 0x00000038 }, 1609 { 0x0000e854, 0x00000004 }, 1610 { 0x000d0018, 0x00000038 }, 1611 { 0x0000e855, 0x00000004 }, 1612 { 0x000d001a, 0x00000038 }, 1613 { 0x0000e856, 0x00000004 }, 1614 { 0x000d001c, 0x00000038 }, 1615 { 0x0000e857, 0x00000004 }, 1616 { 0x000d001e, 0x00000038 }, 1617 { 0x0000e824, 0x00000004 }, 1618 { 0x000d0020, 0x00000038 }, 1619 { 0x0000e825, 0x00000004 }, 1620 { 0x000d0022, 0x00000038 }, 1621 { 0x0000e830, 0x00000004 }, 1622 { 0x000d0024, 0x00000038 }, 1623 { 0x0000f0c0, 0x00000004 }, 1624 { 0x000d0026, 0x00000038 }, 1625 { 0x0000f0c1, 0x00000004 }, 1626 { 0x000d0028, 0x00000038 }, 1627 { 0x0000e000, 0x00000004 }, 1628 { 0x000d002a, 0x00000038 }, 1629 { 0x0000e000, 0x00000004 }, 1630 { 0x000d002c, 0x00000038 }, 1631 { 0x0000e000, 0x00000004 }, 1632 { 0x000d002e, 0x00000038 }, 1633 { 0x0000e000, 0x00000004 }, 1634 { 0x000d0030, 0x00000038 }, 1635 { 0x0000e000, 0x00000004 }, 1636 { 0x000d0032, 0x00000038 }, 1637 { 0x0000f180, 0x00000004 }, 1638 { 0x000d0034, 0x00000038 }, 1639 { 0x0000f393, 0x00000004 }, 1640 { 0x000d0036, 0x00000038 }, 1641 { 0x0000f38a, 0x00000004 }, 1642 { 0x000d0038, 0x00000038 }, 1643 { 0x0000f38e, 0x00000004 }, 1644 { 0x0000e821, 0x00000004 }, 1645 { 0x0140a000, 0x00000004 }, 1646 { 0x00000043, 0x00000018 }, 1647 { 0x00cce800, 0x00000004 }, 1648 { 0x001b0001, 0x00000004 }, 1649 { 0x08004800, 0x00000004 }, 1650 { 0x001b0001, 0x00000004 }, 1651 { 0x08004800, 0x00000004 }, 1652 { 0x001b0001, 0x00000004 }, 1653 { 0x08004800, 0x00000004 }, 1654 { 0x0000003a, 0x00000008 }, 1655 { 0x0000a000, 0000000000 }, 1656 { 0x2000451d, 0x00000004 }, 1657 { 0x0000e580, 0x00000004 }, 1658 { 0x000ce581, 0x00000004 }, 1659 { 0x08004580, 0x00000004 }, 1660 { 0x000ce581, 0x00000004 }, 1661 { 0x00000047, 0x00000008 }, 1662 { 0x0000a000, 0000000000 }, 1663 { 0x000c2000, 0x00000004 }, 1664 { 0x0000e50e, 0x00000004 }, 1665 { 0x00032000, 0x00000004 }, 1666 { 0x00022051, 0x00000028 }, 1667 { 0x00000051, 0x00000024 }, 1668 { 0x0800450f, 0x00000004 }, 1669 { 0x0000a04b, 0x00000008 }, 1670 { 0x0000e565, 0x00000004 }, 1671 { 0x0000e566, 0x00000004 }, 1672 { 0x00000052, 0x00000008 }, 1673 { 0x03cca5b4, 0x00000004 }, 1674 { 0x05432000, 0x00000004 }, 1675 { 0x00022000, 0x00000004 }, 1676 { 0x4ccce05e, 0x00000030 }, 1677 { 0x08274565, 0x00000004 }, 1678 { 0x0000005e, 0x00000030 }, 1679 { 0x08004564, 0x00000004 }, 1680 { 0x0000e566, 0x00000004 }, 1681 { 0x00000055, 0x00000008 }, 1682 { 0x00802061, 0x00000010 }, 1683 { 0x00202000, 0x00000004 }, 1684 { 0x001b00ff, 0x00000004 }, 1685 { 0x01000064, 0x00000010 }, 1686 { 0x001f2000, 0x00000004 }, 1687 { 0x001c00ff, 0x00000004 }, 1688 { 0000000000, 0x0000000c }, 1689 { 0x00000072, 0x00000030 }, 1690 { 0x00000055, 0x00000008 }, 1691 { 0x0000e576, 0x00000004 }, 1692 { 0x0000e577, 0x00000004 }, 1693 { 0x0000e50e, 0x00000004 }, 1694 { 0x0000e50f, 0x00000004 }, 1695 { 0x0140a000, 0x00000004 }, 1696 { 0x00000069, 0x00000018 }, 1697 { 0x00c0e5f9, 0x000000c2 }, 1698 { 0x00000069, 0x00000008 }, 1699 { 0x0014e50e, 0x00000004 }, 1700 { 0x0040e50f, 0x00000004 }, 1701 { 0x00c0006c, 0x00000008 }, 1702 { 0x0000e570, 0x00000004 }, 1703 { 0x0000e571, 0x00000004 }, 1704 { 0x0000e572, 0x0000000c }, 1705 { 0x0000a000, 0x00000004 }, 1706 { 0x0140a000, 0x00000004 }, 1707 { 0x0000e568, 0x00000004 }, 1708 { 0x000c2000, 0x00000004 }, 1709 { 0x00000076, 0x00000018 }, 1710 { 0x000b0000, 0x00000004 }, 1711 { 0x18c0e562, 0x00000004 }, 1712 { 0x00000078, 0x00000008 }, 1713 { 0x00c00077, 0x00000008 }, 1714 { 0x000700c7, 0x00000004 }, 1715 { 0x00000080, 0x00000038 }, 1716 { 0x0000e5bb, 0x00000004 }, 1717 { 0x0000e5bc, 0000000000 }, 1718 { 0x0000a000, 0x00000004 }, 1719 { 0x0000e821, 0x00000004 }, 1720 { 0x0000e800, 0000000000 }, 1721 { 0x0000e821, 0x00000004 }, 1722 { 0x0000e82e, 0000000000 }, 1723 { 0x02cca000, 0x00000004 }, 1724 { 0x00140000, 0x00000004 }, 1725 { 0x000ce1cc, 0x00000004 }, 1726 { 0x050de1cd, 0x00000004 }, 1727 { 0x00400000, 0x00000004 }, 1728 { 0x0000008f, 0x00000018 }, 1729 { 0x00c0a000, 0x00000004 }, 1730 { 0x0000008c, 0x00000008 }, 1731 { 0x00000091, 0x00000020 }, 1732 { 0x4200e000, 0000000000 }, 1733 { 0x00000098, 0x00000038 }, 1734 { 0x000ca000, 0x00000004 }, 1735 { 0x00140000, 0x00000004 }, 1736 { 0x000c2000, 0x00000004 }, 1737 { 0x00160000, 0x00000004 }, 1738 { 0x700ce000, 0x00000004 }, 1739 { 0x00140094, 0x00000008 }, 1740 { 0x4000e000, 0000000000 }, 1741 { 0x02400000, 0x00000004 }, 1742 { 0x400ee000, 0x00000004 }, 1743 { 0x02400000, 0x00000004 }, 1744 { 0x4000e000, 0000000000 }, 1745 { 0x000c2000, 0x00000004 }, 1746 { 0x0240e51b, 0x00000004 }, 1747 { 0x0080e50a, 0x00000005 }, 1748 { 0x0080e50b, 0x00000005 }, 1749 { 0x00220000, 0x00000004 }, 1750 { 0x000700c7, 0x00000004 }, 1751 { 0x000000a4, 0x00000038 }, 1752 { 0x0080e5bd, 0x00000005 }, 1753 { 0x0000e5bb, 0x00000005 }, 1754 { 0x0080e5bc, 0x00000005 }, 1755 { 0x00210000, 0x00000004 }, 1756 { 0x02800000, 0x00000004 }, 1757 { 0x00c000ab, 0x00000018 }, 1758 { 0x4180e000, 0x00000040 }, 1759 { 0x000000ad, 0x00000024 }, 1760 { 0x01000000, 0x0000000c }, 1761 { 0x0100e51d, 0x0000000c }, 1762 { 0x000045bb, 0x00000004 }, 1763 { 0x000080a7, 0x00000008 }, 1764 { 0x0000f3ce, 0x00000004 }, 1765 { 0x0140a000, 0x00000004 }, 1766 { 0x00cc2000, 0x00000004 }, 1767 { 0x08c053cf, 0x00000040 }, 1768 { 0x00008000, 0000000000 }, 1769 { 0x0000f3d2, 0x00000004 }, 1770 { 0x0140a000, 0x00000004 }, 1771 { 0x00cc2000, 0x00000004 }, 1772 { 0x08c053d3, 0x00000040 }, 1773 { 0x00008000, 0000000000 }, 1774 { 0x0000f39d, 0x00000004 }, 1775 { 0x0140a000, 0x00000004 }, 1776 { 0x00cc2000, 0x00000004 }, 1777 { 0x08c0539e, 0x00000040 }, 1778 { 0x00008000, 0000000000 }, 1779 { 0x03c00830, 0x00000004 }, 1780 { 0x4200e000, 0000000000 }, 1781 { 0x0000a000, 0x00000004 }, 1782 { 0x200045e0, 0x00000004 }, 1783 { 0x0000e5e1, 0000000000 }, 1784 { 0x00000001, 0000000000 }, 1785 { 0x000700c4, 0x00000004 }, 1786 { 0x0800e394, 0000000000 }, 1787 { 0000000000, 0000000000 }, 1788 { 0x0000e8c4, 0x00000004 }, 1789 { 0x0000e8c5, 0x00000004 }, 1790 { 0x0000e8c6, 0x00000004 }, 1791 { 0x0000e928, 0x00000004 }, 1792 { 0x0000e929, 0x00000004 }, 1793 { 0x0000e92a, 0x00000004 }, 1794 { 0x000000c8, 0x00000008 }, 1795 { 0x0000e928, 0x00000004 }, 1796 { 0x0000e929, 0x00000004 }, 1797 { 0x0000e92a, 0x00000004 }, 1798 { 0x000000cf, 0x00000008 }, 1799 { 0xdeadbeef, 0000000000 }, 1800 { 0x00000116, 0000000000 }, 1801 { 0x000700d3, 0x00000004 }, 1802 { 0x080050e7, 0x00000004 }, 1803 { 0x000700d4, 0x00000004 }, 1804 { 0x0800401c, 0x00000004 }, 1805 { 0x0000e01d, 0000000000 }, 1806 { 0x02c02000, 0x00000004 }, 1807 { 0x00060000, 0x00000004 }, 1808 { 0x000000de, 0x00000034 }, 1809 { 0x000000db, 0x00000008 }, 1810 { 0x00008000, 0x00000004 }, 1811 { 0xc000e000, 0000000000 }, 1812 { 0x0000e1cc, 0x00000004 }, 1813 { 0x0500e1cd, 0x00000004 }, 1814 { 0x000ca000, 0x00000004 }, 1815 { 0x000000e5, 0x00000034 }, 1816 { 0x000000e1, 0x00000008 }, 1817 { 0x0000a000, 0000000000 }, 1818 { 0x0019e1cc, 0x00000004 }, 1819 { 0x001b0001, 0x00000004 }, 1820 { 0x0500a000, 0x00000004 }, 1821 { 0x080041cd, 0x00000004 }, 1822 { 0x000ca000, 0x00000004 }, 1823 { 0x000000fb, 0x00000034 }, 1824 { 0x0000004a, 0x00000008 }, 1825 { 0000000000, 0000000000 }, 1826 { 0000000000, 0000000000 }, 1827 { 0000000000, 0000000000 }, 1828 { 0000000000, 0000000000 }, 1829 { 0000000000, 0000000000 }, 1830 { 0000000000, 0000000000 }, 1831 { 0000000000, 0000000000 }, 1832 { 0000000000, 0000000000 }, 1833 { 0000000000, 0000000000 }, 1834 { 0x000c2000, 0x00000004 }, 1835 { 0x001d0018, 0x00000004 }, 1836 { 0x001a0001, 0x00000004 }, 1837 { 0x000000fb, 0x00000034 }, 1838 { 0x0000004a, 0x00000008 }, 1839 { 0x0500a04a, 0x00000008 }, 1840 { 0000000000, 0000000000 }, 1841 { 0000000000, 0000000000 }, 1842 { 0000000000, 0000000000 }, 1843 { 0000000000, 0000000000 }, 1844}; 1845 1846 1847#endif 1848