• Home
  • Raw
  • Download

Lines Matching +full:0 +full:x8c20

166 #define DC_HPDx_CONTROL(x)        (DC_HPD1_CONTROL     + (x * 0xc))
167 #define DC_HPDx_INT_CONTROL(x) (DC_HPD1_INT_CONTROL + (x * 0xc))
168 #define DC_HPDx_INT_STATUS_REG(x) (DC_HPD1_INT_STATUS + (x * 0xc))
172 (0x8000 << 16) | (0x98f4 >> 2),
173 0x00000000,
174 (0x8040 << 16) | (0x98f4 >> 2),
175 0x00000000,
176 (0x8000 << 16) | (0xe80 >> 2),
177 0x00000000,
178 (0x8040 << 16) | (0xe80 >> 2),
179 0x00000000,
180 (0x8000 << 16) | (0x89bc >> 2),
181 0x00000000,
182 (0x8040 << 16) | (0x89bc >> 2),
183 0x00000000,
184 (0x8000 << 16) | (0x8c1c >> 2),
185 0x00000000,
186 (0x8040 << 16) | (0x8c1c >> 2),
187 0x00000000,
188 (0x9c00 << 16) | (0x98f0 >> 2),
189 0x00000000,
190 (0x9c00 << 16) | (0xe7c >> 2),
191 0x00000000,
192 (0x8000 << 16) | (0x9148 >> 2),
193 0x00000000,
194 (0x8040 << 16) | (0x9148 >> 2),
195 0x00000000,
196 (0x9c00 << 16) | (0x9150 >> 2),
197 0x00000000,
198 (0x9c00 << 16) | (0x897c >> 2),
199 0x00000000,
200 (0x9c00 << 16) | (0x8d8c >> 2),
201 0x00000000,
202 (0x9c00 << 16) | (0xac54 >> 2),
203 0X00000000,
204 0x3,
205 (0x9c00 << 16) | (0x98f8 >> 2),
206 0x00000000,
207 (0x9c00 << 16) | (0x9910 >> 2),
208 0x00000000,
209 (0x9c00 << 16) | (0x9914 >> 2),
210 0x00000000,
211 (0x9c00 << 16) | (0x9918 >> 2),
212 0x00000000,
213 (0x9c00 << 16) | (0x991c >> 2),
214 0x00000000,
215 (0x9c00 << 16) | (0x9920 >> 2),
216 0x00000000,
217 (0x9c00 << 16) | (0x9924 >> 2),
218 0x00000000,
219 (0x9c00 << 16) | (0x9928 >> 2),
220 0x00000000,
221 (0x9c00 << 16) | (0x992c >> 2),
222 0x00000000,
223 (0x9c00 << 16) | (0x9930 >> 2),
224 0x00000000,
225 (0x9c00 << 16) | (0x9934 >> 2),
226 0x00000000,
227 (0x9c00 << 16) | (0x9938 >> 2),
228 0x00000000,
229 (0x9c00 << 16) | (0x993c >> 2),
230 0x00000000,
231 (0x9c00 << 16) | (0x9940 >> 2),
232 0x00000000,
233 (0x9c00 << 16) | (0x9944 >> 2),
234 0x00000000,
235 (0x9c00 << 16) | (0x9948 >> 2),
236 0x00000000,
237 (0x9c00 << 16) | (0x994c >> 2),
238 0x00000000,
239 (0x9c00 << 16) | (0x9950 >> 2),
240 0x00000000,
241 (0x9c00 << 16) | (0x9954 >> 2),
242 0x00000000,
243 (0x9c00 << 16) | (0x9958 >> 2),
244 0x00000000,
245 (0x9c00 << 16) | (0x995c >> 2),
246 0x00000000,
247 (0x9c00 << 16) | (0x9960 >> 2),
248 0x00000000,
249 (0x9c00 << 16) | (0x9964 >> 2),
250 0x00000000,
251 (0x9c00 << 16) | (0x9968 >> 2),
252 0x00000000,
253 (0x9c00 << 16) | (0x996c >> 2),
254 0x00000000,
255 (0x9c00 << 16) | (0x9970 >> 2),
256 0x00000000,
257 (0x9c00 << 16) | (0x9974 >> 2),
258 0x00000000,
259 (0x9c00 << 16) | (0x9978 >> 2),
260 0x00000000,
261 (0x9c00 << 16) | (0x997c >> 2),
262 0x00000000,
263 (0x9c00 << 16) | (0x9980 >> 2),
264 0x00000000,
265 (0x9c00 << 16) | (0x9984 >> 2),
266 0x00000000,
267 (0x9c00 << 16) | (0x9988 >> 2),
268 0x00000000,
269 (0x9c00 << 16) | (0x998c >> 2),
270 0x00000000,
271 (0x9c00 << 16) | (0x8c00 >> 2),
272 0x00000000,
273 (0x9c00 << 16) | (0x8c14 >> 2),
274 0x00000000,
275 (0x9c00 << 16) | (0x8c04 >> 2),
276 0x00000000,
277 (0x9c00 << 16) | (0x8c08 >> 2),
278 0x00000000,
279 (0x8000 << 16) | (0x9b7c >> 2),
280 0x00000000,
281 (0x8040 << 16) | (0x9b7c >> 2),
282 0x00000000,
283 (0x8000 << 16) | (0xe84 >> 2),
284 0x00000000,
285 (0x8040 << 16) | (0xe84 >> 2),
286 0x00000000,
287 (0x8000 << 16) | (0x89c0 >> 2),
288 0x00000000,
289 (0x8040 << 16) | (0x89c0 >> 2),
290 0x00000000,
291 (0x8000 << 16) | (0x914c >> 2),
292 0x00000000,
293 (0x8040 << 16) | (0x914c >> 2),
294 0x00000000,
295 (0x8000 << 16) | (0x8c20 >> 2),
296 0x00000000,
297 (0x8040 << 16) | (0x8c20 >> 2),
298 0x00000000,
299 (0x8000 << 16) | (0x9354 >> 2),
300 0x00000000,
301 (0x8040 << 16) | (0x9354 >> 2),
302 0x00000000,
303 (0x9c00 << 16) | (0x9060 >> 2),
304 0x00000000,
305 (0x9c00 << 16) | (0x9364 >> 2),
306 0x00000000,
307 (0x9c00 << 16) | (0x9100 >> 2),
308 0x00000000,
309 (0x9c00 << 16) | (0x913c >> 2),
310 0x00000000,
311 (0x8000 << 16) | (0x90e0 >> 2),
312 0x00000000,
313 (0x8000 << 16) | (0x90e4 >> 2),
314 0x00000000,
315 (0x8000 << 16) | (0x90e8 >> 2),
316 0x00000000,
317 (0x8040 << 16) | (0x90e0 >> 2),
318 0x00000000,
319 (0x8040 << 16) | (0x90e4 >> 2),
320 0x00000000,
321 (0x8040 << 16) | (0x90e8 >> 2),
322 0x00000000,
323 (0x9c00 << 16) | (0x8bcc >> 2),
324 0x00000000,
325 (0x9c00 << 16) | (0x8b24 >> 2),
326 0x00000000,
327 (0x9c00 << 16) | (0x88c4 >> 2),
328 0x00000000,
329 (0x9c00 << 16) | (0x8e50 >> 2),
330 0x00000000,
331 (0x9c00 << 16) | (0x8c0c >> 2),
332 0x00000000,
333 (0x9c00 << 16) | (0x8e58 >> 2),
334 0x00000000,
335 (0x9c00 << 16) | (0x8e5c >> 2),
336 0x00000000,
337 (0x9c00 << 16) | (0x9508 >> 2),
338 0x00000000,
339 (0x9c00 << 16) | (0x950c >> 2),
340 0x00000000,
341 (0x9c00 << 16) | (0x9494 >> 2),
342 0x00000000,
343 (0x9c00 << 16) | (0xac0c >> 2),
344 0x00000000,
345 (0x9c00 << 16) | (0xac10 >> 2),
346 0x00000000,
347 (0x9c00 << 16) | (0xac14 >> 2),
348 0x00000000,
349 (0x9c00 << 16) | (0xae00 >> 2),
350 0x00000000,
351 (0x9c00 << 16) | (0xac08 >> 2),
352 0x00000000,
353 (0x9c00 << 16) | (0x88d4 >> 2),
354 0x00000000,
355 (0x9c00 << 16) | (0x88c8 >> 2),
356 0x00000000,
357 (0x9c00 << 16) | (0x88cc >> 2),
358 0x00000000,
359 (0x9c00 << 16) | (0x89b0 >> 2),
360 0x00000000,
361 (0x9c00 << 16) | (0x8b10 >> 2),
362 0x00000000,
363 (0x9c00 << 16) | (0x8a14 >> 2),
364 0x00000000,
365 (0x9c00 << 16) | (0x9830 >> 2),
366 0x00000000,
367 (0x9c00 << 16) | (0x9834 >> 2),
368 0x00000000,
369 (0x9c00 << 16) | (0x9838 >> 2),
370 0x00000000,
371 (0x9c00 << 16) | (0x9a10 >> 2),
372 0x00000000,
373 (0x8000 << 16) | (0x9870 >> 2),
374 0x00000000,
375 (0x8000 << 16) | (0x9874 >> 2),
376 0x00000000,
377 (0x8001 << 16) | (0x9870 >> 2),
378 0x00000000,
379 (0x8001 << 16) | (0x9874 >> 2),
380 0x00000000,
381 (0x8040 << 16) | (0x9870 >> 2),
382 0x00000000,
383 (0x8040 << 16) | (0x9874 >> 2),
384 0x00000000,
385 (0x8041 << 16) | (0x9870 >> 2),
386 0x00000000,
387 (0x8041 << 16) | (0x9874 >> 2),
388 0x00000000,
389 0x00000000
394 0xc424, 0xffffffff, 0x00601005,
395 0xc47c, 0xffffffff, 0x10104040,
396 0xc488, 0xffffffff, 0x0100000a,
397 0xc314, 0xffffffff, 0x00000800,
398 0xc30c, 0xffffffff, 0x800000f4,
399 0xf4a8, 0xffffffff, 0x00000000
404 0x9a10, 0x00010000, 0x00018208,
405 0x9830, 0xffffffff, 0x00000000,
406 0x9834, 0xf00fffff, 0x00000400,
407 0x9838, 0x0002021c, 0x00020200,
408 0xc78, 0x00000080, 0x00000000,
409 0xd030, 0x000300c0, 0x00800040,
410 0xd830, 0x000300c0, 0x00800040,
411 0x5bb0, 0x000000f0, 0x00000070,
412 0x5bc0, 0x00200000, 0x50100000,
413 0x7030, 0x31000311, 0x00000011,
414 0x277c, 0x00000003, 0x000007ff,
415 0x240c, 0x000007ff, 0x00000000,
416 0x8a14, 0xf000001f, 0x00000007,
417 0x8b24, 0xffffffff, 0x00ffffff,
418 0x8b10, 0x0000ff0f, 0x00000000,
419 0x28a4c, 0x07ffffff, 0x4e000000,
420 0x28350, 0x3f3f3fff, 0x2a00126a,
421 0x30, 0x000000ff, 0x0040,
422 0x34, 0x00000040, 0x00004040,
423 0x9100, 0x07ffffff, 0x03000000,
424 0x8e88, 0x01ff1f3f, 0x00000000,
425 0x8e84, 0x01ff1f3f, 0x00000000,
426 0x9060, 0x0000007f, 0x00000020,
427 0x9508, 0x00010000, 0x00010000,
428 0xac14, 0x00000200, 0x000002fb,
429 0xac10, 0xffffffff, 0x0000543b,
430 0xac0c, 0xffffffff, 0xa9210876,
431 0x88d0, 0xffffffff, 0x000fff40,
432 0x88d4, 0x0000001f, 0x00000010,
433 0x1410, 0x20000000, 0x20fffed8,
434 0x15c0, 0x000c0fc0, 0x000c0400
439 0xc64, 0x00000001, 0x00000001
444 0xc424, 0xffffffff, 0x00601004,
445 0xc47c, 0xffffffff, 0x10102020,
446 0xc488, 0xffffffff, 0x01000020,
447 0xc314, 0xffffffff, 0x00000800,
448 0xc30c, 0xffffffff, 0x800000a4
453 0x9a10, 0x00010000, 0x00018208,
454 0x9830, 0xffffffff, 0x00000000,
455 0x9834, 0xf00fffff, 0x00000400,
456 0x9838, 0x0002021c, 0x00020200,
457 0xc78, 0x00000080, 0x00000000,
458 0xd030, 0x000300c0, 0x00800040,
459 0xd830, 0x000300c0, 0x00800040,
460 0x5bb0, 0x000000f0, 0x00000070,
461 0x5bc0, 0x00200000, 0x50100000,
462 0x7030, 0x31000311, 0x00000011,
463 0x2ae4, 0x00073ffe, 0x000022a2,
464 0x240c, 0x000007ff, 0x00000000,
465 0x8a14, 0xf000001f, 0x00000007,
466 0x8b24, 0xffffffff, 0x00ffffff,
467 0x8b10, 0x0000ff0f, 0x00000000,
468 0x28a4c, 0x07ffffff, 0x4e000000,
469 0x28350, 0x3f3f3fff, 0x2a00126a,
470 0x30, 0x000000ff, 0x0040,
471 0x34, 0x00000040, 0x00004040,
472 0x9100, 0x07ffffff, 0x03000000,
473 0x9060, 0x0000007f, 0x00000020,
474 0x9508, 0x00010000, 0x00010000,
475 0xac14, 0x000003ff, 0x000000f7,
476 0xac10, 0xffffffff, 0x00000000,
477 0xac0c, 0xffffffff, 0x32761054,
478 0x88d4, 0x0000001f, 0x00000010,
479 0x15c0, 0x000c0fc0, 0x000c0400
484 0xc424, 0xffffffff, 0x033f1005,
485 0xc47c, 0xffffffff, 0x10808020,
486 0xc488, 0xffffffff, 0x00800008,
487 0xc314, 0xffffffff, 0x00001000,
488 0xc30c, 0xffffffff, 0x80010014
493 0x9a10, 0x00010000, 0x00018208,
494 0x9830, 0xffffffff, 0x00000000,
495 0x9834, 0xf00fffff, 0x00000400,
496 0x9838, 0x0002021c, 0x00020200,
497 0xc78, 0x00000080, 0x00000000,
498 0xd030, 0x000300c0, 0x00800040,
499 0xd030, 0x000300c0, 0x00800040,
500 0xd830, 0x000300c0, 0x00800040,
501 0xd830, 0x000300c0, 0x00800040,
502 0x5bb0, 0x000000f0, 0x00000070,
503 0x5bc0, 0x00200000, 0x50100000,
504 0x7030, 0x31000311, 0x00000011,
505 0x2ae4, 0x00073ffe, 0x000022a2,
506 0x2ae4, 0x00073ffe, 0x000022a2,
507 0x2ae4, 0x00073ffe, 0x000022a2,
508 0x240c, 0x000007ff, 0x00000000,
509 0x240c, 0x000007ff, 0x00000000,
510 0x240c, 0x000007ff, 0x00000000,
511 0x8a14, 0xf000001f, 0x00000007,
512 0x8a14, 0xf000001f, 0x00000007,
513 0x8a14, 0xf000001f, 0x00000007,
514 0x8b24, 0xffffffff, 0x00ffffff,
515 0x8b10, 0x0000ff0f, 0x00000000,
516 0x28a4c, 0x07ffffff, 0x4e000000,
517 0x28350, 0x3f3f3fff, 0x0000124a,
518 0x28350, 0x3f3f3fff, 0x0000124a,
519 0x28350, 0x3f3f3fff, 0x0000124a,
520 0x30, 0x000000ff, 0x0040,
521 0x34, 0x00000040, 0x00004040,
522 0x9100, 0x07ffffff, 0x03000000,
523 0x9100, 0x07ffffff, 0x03000000,
524 0x8e88, 0x01ff1f3f, 0x00000000,
525 0x8e88, 0x01ff1f3f, 0x00000000,
526 0x8e88, 0x01ff1f3f, 0x00000000,
527 0x8e84, 0x01ff1f3f, 0x00000000,
528 0x8e84, 0x01ff1f3f, 0x00000000,
529 0x8e84, 0x01ff1f3f, 0x00000000,
530 0x9060, 0x0000007f, 0x00000020,
531 0x9508, 0x00010000, 0x00010000,
532 0xac14, 0x000003ff, 0x00000003,
533 0xac14, 0x000003ff, 0x00000003,
534 0xac14, 0x000003ff, 0x00000003,
535 0xac10, 0xffffffff, 0x00000000,
536 0xac10, 0xffffffff, 0x00000000,
537 0xac10, 0xffffffff, 0x00000000,
538 0xac0c, 0xffffffff, 0x00001032,
539 0xac0c, 0xffffffff, 0x00001032,
540 0xac0c, 0xffffffff, 0x00001032,
541 0x88d4, 0x0000001f, 0x00000010,
542 0x88d4, 0x0000001f, 0x00000010,
543 0x88d4, 0x0000001f, 0x00000010,
544 0x15c0, 0x000c0fc0, 0x000c0400
549 0xc424, 0xffffffff, 0x00601005,
550 0xc47c, 0xffffffff, 0x10104040,
551 0xc488, 0xffffffff, 0x0100000a,
552 0xc314, 0xffffffff, 0x00000800,
553 0xc30c, 0xffffffff, 0x800000f4
558 0x9a10, 0x00010000, 0x00018208,
559 0x9830, 0xffffffff, 0x00000000,
560 0x9834, 0xf00fffff, 0x00000400,
561 0x9838, 0x0002021c, 0x00020200,
562 0xc78, 0x00000080, 0x00000000,
563 0xd030, 0x000300c0, 0x00800040,
564 0xd830, 0x000300c0, 0x00800040,
565 0x5bb0, 0x000000f0, 0x00000070,
566 0x5bc0, 0x00200000, 0x50100000,
567 0x7030, 0x31000311, 0x00000011,
568 0x2ae4, 0x00073ffe, 0x000022a2,
569 0x240c, 0x000007ff, 0x00000000,
570 0x8a14, 0xf000001f, 0x00000007,
571 0x8b24, 0xffffffff, 0x00ffffff,
572 0x8b10, 0x0000ff0f, 0x00000000,
573 0x28a4c, 0x07ffffff, 0x4e000000,
574 0x28350, 0x3f3f3fff, 0x00000082,
575 0x30, 0x000000ff, 0x0040,
576 0x34, 0x00000040, 0x00004040,
577 0x9100, 0x07ffffff, 0x03000000,
578 0x9060, 0x0000007f, 0x00000020,
579 0x9508, 0x00010000, 0x00010000,
580 0xac14, 0x000003ff, 0x000000f3,
581 0xac10, 0xffffffff, 0x00000000,
582 0xac0c, 0xffffffff, 0x00003210,
583 0x88d4, 0x0000001f, 0x00000010,
584 0x15c0, 0x000c0fc0, 0x000c0400
589 0x9a10, 0x00010000, 0x00018208,
590 0x9830, 0xffffffff, 0x00000000,
591 0x9834, 0xf00fffff, 0x00000400,
592 0x9838, 0x0002021c, 0x00020200,
593 0xd0c0, 0xff000fff, 0x00000100,
594 0xd030, 0x000300c0, 0x00800040,
595 0xd8c0, 0xff000fff, 0x00000100,
596 0xd830, 0x000300c0, 0x00800040,
597 0x2ae4, 0x00073ffe, 0x000022a2,
598 0x240c, 0x000007ff, 0x00000000,
599 0x8a14, 0xf000001f, 0x00000007,
600 0x8b24, 0xffffffff, 0x00ffffff,
601 0x8b10, 0x0000ff0f, 0x00000000,
602 0x28a4c, 0x07ffffff, 0x4e000000,
603 0x28350, 0x3f3f3fff, 0x00000000,
604 0x30, 0x000000ff, 0x0040,
605 0x34, 0x00000040, 0x00004040,
606 0x9100, 0x03e00000, 0x03600000,
607 0x9060, 0x0000007f, 0x00000020,
608 0x9508, 0x00010000, 0x00010000,
609 0xac14, 0x000003ff, 0x000000f1,
610 0xac10, 0xffffffff, 0x00000000,
611 0xac0c, 0xffffffff, 0x00003210,
612 0x88d4, 0x0000001f, 0x00000010,
613 0x15c0, 0x000c0fc0, 0x000c0400
618 0x98f8, 0xffffffff, 0x02010001
623 0xc400, 0xffffffff, 0xfffffffc,
624 0x802c, 0xffffffff, 0xe0000000,
625 0x9a60, 0xffffffff, 0x00000100,
626 0x92a4, 0xffffffff, 0x00000100,
627 0xc164, 0xffffffff, 0x00000100,
628 0x9774, 0xffffffff, 0x00000100,
629 0x8984, 0xffffffff, 0x06000100,
630 0x8a18, 0xffffffff, 0x00000100,
631 0x92a0, 0xffffffff, 0x00000100,
632 0xc380, 0xffffffff, 0x00000100,
633 0x8b28, 0xffffffff, 0x00000100,
634 0x9144, 0xffffffff, 0x00000100,
635 0x8d88, 0xffffffff, 0x00000100,
636 0x8d8c, 0xffffffff, 0x00000100,
637 0x9030, 0xffffffff, 0x00000100,
638 0x9034, 0xffffffff, 0x00000100,
639 0x9038, 0xffffffff, 0x00000100,
640 0x903c, 0xffffffff, 0x00000100,
641 0xad80, 0xffffffff, 0x00000100,
642 0xac54, 0xffffffff, 0x00000100,
643 0x897c, 0xffffffff, 0x06000100,
644 0x9868, 0xffffffff, 0x00000100,
645 0x9510, 0xffffffff, 0x00000100,
646 0xaf04, 0xffffffff, 0x00000100,
647 0xae04, 0xffffffff, 0x00000100,
648 0x949c, 0xffffffff, 0x00000100,
649 0x802c, 0xffffffff, 0xe0000000,
650 0x9160, 0xffffffff, 0x00010000,
651 0x9164, 0xffffffff, 0x00030002,
652 0x9168, 0xffffffff, 0x00040007,
653 0x916c, 0xffffffff, 0x00060005,
654 0x9170, 0xffffffff, 0x00090008,
655 0x9174, 0xffffffff, 0x00020001,
656 0x9178, 0xffffffff, 0x00040003,
657 0x917c, 0xffffffff, 0x00000007,
658 0x9180, 0xffffffff, 0x00060005,
659 0x9184, 0xffffffff, 0x00090008,
660 0x9188, 0xffffffff, 0x00030002,
661 0x918c, 0xffffffff, 0x00050004,
662 0x9190, 0xffffffff, 0x00000008,
663 0x9194, 0xffffffff, 0x00070006,
664 0x9198, 0xffffffff, 0x000a0009,
665 0x919c, 0xffffffff, 0x00040003,
666 0x91a0, 0xffffffff, 0x00060005,
667 0x91a4, 0xffffffff, 0x00000009,
668 0x91a8, 0xffffffff, 0x00080007,
669 0x91ac, 0xffffffff, 0x000b000a,
670 0x91b0, 0xffffffff, 0x00050004,
671 0x91b4, 0xffffffff, 0x00070006,
672 0x91b8, 0xffffffff, 0x0008000b,
673 0x91bc, 0xffffffff, 0x000a0009,
674 0x91c0, 0xffffffff, 0x000d000c,
675 0x91c4, 0xffffffff, 0x00060005,
676 0x91c8, 0xffffffff, 0x00080007,
677 0x91cc, 0xffffffff, 0x0000000b,
678 0x91d0, 0xffffffff, 0x000a0009,
679 0x91d4, 0xffffffff, 0x000d000c,
680 0x91d8, 0xffffffff, 0x00070006,
681 0x91dc, 0xffffffff, 0x00090008,
682 0x91e0, 0xffffffff, 0x0000000c,
683 0x91e4, 0xffffffff, 0x000b000a,
684 0x91e8, 0xffffffff, 0x000e000d,
685 0x91ec, 0xffffffff, 0x00080007,
686 0x91f0, 0xffffffff, 0x000a0009,
687 0x91f4, 0xffffffff, 0x0000000d,
688 0x91f8, 0xffffffff, 0x000c000b,
689 0x91fc, 0xffffffff, 0x000f000e,
690 0x9200, 0xffffffff, 0x00090008,
691 0x9204, 0xffffffff, 0x000b000a,
692 0x9208, 0xffffffff, 0x000c000f,
693 0x920c, 0xffffffff, 0x000e000d,
694 0x9210, 0xffffffff, 0x00110010,
695 0x9214, 0xffffffff, 0x000a0009,
696 0x9218, 0xffffffff, 0x000c000b,
697 0x921c, 0xffffffff, 0x0000000f,
698 0x9220, 0xffffffff, 0x000e000d,
699 0x9224, 0xffffffff, 0x00110010,
700 0x9228, 0xffffffff, 0x000b000a,
701 0x922c, 0xffffffff, 0x000d000c,
702 0x9230, 0xffffffff, 0x00000010,
703 0x9234, 0xffffffff, 0x000f000e,
704 0x9238, 0xffffffff, 0x00120011,
705 0x923c, 0xffffffff, 0x000c000b,
706 0x9240, 0xffffffff, 0x000e000d,
707 0x9244, 0xffffffff, 0x00000011,
708 0x9248, 0xffffffff, 0x0010000f,
709 0x924c, 0xffffffff, 0x00130012,
710 0x9250, 0xffffffff, 0x000d000c,
711 0x9254, 0xffffffff, 0x000f000e,
712 0x9258, 0xffffffff, 0x00100013,
713 0x925c, 0xffffffff, 0x00120011,
714 0x9260, 0xffffffff, 0x00150014,
715 0x9264, 0xffffffff, 0x000e000d,
716 0x9268, 0xffffffff, 0x0010000f,
717 0x926c, 0xffffffff, 0x00000013,
718 0x9270, 0xffffffff, 0x00120011,
719 0x9274, 0xffffffff, 0x00150014,
720 0x9278, 0xffffffff, 0x000f000e,
721 0x927c, 0xffffffff, 0x00110010,
722 0x9280, 0xffffffff, 0x00000014,
723 0x9284, 0xffffffff, 0x00130012,
724 0x9288, 0xffffffff, 0x00160015,
725 0x928c, 0xffffffff, 0x0010000f,
726 0x9290, 0xffffffff, 0x00120011,
727 0x9294, 0xffffffff, 0x00000015,
728 0x9298, 0xffffffff, 0x00140013,
729 0x929c, 0xffffffff, 0x00170016,
730 0x9150, 0xffffffff, 0x96940200,
731 0x8708, 0xffffffff, 0x00900100,
732 0xc478, 0xffffffff, 0x00000080,
733 0xc404, 0xffffffff, 0x0020003f,
734 0x30, 0xffffffff, 0x0000001c,
735 0x34, 0x000f0000, 0x000f0000,
736 0x160c, 0xffffffff, 0x00000100,
737 0x1024, 0xffffffff, 0x00000100,
738 0x102c, 0x00000101, 0x00000000,
739 0x20a8, 0xffffffff, 0x00000104,
740 0x264c, 0x000c0000, 0x000c0000,
741 0x2648, 0x000c0000, 0x000c0000,
742 0x55e4, 0xff000fff, 0x00000100,
743 0x55e8, 0x00000001, 0x00000001,
744 0x2f50, 0x00000001, 0x00000001,
745 0x30cc, 0xc0000fff, 0x00000104,
746 0xc1e4, 0x00000001, 0x00000001,
747 0xd0c0, 0xfffffff0, 0x00000100,
748 0xd8c0, 0xfffffff0, 0x00000100
753 0xc400, 0xffffffff, 0xfffffffc,
754 0x802c, 0xffffffff, 0xe0000000,
755 0x9a60, 0xffffffff, 0x00000100,
756 0x92a4, 0xffffffff, 0x00000100,
757 0xc164, 0xffffffff, 0x00000100,
758 0x9774, 0xffffffff, 0x00000100,
759 0x8984, 0xffffffff, 0x06000100,
760 0x8a18, 0xffffffff, 0x00000100,
761 0x92a0, 0xffffffff, 0x00000100,
762 0xc380, 0xffffffff, 0x00000100,
763 0x8b28, 0xffffffff, 0x00000100,
764 0x9144, 0xffffffff, 0x00000100,
765 0x8d88, 0xffffffff, 0x00000100,
766 0x8d8c, 0xffffffff, 0x00000100,
767 0x9030, 0xffffffff, 0x00000100,
768 0x9034, 0xffffffff, 0x00000100,
769 0x9038, 0xffffffff, 0x00000100,
770 0x903c, 0xffffffff, 0x00000100,
771 0xad80, 0xffffffff, 0x00000100,
772 0xac54, 0xffffffff, 0x00000100,
773 0x897c, 0xffffffff, 0x06000100,
774 0x9868, 0xffffffff, 0x00000100,
775 0x9510, 0xffffffff, 0x00000100,
776 0xaf04, 0xffffffff, 0x00000100,
777 0xae04, 0xffffffff, 0x00000100,
778 0x949c, 0xffffffff, 0x00000100,
779 0x802c, 0xffffffff, 0xe0000000,
780 0x9160, 0xffffffff, 0x00010000,
781 0x9164, 0xffffffff, 0x00030002,
782 0x9168, 0xffffffff, 0x00040007,
783 0x916c, 0xffffffff, 0x00060005,
784 0x9170, 0xffffffff, 0x00090008,
785 0x9174, 0xffffffff, 0x00020001,
786 0x9178, 0xffffffff, 0x00040003,
787 0x917c, 0xffffffff, 0x00000007,
788 0x9180, 0xffffffff, 0x00060005,
789 0x9184, 0xffffffff, 0x00090008,
790 0x9188, 0xffffffff, 0x00030002,
791 0x918c, 0xffffffff, 0x00050004,
792 0x9190, 0xffffffff, 0x00000008,
793 0x9194, 0xffffffff, 0x00070006,
794 0x9198, 0xffffffff, 0x000a0009,
795 0x919c, 0xffffffff, 0x00040003,
796 0x91a0, 0xffffffff, 0x00060005,
797 0x91a4, 0xffffffff, 0x00000009,
798 0x91a8, 0xffffffff, 0x00080007,
799 0x91ac, 0xffffffff, 0x000b000a,
800 0x91b0, 0xffffffff, 0x00050004,
801 0x91b4, 0xffffffff, 0x00070006,
802 0x91b8, 0xffffffff, 0x0008000b,
803 0x91bc, 0xffffffff, 0x000a0009,
804 0x91c0, 0xffffffff, 0x000d000c,
805 0x9200, 0xffffffff, 0x00090008,
806 0x9204, 0xffffffff, 0x000b000a,
807 0x9208, 0xffffffff, 0x000c000f,
808 0x920c, 0xffffffff, 0x000e000d,
809 0x9210, 0xffffffff, 0x00110010,
810 0x9214, 0xffffffff, 0x000a0009,
811 0x9218, 0xffffffff, 0x000c000b,
812 0x921c, 0xffffffff, 0x0000000f,
813 0x9220, 0xffffffff, 0x000e000d,
814 0x9224, 0xffffffff, 0x00110010,
815 0x9228, 0xffffffff, 0x000b000a,
816 0x922c, 0xffffffff, 0x000d000c,
817 0x9230, 0xffffffff, 0x00000010,
818 0x9234, 0xffffffff, 0x000f000e,
819 0x9238, 0xffffffff, 0x00120011,
820 0x923c, 0xffffffff, 0x000c000b,
821 0x9240, 0xffffffff, 0x000e000d,
822 0x9244, 0xffffffff, 0x00000011,
823 0x9248, 0xffffffff, 0x0010000f,
824 0x924c, 0xffffffff, 0x00130012,
825 0x9250, 0xffffffff, 0x000d000c,
826 0x9254, 0xffffffff, 0x000f000e,
827 0x9258, 0xffffffff, 0x00100013,
828 0x925c, 0xffffffff, 0x00120011,
829 0x9260, 0xffffffff, 0x00150014,
830 0x9150, 0xffffffff, 0x96940200,
831 0x8708, 0xffffffff, 0x00900100,
832 0xc478, 0xffffffff, 0x00000080,
833 0xc404, 0xffffffff, 0x0020003f,
834 0x30, 0xffffffff, 0x0000001c,
835 0x34, 0x000f0000, 0x000f0000,
836 0x160c, 0xffffffff, 0x00000100,
837 0x1024, 0xffffffff, 0x00000100,
838 0x102c, 0x00000101, 0x00000000,
839 0x20a8, 0xffffffff, 0x00000104,
840 0x55e4, 0xff000fff, 0x00000100,
841 0x55e8, 0x00000001, 0x00000001,
842 0x2f50, 0x00000001, 0x00000001,
843 0x30cc, 0xc0000fff, 0x00000104,
844 0xc1e4, 0x00000001, 0x00000001,
845 0xd0c0, 0xfffffff0, 0x00000100,
846 0xd8c0, 0xfffffff0, 0x00000100
851 0xc400, 0xffffffff, 0xfffffffc,
852 0x802c, 0xffffffff, 0xe0000000,
853 0x9a60, 0xffffffff, 0x00000100,
854 0x92a4, 0xffffffff, 0x00000100,
855 0xc164, 0xffffffff, 0x00000100,
856 0x9774, 0xffffffff, 0x00000100,
857 0x8984, 0xffffffff, 0x06000100,
858 0x8a18, 0xffffffff, 0x00000100,
859 0x92a0, 0xffffffff, 0x00000100,
860 0xc380, 0xffffffff, 0x00000100,
861 0x8b28, 0xffffffff, 0x00000100,
862 0x9144, 0xffffffff, 0x00000100,
863 0x8d88, 0xffffffff, 0x00000100,
864 0x8d8c, 0xffffffff, 0x00000100,
865 0x9030, 0xffffffff, 0x00000100,
866 0x9034, 0xffffffff, 0x00000100,
867 0x9038, 0xffffffff, 0x00000100,
868 0x903c, 0xffffffff, 0x00000100,
869 0xad80, 0xffffffff, 0x00000100,
870 0xac54, 0xffffffff, 0x00000100,
871 0x897c, 0xffffffff, 0x06000100,
872 0x9868, 0xffffffff, 0x00000100,
873 0x9510, 0xffffffff, 0x00000100,
874 0xaf04, 0xffffffff, 0x00000100,
875 0xae04, 0xffffffff, 0x00000100,
876 0x949c, 0xffffffff, 0x00000100,
877 0x802c, 0xffffffff, 0xe0000000,
878 0x9160, 0xffffffff, 0x00010000,
879 0x9164, 0xffffffff, 0x00030002,
880 0x9168, 0xffffffff, 0x00040007,
881 0x916c, 0xffffffff, 0x00060005,
882 0x9170, 0xffffffff, 0x00090008,
883 0x9174, 0xffffffff, 0x00020001,
884 0x9178, 0xffffffff, 0x00040003,
885 0x917c, 0xffffffff, 0x00000007,
886 0x9180, 0xffffffff, 0x00060005,
887 0x9184, 0xffffffff, 0x00090008,
888 0x9188, 0xffffffff, 0x00030002,
889 0x918c, 0xffffffff, 0x00050004,
890 0x9190, 0xffffffff, 0x00000008,
891 0x9194, 0xffffffff, 0x00070006,
892 0x9198, 0xffffffff, 0x000a0009,
893 0x919c, 0xffffffff, 0x00040003,
894 0x91a0, 0xffffffff, 0x00060005,
895 0x91a4, 0xffffffff, 0x00000009,
896 0x91a8, 0xffffffff, 0x00080007,
897 0x91ac, 0xffffffff, 0x000b000a,
898 0x91b0, 0xffffffff, 0x00050004,
899 0x91b4, 0xffffffff, 0x00070006,
900 0x91b8, 0xffffffff, 0x0008000b,
901 0x91bc, 0xffffffff, 0x000a0009,
902 0x91c0, 0xffffffff, 0x000d000c,
903 0x9200, 0xffffffff, 0x00090008,
904 0x9204, 0xffffffff, 0x000b000a,
905 0x9208, 0xffffffff, 0x000c000f,
906 0x920c, 0xffffffff, 0x000e000d,
907 0x9210, 0xffffffff, 0x00110010,
908 0x9214, 0xffffffff, 0x000a0009,
909 0x9218, 0xffffffff, 0x000c000b,
910 0x921c, 0xffffffff, 0x0000000f,
911 0x9220, 0xffffffff, 0x000e000d,
912 0x9224, 0xffffffff, 0x00110010,
913 0x9228, 0xffffffff, 0x000b000a,
914 0x922c, 0xffffffff, 0x000d000c,
915 0x9230, 0xffffffff, 0x00000010,
916 0x9234, 0xffffffff, 0x000f000e,
917 0x9238, 0xffffffff, 0x00120011,
918 0x923c, 0xffffffff, 0x000c000b,
919 0x9240, 0xffffffff, 0x000e000d,
920 0x9244, 0xffffffff, 0x00000011,
921 0x9248, 0xffffffff, 0x0010000f,
922 0x924c, 0xffffffff, 0x00130012,
923 0x9250, 0xffffffff, 0x000d000c,
924 0x9254, 0xffffffff, 0x000f000e,
925 0x9258, 0xffffffff, 0x00100013,
926 0x925c, 0xffffffff, 0x00120011,
927 0x9260, 0xffffffff, 0x00150014,
928 0x9150, 0xffffffff, 0x96940200,
929 0x8708, 0xffffffff, 0x00900100,
930 0xc478, 0xffffffff, 0x00000080,
931 0xc404, 0xffffffff, 0x0020003f,
932 0x30, 0xffffffff, 0x0000001c,
933 0x34, 0x000f0000, 0x000f0000,
934 0x160c, 0xffffffff, 0x00000100,
935 0x1024, 0xffffffff, 0x00000100,
936 0x102c, 0x00000101, 0x00000000,
937 0x20a8, 0xffffffff, 0x00000104,
938 0x264c, 0x000c0000, 0x000c0000,
939 0x2648, 0x000c0000, 0x000c0000,
940 0x55e4, 0xff000fff, 0x00000100,
941 0x55e8, 0x00000001, 0x00000001,
942 0x2f50, 0x00000001, 0x00000001,
943 0x30cc, 0xc0000fff, 0x00000104,
944 0xc1e4, 0x00000001, 0x00000001,
945 0xd0c0, 0xfffffff0, 0x00000100,
946 0xd8c0, 0xfffffff0, 0x00000100
951 0xc400, 0xffffffff, 0xfffffffc,
952 0x802c, 0xffffffff, 0xe0000000,
953 0x9a60, 0xffffffff, 0x00000100,
954 0x92a4, 0xffffffff, 0x00000100,
955 0xc164, 0xffffffff, 0x00000100,
956 0x9774, 0xffffffff, 0x00000100,
957 0x8984, 0xffffffff, 0x06000100,
958 0x8a18, 0xffffffff, 0x00000100,
959 0x92a0, 0xffffffff, 0x00000100,
960 0xc380, 0xffffffff, 0x00000100,
961 0x8b28, 0xffffffff, 0x00000100,
962 0x9144, 0xffffffff, 0x00000100,
963 0x8d88, 0xffffffff, 0x00000100,
964 0x8d8c, 0xffffffff, 0x00000100,
965 0x9030, 0xffffffff, 0x00000100,
966 0x9034, 0xffffffff, 0x00000100,
967 0x9038, 0xffffffff, 0x00000100,
968 0x903c, 0xffffffff, 0x00000100,
969 0xad80, 0xffffffff, 0x00000100,
970 0xac54, 0xffffffff, 0x00000100,
971 0x897c, 0xffffffff, 0x06000100,
972 0x9868, 0xffffffff, 0x00000100,
973 0x9510, 0xffffffff, 0x00000100,
974 0xaf04, 0xffffffff, 0x00000100,
975 0xae04, 0xffffffff, 0x00000100,
976 0x949c, 0xffffffff, 0x00000100,
977 0x802c, 0xffffffff, 0xe0000000,
978 0x9160, 0xffffffff, 0x00010000,
979 0x9164, 0xffffffff, 0x00030002,
980 0x9168, 0xffffffff, 0x00040007,
981 0x916c, 0xffffffff, 0x00060005,
982 0x9170, 0xffffffff, 0x00090008,
983 0x9174, 0xffffffff, 0x00020001,
984 0x9178, 0xffffffff, 0x00040003,
985 0x917c, 0xffffffff, 0x00000007,
986 0x9180, 0xffffffff, 0x00060005,
987 0x9184, 0xffffffff, 0x00090008,
988 0x9188, 0xffffffff, 0x00030002,
989 0x918c, 0xffffffff, 0x00050004,
990 0x9190, 0xffffffff, 0x00000008,
991 0x9194, 0xffffffff, 0x00070006,
992 0x9198, 0xffffffff, 0x000a0009,
993 0x919c, 0xffffffff, 0x00040003,
994 0x91a0, 0xffffffff, 0x00060005,
995 0x91a4, 0xffffffff, 0x00000009,
996 0x91a8, 0xffffffff, 0x00080007,
997 0x91ac, 0xffffffff, 0x000b000a,
998 0x91b0, 0xffffffff, 0x00050004,
999 0x91b4, 0xffffffff, 0x00070006,
1000 0x91b8, 0xffffffff, 0x0008000b,
1001 0x91bc, 0xffffffff, 0x000a0009,
1002 0x91c0, 0xffffffff, 0x000d000c,
1003 0x91c4, 0xffffffff, 0x00060005,
1004 0x91c8, 0xffffffff, 0x00080007,
1005 0x91cc, 0xffffffff, 0x0000000b,
1006 0x91d0, 0xffffffff, 0x000a0009,
1007 0x91d4, 0xffffffff, 0x000d000c,
1008 0x9150, 0xffffffff, 0x96940200,
1009 0x8708, 0xffffffff, 0x00900100,
1010 0xc478, 0xffffffff, 0x00000080,
1011 0xc404, 0xffffffff, 0x0020003f,
1012 0x30, 0xffffffff, 0x0000001c,
1013 0x34, 0x000f0000, 0x000f0000,
1014 0x160c, 0xffffffff, 0x00000100,
1015 0x1024, 0xffffffff, 0x00000100,
1016 0x102c, 0x00000101, 0x00000000,
1017 0x20a8, 0xffffffff, 0x00000104,
1018 0x264c, 0x000c0000, 0x000c0000,
1019 0x2648, 0x000c0000, 0x000c0000,
1020 0x55e4, 0xff000fff, 0x00000100,
1021 0x55e8, 0x00000001, 0x00000001,
1022 0x2f50, 0x00000001, 0x00000001,
1023 0x30cc, 0xc0000fff, 0x00000104,
1024 0xc1e4, 0x00000001, 0x00000001,
1025 0xd0c0, 0xfffffff0, 0x00000100,
1026 0xd8c0, 0xfffffff0, 0x00000100
1031 0xc400, 0xffffffff, 0xfffffffc,
1032 0x802c, 0xffffffff, 0xe0000000,
1033 0x9a60, 0xffffffff, 0x00000100,
1034 0x92a4, 0xffffffff, 0x00000100,
1035 0xc164, 0xffffffff, 0x00000100,
1036 0x9774, 0xffffffff, 0x00000100,
1037 0x8984, 0xffffffff, 0x06000100,
1038 0x8a18, 0xffffffff, 0x00000100,
1039 0x92a0, 0xffffffff, 0x00000100,
1040 0xc380, 0xffffffff, 0x00000100,
1041 0x8b28, 0xffffffff, 0x00000100,
1042 0x9144, 0xffffffff, 0x00000100,
1043 0x8d88, 0xffffffff, 0x00000100,
1044 0x8d8c, 0xffffffff, 0x00000100,
1045 0x9030, 0xffffffff, 0x00000100,
1046 0x9034, 0xffffffff, 0x00000100,
1047 0x9038, 0xffffffff, 0x00000100,
1048 0x903c, 0xffffffff, 0x00000100,
1049 0xad80, 0xffffffff, 0x00000100,
1050 0xac54, 0xffffffff, 0x00000100,
1051 0x897c, 0xffffffff, 0x06000100,
1052 0x9868, 0xffffffff, 0x00000100,
1053 0x9510, 0xffffffff, 0x00000100,
1054 0xaf04, 0xffffffff, 0x00000100,
1055 0xae04, 0xffffffff, 0x00000100,
1056 0x949c, 0xffffffff, 0x00000100,
1057 0x802c, 0xffffffff, 0xe0000000,
1058 0x9160, 0xffffffff, 0x00010000,
1059 0x9164, 0xffffffff, 0x00030002,
1060 0x9168, 0xffffffff, 0x00040007,
1061 0x916c, 0xffffffff, 0x00060005,
1062 0x9170, 0xffffffff, 0x00090008,
1063 0x9174, 0xffffffff, 0x00020001,
1064 0x9178, 0xffffffff, 0x00040003,
1065 0x917c, 0xffffffff, 0x00000007,
1066 0x9180, 0xffffffff, 0x00060005,
1067 0x9184, 0xffffffff, 0x00090008,
1068 0x9188, 0xffffffff, 0x00030002,
1069 0x918c, 0xffffffff, 0x00050004,
1070 0x9190, 0xffffffff, 0x00000008,
1071 0x9194, 0xffffffff, 0x00070006,
1072 0x9198, 0xffffffff, 0x000a0009,
1073 0x919c, 0xffffffff, 0x00040003,
1074 0x91a0, 0xffffffff, 0x00060005,
1075 0x91a4, 0xffffffff, 0x00000009,
1076 0x91a8, 0xffffffff, 0x00080007,
1077 0x91ac, 0xffffffff, 0x000b000a,
1078 0x91b0, 0xffffffff, 0x00050004,
1079 0x91b4, 0xffffffff, 0x00070006,
1080 0x91b8, 0xffffffff, 0x0008000b,
1081 0x91bc, 0xffffffff, 0x000a0009,
1082 0x91c0, 0xffffffff, 0x000d000c,
1083 0x91c4, 0xffffffff, 0x00060005,
1084 0x91c8, 0xffffffff, 0x00080007,
1085 0x91cc, 0xffffffff, 0x0000000b,
1086 0x91d0, 0xffffffff, 0x000a0009,
1087 0x91d4, 0xffffffff, 0x000d000c,
1088 0x9150, 0xffffffff, 0x96940200,
1089 0x8708, 0xffffffff, 0x00900100,
1090 0xc478, 0xffffffff, 0x00000080,
1091 0xc404, 0xffffffff, 0x0020003f,
1092 0x30, 0xffffffff, 0x0000001c,
1093 0x34, 0x000f0000, 0x000f0000,
1094 0x160c, 0xffffffff, 0x00000100,
1095 0x1024, 0xffffffff, 0x00000100,
1096 0x20a8, 0xffffffff, 0x00000104,
1097 0x264c, 0x000c0000, 0x000c0000,
1098 0x2648, 0x000c0000, 0x000c0000,
1099 0x2f50, 0x00000001, 0x00000001,
1100 0x30cc, 0xc0000fff, 0x00000104,
1101 0xc1e4, 0x00000001, 0x00000001,
1102 0xd0c0, 0xfffffff0, 0x00000100,
1103 0xd8c0, 0xfffffff0, 0x00000100
1108 0x353c, 0xffffffff, 0x40000,
1109 0x3538, 0xffffffff, 0x200010ff,
1110 0x353c, 0xffffffff, 0x0,
1111 0x353c, 0xffffffff, 0x0,
1112 0x353c, 0xffffffff, 0x0,
1113 0x353c, 0xffffffff, 0x0,
1114 0x353c, 0xffffffff, 0x0,
1115 0x353c, 0xffffffff, 0x7007,
1116 0x3538, 0xffffffff, 0x300010ff,
1117 0x353c, 0xffffffff, 0x0,
1118 0x353c, 0xffffffff, 0x0,
1119 0x353c, 0xffffffff, 0x0,
1120 0x353c, 0xffffffff, 0x0,
1121 0x353c, 0xffffffff, 0x0,
1122 0x353c, 0xffffffff, 0x400000,
1123 0x3538, 0xffffffff, 0x100010ff,
1124 0x353c, 0xffffffff, 0x0,
1125 0x353c, 0xffffffff, 0x0,
1126 0x353c, 0xffffffff, 0x0,
1127 0x353c, 0xffffffff, 0x0,
1128 0x353c, 0xffffffff, 0x0,
1129 0x353c, 0xffffffff, 0x120200,
1130 0x3538, 0xffffffff, 0x500010ff,
1131 0x353c, 0xffffffff, 0x0,
1132 0x353c, 0xffffffff, 0x0,
1133 0x353c, 0xffffffff, 0x0,
1134 0x353c, 0xffffffff, 0x0,
1135 0x353c, 0xffffffff, 0x0,
1136 0x353c, 0xffffffff, 0x1e1e16,
1137 0x3538, 0xffffffff, 0x600010ff,
1138 0x353c, 0xffffffff, 0x0,
1139 0x353c, 0xffffffff, 0x0,
1140 0x353c, 0xffffffff, 0x0,
1141 0x353c, 0xffffffff, 0x0,
1142 0x353c, 0xffffffff, 0x0,
1143 0x353c, 0xffffffff, 0x171f1e,
1144 0x3538, 0xffffffff, 0x700010ff,
1145 0x353c, 0xffffffff, 0x0,
1146 0x353c, 0xffffffff, 0x0,
1147 0x353c, 0xffffffff, 0x0,
1148 0x353c, 0xffffffff, 0x0,
1149 0x353c, 0xffffffff, 0x0,
1150 0x353c, 0xffffffff, 0x0,
1151 0x3538, 0xffffffff, 0x9ff,
1152 0x3500, 0xffffffff, 0x0,
1153 0x3504, 0xffffffff, 0x10000800,
1154 0x3504, 0xffffffff, 0xf,
1155 0x3504, 0xffffffff, 0xf,
1156 0x3500, 0xffffffff, 0x4,
1157 0x3504, 0xffffffff, 0x1000051e,
1158 0x3504, 0xffffffff, 0xffff,
1159 0x3504, 0xffffffff, 0xffff,
1160 0x3500, 0xffffffff, 0x8,
1161 0x3504, 0xffffffff, 0x80500,
1162 0x3500, 0xffffffff, 0x12,
1163 0x3504, 0xffffffff, 0x9050c,
1164 0x3500, 0xffffffff, 0x1d,
1165 0x3504, 0xffffffff, 0xb052c,
1166 0x3500, 0xffffffff, 0x2a,
1167 0x3504, 0xffffffff, 0x1053e,
1168 0x3500, 0xffffffff, 0x2d,
1169 0x3504, 0xffffffff, 0x10546,
1170 0x3500, 0xffffffff, 0x30,
1171 0x3504, 0xffffffff, 0xa054e,
1172 0x3500, 0xffffffff, 0x3c,
1173 0x3504, 0xffffffff, 0x1055f,
1174 0x3500, 0xffffffff, 0x3f,
1175 0x3504, 0xffffffff, 0x10567,
1176 0x3500, 0xffffffff, 0x42,
1177 0x3504, 0xffffffff, 0x1056f,
1178 0x3500, 0xffffffff, 0x45,
1179 0x3504, 0xffffffff, 0x10572,
1180 0x3500, 0xffffffff, 0x48,
1181 0x3504, 0xffffffff, 0x20575,
1182 0x3500, 0xffffffff, 0x4c,
1183 0x3504, 0xffffffff, 0x190801,
1184 0x3500, 0xffffffff, 0x67,
1185 0x3504, 0xffffffff, 0x1082a,
1186 0x3500, 0xffffffff, 0x6a,
1187 0x3504, 0xffffffff, 0x1b082d,
1188 0x3500, 0xffffffff, 0x87,
1189 0x3504, 0xffffffff, 0x310851,
1190 0x3500, 0xffffffff, 0xba,
1191 0x3504, 0xffffffff, 0x891,
1192 0x3500, 0xffffffff, 0xbc,
1193 0x3504, 0xffffffff, 0x893,
1194 0x3500, 0xffffffff, 0xbe,
1195 0x3504, 0xffffffff, 0x20895,
1196 0x3500, 0xffffffff, 0xc2,
1197 0x3504, 0xffffffff, 0x20899,
1198 0x3500, 0xffffffff, 0xc6,
1199 0x3504, 0xffffffff, 0x2089d,
1200 0x3500, 0xffffffff, 0xca,
1201 0x3504, 0xffffffff, 0x8a1,
1202 0x3500, 0xffffffff, 0xcc,
1203 0x3504, 0xffffffff, 0x8a3,
1204 0x3500, 0xffffffff, 0xce,
1205 0x3504, 0xffffffff, 0x308a5,
1206 0x3500, 0xffffffff, 0xd3,
1207 0x3504, 0xffffffff, 0x6d08cd,
1208 0x3500, 0xffffffff, 0x142,
1209 0x3504, 0xffffffff, 0x2000095a,
1210 0x3504, 0xffffffff, 0x1,
1211 0x3500, 0xffffffff, 0x144,
1212 0x3504, 0xffffffff, 0x301f095b,
1213 0x3500, 0xffffffff, 0x165,
1214 0x3504, 0xffffffff, 0xc094d,
1215 0x3500, 0xffffffff, 0x173,
1216 0x3504, 0xffffffff, 0xf096d,
1217 0x3500, 0xffffffff, 0x184,
1218 0x3504, 0xffffffff, 0x15097f,
1219 0x3500, 0xffffffff, 0x19b,
1220 0x3504, 0xffffffff, 0xc0998,
1221 0x3500, 0xffffffff, 0x1a9,
1222 0x3504, 0xffffffff, 0x409a7,
1223 0x3500, 0xffffffff, 0x1af,
1224 0x3504, 0xffffffff, 0xcdc,
1225 0x3500, 0xffffffff, 0x1b1,
1226 0x3504, 0xffffffff, 0x800,
1227 0x3508, 0xffffffff, 0x6c9b2000,
1228 0x3510, 0xfc00, 0x2000,
1229 0x3544, 0xffffffff, 0xfc0,
1230 0x28d4, 0x00000100, 0x100
1309 * Returns 0 for success or -EINVAL for an invalid register
1326 return 0; in si_get_allowed_info_register()
1363 int actual_temp = 0; in si_get_temp()
1368 if (temp & 0x200) in si_get_temp()
1371 actual_temp = temp & 0x1ff; in si_get_temp()
1381 {0x0000006f, 0x03044000},
1382 {0x00000070, 0x0480c018},
1383 {0x00000071, 0x00000040},
1384 {0x00000072, 0x01000000},
1385 {0x00000074, 0x000000ff},
1386 {0x00000075, 0x00143400},
1387 {0x00000076, 0x08ec0800},
1388 {0x00000077, 0x040000cc},
1389 {0x00000079, 0x00000000},
1390 {0x0000007a, 0x21000409},
1391 {0x0000007c, 0x00000000},
1392 {0x0000007d, 0xe8000000},
1393 {0x0000007e, 0x044408a8},
1394 {0x0000007f, 0x00000003},
1395 {0x00000080, 0x00000000},
1396 {0x00000081, 0x01000000},
1397 {0x00000082, 0x02000000},
1398 {0x00000083, 0x00000000},
1399 {0x00000084, 0xe3f3e4f4},
1400 {0x00000085, 0x00052024},
1401 {0x00000087, 0x00000000},
1402 {0x00000088, 0x66036603},
1403 {0x00000089, 0x01000000},
1404 {0x0000008b, 0x1c0a0000},
1405 {0x0000008c, 0xff010000},
1406 {0x0000008e, 0xffffefff},
1407 {0x0000008f, 0xfff3efff},
1408 {0x00000090, 0xfff3efbf},
1409 {0x00000094, 0x00101101},
1410 {0x00000095, 0x00000fff},
1411 {0x00000096, 0x00116fff},
1412 {0x00000097, 0x60010000},
1413 {0x00000098, 0x10010000},
1414 {0x00000099, 0x00006000},
1415 {0x0000009a, 0x00001000},
1416 {0x0000009f, 0x00a77400}
1420 {0x0000006f, 0x03044000},
1421 {0x00000070, 0x0480c018},
1422 {0x00000071, 0x00000040},
1423 {0x00000072, 0x01000000},
1424 {0x00000074, 0x000000ff},
1425 {0x00000075, 0x00143400},
1426 {0x00000076, 0x08ec0800},
1427 {0x00000077, 0x040000cc},
1428 {0x00000079, 0x00000000},
1429 {0x0000007a, 0x21000409},
1430 {0x0000007c, 0x00000000},
1431 {0x0000007d, 0xe8000000},
1432 {0x0000007e, 0x044408a8},
1433 {0x0000007f, 0x00000003},
1434 {0x00000080, 0x00000000},
1435 {0x00000081, 0x01000000},
1436 {0x00000082, 0x02000000},
1437 {0x00000083, 0x00000000},
1438 {0x00000084, 0xe3f3e4f4},
1439 {0x00000085, 0x00052024},
1440 {0x00000087, 0x00000000},
1441 {0x00000088, 0x66036603},
1442 {0x00000089, 0x01000000},
1443 {0x0000008b, 0x1c0a0000},
1444 {0x0000008c, 0xff010000},
1445 {0x0000008e, 0xffffefff},
1446 {0x0000008f, 0xfff3efff},
1447 {0x00000090, 0xfff3efbf},
1448 {0x00000094, 0x00101101},
1449 {0x00000095, 0x00000fff},
1450 {0x00000096, 0x00116fff},
1451 {0x00000097, 0x60010000},
1452 {0x00000098, 0x10010000},
1453 {0x00000099, 0x00006000},
1454 {0x0000009a, 0x00001000},
1455 {0x0000009f, 0x00a47400}
1459 {0x0000006f, 0x03044000},
1460 {0x00000070, 0x0480c018},
1461 {0x00000071, 0x00000040},
1462 {0x00000072, 0x01000000},
1463 {0x00000074, 0x000000ff},
1464 {0x00000075, 0x00143400},
1465 {0x00000076, 0x08ec0800},
1466 {0x00000077, 0x040000cc},
1467 {0x00000079, 0x00000000},
1468 {0x0000007a, 0x21000409},
1469 {0x0000007c, 0x00000000},
1470 {0x0000007d, 0xe8000000},
1471 {0x0000007e, 0x044408a8},
1472 {0x0000007f, 0x00000003},
1473 {0x00000080, 0x00000000},
1474 {0x00000081, 0x01000000},
1475 {0x00000082, 0x02000000},
1476 {0x00000083, 0x00000000},
1477 {0x00000084, 0xe3f3e4f4},
1478 {0x00000085, 0x00052024},
1479 {0x00000087, 0x00000000},
1480 {0x00000088, 0x66036603},
1481 {0x00000089, 0x01000000},
1482 {0x0000008b, 0x1c0a0000},
1483 {0x0000008c, 0xff010000},
1484 {0x0000008e, 0xffffefff},
1485 {0x0000008f, 0xfff3efff},
1486 {0x00000090, 0xfff3efbf},
1487 {0x00000094, 0x00101101},
1488 {0x00000095, 0x00000fff},
1489 {0x00000096, 0x00116fff},
1490 {0x00000097, 0x60010000},
1491 {0x00000098, 0x10010000},
1492 {0x00000099, 0x00006000},
1493 {0x0000009a, 0x00001000},
1494 {0x0000009f, 0x00a37400}
1498 {0x0000006f, 0x03044000},
1499 {0x00000070, 0x0480c018},
1500 {0x00000071, 0x00000040},
1501 {0x00000072, 0x01000000},
1502 {0x00000074, 0x000000ff},
1503 {0x00000075, 0x00143400},
1504 {0x00000076, 0x08ec0800},
1505 {0x00000077, 0x040000cc},
1506 {0x00000079, 0x00000000},
1507 {0x0000007a, 0x21000409},
1508 {0x0000007c, 0x00000000},
1509 {0x0000007d, 0xe8000000},
1510 {0x0000007e, 0x044408a8},
1511 {0x0000007f, 0x00000003},
1512 {0x00000080, 0x00000000},
1513 {0x00000081, 0x01000000},
1514 {0x00000082, 0x02000000},
1515 {0x00000083, 0x00000000},
1516 {0x00000084, 0xe3f3e4f4},
1517 {0x00000085, 0x00052024},
1518 {0x00000087, 0x00000000},
1519 {0x00000088, 0x66036603},
1520 {0x00000089, 0x01000000},
1521 {0x0000008b, 0x1c0a0000},
1522 {0x0000008c, 0xff010000},
1523 {0x0000008e, 0xffffefff},
1524 {0x0000008f, 0xfff3efff},
1525 {0x00000090, 0xfff3efbf},
1526 {0x00000094, 0x00101101},
1527 {0x00000095, 0x00000fff},
1528 {0x00000096, 0x00116fff},
1529 {0x00000097, 0x60010000},
1530 {0x00000098, 0x10010000},
1531 {0x00000099, 0x00006000},
1532 {0x0000009a, 0x00001000},
1533 {0x0000009f, 0x00a17730}
1537 {0x0000006f, 0x03044000},
1538 {0x00000070, 0x0480c018},
1539 {0x00000071, 0x00000040},
1540 {0x00000072, 0x01000000},
1541 {0x00000074, 0x000000ff},
1542 {0x00000075, 0x00143400},
1543 {0x00000076, 0x08ec0800},
1544 {0x00000077, 0x040000cc},
1545 {0x00000079, 0x00000000},
1546 {0x0000007a, 0x21000409},
1547 {0x0000007c, 0x00000000},
1548 {0x0000007d, 0xe8000000},
1549 {0x0000007e, 0x044408a8},
1550 {0x0000007f, 0x00000003},
1551 {0x00000080, 0x00000000},
1552 {0x00000081, 0x01000000},
1553 {0x00000082, 0x02000000},
1554 {0x00000083, 0x00000000},
1555 {0x00000084, 0xe3f3e4f4},
1556 {0x00000085, 0x00052024},
1557 {0x00000087, 0x00000000},
1558 {0x00000088, 0x66036603},
1559 {0x00000089, 0x01000000},
1560 {0x0000008b, 0x1c0a0000},
1561 {0x0000008c, 0xff010000},
1562 {0x0000008e, 0xffffefff},
1563 {0x0000008f, 0xfff3efff},
1564 {0x00000090, 0xfff3efbf},
1565 {0x00000094, 0x00101101},
1566 {0x00000095, 0x00000fff},
1567 {0x00000096, 0x00116fff},
1568 {0x00000097, 0x60010000},
1569 {0x00000098, 0x10010000},
1570 {0x00000099, 0x00006000},
1571 {0x0000009a, 0x00001000},
1572 {0x0000009f, 0x00a07730}
1630 if (running == 0) { in si_mc_load_microcode()
1632 WREG32(MC_SEQ_SUP_CNTL, 0x00000008); in si_mc_load_microcode()
1633 WREG32(MC_SEQ_SUP_CNTL, 0x00000010); in si_mc_load_microcode()
1636 for (i = 0; i < regs_size; i++) { in si_mc_load_microcode()
1646 for (i = 0; i < ucode_size; i++) { in si_mc_load_microcode()
1654 WREG32(MC_SEQ_SUP_CNTL, 0x00000008); in si_mc_load_microcode()
1655 WREG32(MC_SEQ_SUP_CNTL, 0x00000004); in si_mc_load_microcode()
1656 WREG32(MC_SEQ_SUP_CNTL, 0x00000001); in si_mc_load_microcode()
1659 for (i = 0; i < rdev->usec_timeout; i++) { in si_mc_load_microcode()
1664 for (i = 0; i < rdev->usec_timeout; i++) { in si_mc_load_microcode()
1671 return 0; in si_mc_load_microcode()
1682 int new_fw = 0; in si_init_microcode()
1703 if ((rdev->pdev->revision == 0x81) && in si_init_microcode()
1704 ((rdev->pdev->device == 0x6810) || in si_init_microcode()
1705 (rdev->pdev->device == 0x6811))) in si_init_microcode()
1718 if (((rdev->pdev->device == 0x6820) && in si_init_microcode()
1719 ((rdev->pdev->revision == 0x81) || in si_init_microcode()
1720 (rdev->pdev->revision == 0x83))) || in si_init_microcode()
1721 ((rdev->pdev->device == 0x6821) && in si_init_microcode()
1722 ((rdev->pdev->revision == 0x83) || in si_init_microcode()
1723 (rdev->pdev->revision == 0x87))) || in si_init_microcode()
1724 ((rdev->pdev->revision == 0x87) && in si_init_microcode()
1725 ((rdev->pdev->device == 0x6823) || in si_init_microcode()
1726 (rdev->pdev->device == 0x682b)))) in si_init_microcode()
1739 if (((rdev->pdev->revision == 0x81) && in si_init_microcode()
1740 ((rdev->pdev->device == 0x6600) || in si_init_microcode()
1741 (rdev->pdev->device == 0x6604) || in si_init_microcode()
1742 (rdev->pdev->device == 0x6605) || in si_init_microcode()
1743 (rdev->pdev->device == 0x6610))) || in si_init_microcode()
1744 ((rdev->pdev->revision == 0x83) && in si_init_microcode()
1745 (rdev->pdev->device == 0x6610))) in si_init_microcode()
1757 if (((rdev->pdev->revision == 0x81) && in si_init_microcode()
1758 (rdev->pdev->device == 0x6660)) || in si_init_microcode()
1759 ((rdev->pdev->revision == 0x83) && in si_init_microcode()
1760 ((rdev->pdev->device == 0x6660) || in si_init_microcode()
1761 (rdev->pdev->device == 0x6663) || in si_init_microcode()
1762 (rdev->pdev->device == 0x6665) || in si_init_microcode()
1763 (rdev->pdev->device == 0x6667)))) in si_init_microcode()
1765 else if ((rdev->pdev->revision == 0xc3) && in si_init_microcode()
1766 (rdev->pdev->device == 0x6665)) in si_init_microcode()
1780 if (((RREG32(MC_SEQ_MISC0) & 0xff000000) >> 24) == 0x58) in si_init_microcode()
1924 err = 0; in si_init_microcode()
1941 if (new_fw == 0) { in si_init_microcode()
1977 u32 pipe_offset = radeon_crtc->crtc_id * 0x20; in dce6_line_buffer_adjust()
1984 * 0 - half lb in dce6_line_buffer_adjust()
1993 tmp = 0; /* 1/2 */ in dce6_line_buffer_adjust()
2000 tmp = 0; in dce6_line_buffer_adjust()
2001 buffer_alloc = 0; in dce6_line_buffer_adjust()
2009 for (i = 0; i < rdev->usec_timeout; i++) { in dce6_line_buffer_adjust()
2018 case 0: in dce6_line_buffer_adjust()
2027 return 0; in dce6_line_buffer_adjust()
2035 case 0: in si_get_number_of_dram_channels()
2219 if (wm->num_heads == 0) in dce6_latency_watermark()
2220 return 0; in dce6_latency_watermark()
2306 u32 line_time = 0; in dce6_program_watermarks()
2307 u32 latency_watermark_a = 0, latency_watermark_b = 0; in dce6_program_watermarks()
2308 u32 priority_a_mark = 0, priority_b_mark = 0; in dce6_program_watermarks()
2320 priority_a_cnt = 0; in dce6_program_watermarks()
2321 priority_b_cnt = 0; in dce6_program_watermarks()
2468 u32 num_heads = 0, lb_size; in dce6_bandwidth_update()
2476 for (i = 0; i < rdev->num_crtc; i++) { in dce6_bandwidth_update()
2480 for (i = 0; i < rdev->num_crtc; i += 2) { in dce6_bandwidth_update()
2513 for (reg_offset = 0; reg_offset < num_tile_mode_states; reg_offset++) in si_tiling_mode_table_init()
2514 tile[reg_offset] = 0; in si_tiling_mode_table_init()
2520 tile[0] = (ARRAY_MODE(ARRAY_2D_TILED_THIN1) | in si_tiling_mode_table_init()
2727 for (reg_offset = 0; reg_offset < num_tile_mode_states; reg_offset++) in si_tiling_mode_table_init()
2735 tile[0] = (ARRAY_MODE(ARRAY_2D_TILED_THIN1) | in si_tiling_mode_table_init()
2942 for (reg_offset = 0; reg_offset < num_tile_mode_states; reg_offset++) in si_tiling_mode_table_init()
2947 DRM_ERROR("unknown asic: 0x%x\n", rdev->family); in si_tiling_mode_table_init()
2956 if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) in si_select_se_sh()
2958 else if (se_num == 0xffffffff) in si_select_se_sh()
2960 else if (sh_num == 0xffffffff) in si_select_se_sh()
2969 u32 i, mask = 0; in si_create_bitmask()
2971 for (i = 0; i < bit_width; i++) { in si_create_bitmask()
2986 data = 0; in si_get_cu_enabled()
3003 for (i = 0; i < se_num; i++) { in si_setup_spi()
3004 for (j = 0; j < sh_per_se; j++) { in si_setup_spi()
3010 for (k = 0; k < 16; k++) { in si_setup_spi()
3020 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_setup_spi()
3033 data = 0; in si_get_rb_disabled()
3049 u32 disabled_rbs = 0; in si_setup_rb()
3050 u32 enabled_rbs = 0; in si_setup_rb()
3052 for (i = 0; i < se_num; i++) { in si_setup_rb()
3053 for (j = 0; j < sh_per_se; j++) { in si_setup_rb()
3059 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_setup_rb()
3062 for (i = 0; i < max_rb_num_per_se * se_num; i++) { in si_setup_rb()
3070 for (i = 0; i < se_num; i++) { in si_setup_rb()
3071 si_select_se_sh(rdev, i, 0xffffffff); in si_setup_rb()
3072 data = 0; in si_setup_rb()
3073 for (j = 0; j < sh_per_se; j++) { in si_setup_rb()
3090 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_setup_rb()
3095 u32 gb_addr_config = 0; in si_gpu_init()
3114 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3115 rdev->config.si.sc_prim_fifo_size_backend = 0x100; in si_gpu_init()
3116 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3117 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3131 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3132 rdev->config.si.sc_prim_fifo_size_backend = 0x100; in si_gpu_init()
3133 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3134 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3149 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3150 rdev->config.si.sc_prim_fifo_size_backend = 0x40; in si_gpu_init()
3151 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3152 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3166 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3167 rdev->config.si.sc_prim_fifo_size_backend = 0x40; in si_gpu_init()
3168 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3169 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3183 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3184 rdev->config.si.sc_prim_fifo_size_backend = 0x40; in si_gpu_init()
3185 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3186 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3192 for (i = 0, j = 0; i < 32; i++, j += 0x18) { in si_gpu_init()
3193 WREG32((0x2c14 + j), 0x00000000); in si_gpu_init()
3194 WREG32((0x2c18 + j), 0x00000000); in si_gpu_init()
3195 WREG32((0x2c1c + j), 0x00000000); in si_gpu_init()
3196 WREG32((0x2c20 + j), 0x00000000); in si_gpu_init()
3197 WREG32((0x2c24 + j), 0x00000000); in si_gpu_init()
3200 WREG32(GRBM_CNTL, GRBM_READ_TIMEOUT(0xff)); in si_gpu_init()
3227 gb_addr_config |= ROW_SIZE(0); in si_gpu_init()
3239 * bits 3:0 num_pipes in si_gpu_init()
3244 rdev->config.si.tile_config = 0; in si_gpu_init()
3247 rdev->config.si.tile_config |= (0 << 0); in si_gpu_init()
3250 rdev->config.si.tile_config |= (1 << 0); in si_gpu_init()
3253 rdev->config.si.tile_config |= (2 << 0); in si_gpu_init()
3258 rdev->config.si.tile_config |= (3 << 0); in si_gpu_init()
3262 case 0: /* four banks */ in si_gpu_init()
3263 rdev->config.si.tile_config |= 0 << 4; in si_gpu_init()
3300 rdev->config.si.active_cus = 0; in si_gpu_init()
3301 for (i = 0; i < rdev->config.si.max_shader_engines; i++) { in si_gpu_init()
3302 for (j = 0; j < rdev->config.si.max_sh_per_se; j++) { in si_gpu_init()
3309 WREG32(CP_QUEUE_THRESHOLDS, (ROQ_IB1_START(0x16) | in si_gpu_init()
3310 ROQ_IB2_START(0x2b))); in si_gpu_init()
3311 WREG32(CP_MEQ_THRESHOLDS, MEQ1_START(0x30) | MEQ2_START(0x60)); in si_gpu_init()
3325 WREG32(CP_PERFMON_CNTL, 0); in si_gpu_init()
3327 WREG32(SQ_CONFIG, 0); in si_gpu_init()
3336 WREG32(PA_SC_LINE_STIPPLE_STATE, 0); in si_gpu_init()
3338 WREG32(CB_PERFCOUNTER0_SELECT0, 0); in si_gpu_init()
3339 WREG32(CB_PERFCOUNTER0_SELECT1, 0); in si_gpu_init()
3340 WREG32(CB_PERFCOUNTER1_SELECT0, 0); in si_gpu_init()
3341 WREG32(CB_PERFCOUNTER1_SELECT1, 0); in si_gpu_init()
3342 WREG32(CB_PERFCOUNTER2_SELECT0, 0); in si_gpu_init()
3343 WREG32(CB_PERFCOUNTER2_SELECT1, 0); in si_gpu_init()
3344 WREG32(CB_PERFCOUNTER3_SELECT0, 0); in si_gpu_init()
3345 WREG32(CB_PERFCOUNTER3_SELECT1, 0); in si_gpu_init()
3368 for (i = 0; i < rdev->scratch.num_reg; i++) { in si_scratch_init()
3383 radeon_ring_write(ring, 0); in si_fence_ring_emit()
3389 radeon_ring_write(ring, 0xFFFFFFFF); in si_fence_ring_emit()
3390 radeon_ring_write(ring, 0); in si_fence_ring_emit()
3396 radeon_ring_write(ring, (upper_32_bits(addr) & 0xff) | DATA_SEL(1) | INT_SEL(2)); in si_fence_ring_emit()
3398 radeon_ring_write(ring, 0); in si_fence_ring_emit()
3407 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in si_ring_ib_execute()
3412 radeon_ring_write(ring, PACKET3(PACKET3_SWITCH_BUFFER, 0)); in si_ring_ib_execute()
3413 radeon_ring_write(ring, 0); in si_ring_ib_execute()
3428 radeon_ring_write(ring, ring->next_rptr_gpu_addr & 0xfffffffc); in si_ring_ib_execute()
3439 (2 << 0) | in si_ring_ib_execute()
3441 (ib->gpu_addr & 0xFFFFFFFC)); in si_ring_ib_execute()
3442 radeon_ring_write(ring, upper_32_bits(ib->gpu_addr) & 0xFFFF); in si_ring_ib_execute()
3455 radeon_ring_write(ring, 0xFFFFFFFF); in si_ring_ib_execute()
3456 radeon_ring_write(ring, 0); in si_ring_ib_execute()
3467 WREG32(CP_ME_CNTL, 0); in si_cp_enable()
3472 WREG32(SCRATCH_UMSK, 0); in si_cp_enable()
3507 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3508 for (i = 0; i < fw_size; i++) in si_cp_load_microcode()
3510 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3516 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3517 for (i = 0; i < fw_size; i++) in si_cp_load_microcode()
3519 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3525 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3526 for (i = 0; i < fw_size; i++) in si_cp_load_microcode()
3528 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3534 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3535 for (i = 0; i < SI_PFP_UCODE_SIZE; i++) in si_cp_load_microcode()
3537 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3541 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3542 for (i = 0; i < SI_CE_UCODE_SIZE; i++) in si_cp_load_microcode()
3544 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3548 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3549 for (i = 0; i < SI_PM4_UCODE_SIZE; i++) in si_cp_load_microcode()
3551 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3554 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3555 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3556 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3557 WREG32(CP_ME_RAM_RADDR, 0); in si_cp_load_microcode()
3558 return 0; in si_cp_load_microcode()
3573 radeon_ring_write(ring, 0x1); in si_cp_start()
3574 radeon_ring_write(ring, 0x0); in si_cp_start()
3577 radeon_ring_write(ring, 0); in si_cp_start()
3578 radeon_ring_write(ring, 0); in si_cp_start()
3583 radeon_ring_write(ring, 0xc000); in si_cp_start()
3584 radeon_ring_write(ring, 0xe000); in si_cp_start()
3596 radeon_ring_write(ring, PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in si_cp_start()
3599 for (i = 0; i < si_default_size; i++) in si_cp_start()
3602 radeon_ring_write(ring, PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in si_cp_start()
3606 radeon_ring_write(ring, PACKET3(PACKET3_CLEAR_STATE, 0)); in si_cp_start()
3607 radeon_ring_write(ring, 0); in si_cp_start()
3610 radeon_ring_write(ring, 0x00000316); in si_cp_start()
3611 radeon_ring_write(ring, 0x0000000e); /* VGT_VERTEX_REUSE_BLOCK_CNTL */ in si_cp_start()
3612 radeon_ring_write(ring, 0x00000010); /* VGT_OUT_DEALLOC_CNTL */ in si_cp_start()
3625 radeon_ring_write(ring, PACKET3_COMPUTE(PACKET3_CLEAR_STATE, 0)); in si_cp_start()
3626 radeon_ring_write(ring, 0); in si_cp_start()
3631 return 0; in si_cp_start()
3661 WREG32(CP_SEM_WAIT_TIMER, 0x0); in si_cp_resume()
3662 WREG32(CP_SEM_INCOMPLETE_TIMER_CNTL, 0x0); in si_cp_resume()
3665 WREG32(CP_RB_WPTR_DELAY, 0); in si_cp_resume()
3667 WREG32(CP_DEBUG, 0); in si_cp_resume()
3668 WREG32(SCRATCH_ADDR, ((rdev->wb.gpu_addr + RADEON_WB_SCRATCH_OFFSET) >> 8) & 0xFFFFFFFF); in si_cp_resume()
3670 /* ring 0 - compute and gfx */ in si_cp_resume()
3682 ring->wptr = 0; in si_cp_resume()
3686 WREG32(CP_RB0_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFFFFFFFC); in si_cp_resume()
3687 WREG32(CP_RB0_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFF); in si_cp_resume()
3690 WREG32(SCRATCH_UMSK, 0xff); in si_cp_resume()
3693 WREG32(SCRATCH_UMSK, 0); in si_cp_resume()
3713 ring->wptr = 0; in si_cp_resume()
3717 WREG32(CP_RB1_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFFFFFFFC); in si_cp_resume()
3718 WREG32(CP_RB1_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFF); in si_cp_resume()
3737 ring->wptr = 0; in si_cp_resume()
3741 WREG32(CP_RB2_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFFFFFFFC); in si_cp_resume()
3742 WREG32(CP_RB2_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFF); in si_cp_resume()
3775 return 0; in si_cp_resume()
3780 u32 reset_mask = 0; in si_gpu_check_soft_reset()
3805 /* DMA_STATUS_REG 0 */ in si_gpu_check_soft_reset()
3852 DRM_DEBUG("MC busy: 0x%08X, clearing.\n", reset_mask); in si_gpu_check_soft_reset()
3862 u32 grbm_soft_reset = 0, srbm_soft_reset = 0; in si_gpu_soft_reset()
3865 if (reset_mask == 0) in si_gpu_soft_reset()
3868 dev_info(rdev->dev, "GPU softreset: 0x%08X\n", reset_mask); in si_gpu_soft_reset()
3871 dev_info(rdev->dev, " VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x%08X\n", in si_gpu_soft_reset()
3873 dev_info(rdev->dev, " VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x%08X\n", in si_gpu_soft_reset()
3957 dev_info(rdev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); in si_gpu_soft_reset()
3971 dev_info(rdev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); in si_gpu_soft_reset()
4003 for (i = 0; i < rdev->usec_timeout; i++) { in si_set_clk_bypass_mode()
4084 for (i = 0; i < rdev->usec_timeout; i++) { in si_gpu_pci_config_reset()
4085 if (RREG32(CONFIG_MEMSIZE) != 0xffffffff) in si_gpu_pci_config_reset()
4097 return 0; in si_asic_reset()
4119 return 0; in si_asic_reset()
4152 for (i = 0, j = 0; i < 32; i++, j += 0x18) { in si_mc_program()
4153 WREG32((0x2c14 + j), 0x00000000); in si_mc_program()
4154 WREG32((0x2c18 + j), 0x00000000); in si_mc_program()
4155 WREG32((0x2c1c + j), 0x00000000); in si_mc_program()
4156 WREG32((0x2c20 + j), 0x00000000); in si_mc_program()
4157 WREG32((0x2c24 + j), 0x00000000); in si_mc_program()
4159 WREG32(HDP_REG_COHERENCY_FLUSH_CNTL, 0); in si_mc_program()
4175 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in si_mc_program()
4176 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in si_mc_program()
4181 WREG32(HDP_NONSURFACE_SIZE, 0x3FFFFFFF); in si_mc_program()
4182 WREG32(MC_VM_AGP_BASE, 0); in si_mc_program()
4183 WREG32(MC_VM_AGP_TOP, 0x0FFFFFFF); in si_mc_program()
4184 WREG32(MC_VM_AGP_BOT, 0x0FFFFFFF); in si_mc_program()
4199 if (mc->mc_vram_size > 0xFFC0000000ULL) { in si_vram_gtt_location()
4202 mc->real_vram_size = 0xFFC0000000ULL; in si_vram_gtt_location()
4203 mc->mc_vram_size = 0xFFC0000000ULL; in si_vram_gtt_location()
4205 radeon_vram_location(rdev, &rdev->mc, 0); in si_vram_gtt_location()
4206 rdev->mc.gtt_base_align = 0; in si_vram_gtt_location()
4227 case 0: in si_mc_init()
4257 /* Could aper size report 0 ? */ in si_mc_init()
4258 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in si_mc_init()
4259 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in si_mc_init()
4263 if (tmp & 0xffff0000) { in si_mc_init()
4264 DRM_INFO("Probable bad vram size: 0x%08x\n", tmp); in si_mc_init()
4265 if (tmp & 0xffff) in si_mc_init()
4266 tmp &= 0xffff; in si_mc_init()
4274 return 0; in si_mc_init()
4283 WREG32(HDP_MEM_COHERENCY_FLUSH_CNTL, 0x1); in si_pcie_gart_tlb_flush()
4285 /* bits 0-15 are the VM contexts0-15 */ in si_pcie_gart_tlb_flush()
4302 (0xA << 7) | in si_pcie_gart_enable()
4325 WREG32(VM_CONTEXT0_CNTL2, 0); in si_pcie_gart_enable()
4326 WREG32(VM_CONTEXT0_CNTL, (ENABLE_CONTEXT | PAGE_TABLE_DEPTH(0) | in si_pcie_gart_enable()
4329 WREG32(0x15D4, 0); in si_pcie_gart_enable()
4330 WREG32(0x15D8, 0); in si_pcie_gart_enable()
4331 WREG32(0x15DC, 0); in si_pcie_gart_enable()
4335 WREG32(VM_CONTEXT1_PAGE_TABLE_START_ADDR, 0); in si_pcie_gart_enable()
4370 DRM_INFO("PCIE GART of %uM enabled (table at 0x%016llX).\n", in si_pcie_gart_enable()
4374 return 0; in si_pcie_gart_enable()
4391 WREG32(VM_CONTEXT0_CNTL, 0); in si_pcie_gart_disable()
4392 WREG32(VM_CONTEXT1_CNTL, 0); in si_pcie_gart_disable()
4401 WREG32(VM_L2_CNTL2, 0); in si_pcie_gart_disable()
4403 L2_CACHE_BIGK_FRAGMENT_SIZE(0)); in si_pcie_gart_disable()
4418 if (reg >= 0x28000) in si_vm_reg_valid()
4422 if (reg >= 0xB000 && reg < 0xC000) in si_vm_reg_valid()
4456 DRM_ERROR("Invalid register 0x%x in CS\n", reg); in si_vm_reg_valid()
4477 DRM_ERROR("Invalid CE packet3: 0x%x\n", pkt->opcode); in si_vm_packet3_ce_check()
4480 return 0; in si_vm_packet3_ce_check()
4491 if (((info & 0x60000000) >> 29) == 0) { in si_vm_packet3_cp_dma_check()
4500 for (i = 0; i < (command & 0x1fffff); i++) { in si_vm_packet3_cp_dma_check()
4512 if (((info & 0x00300000) >> 20) == 0) { in si_vm_packet3_cp_dma_check()
4521 for (i = 0; i < (command & 0x1fffff); i++) { in si_vm_packet3_cp_dma_check()
4531 return 0; in si_vm_packet3_cp_dma_check()
4590 if ((idx_value & 0xf00) == 0) { in si_vm_packet3_gfx_check()
4597 if ((idx_value & 0xf00) == 0) { in si_vm_packet3_gfx_check()
4599 if (idx_value & 0x10000) { in si_vm_packet3_gfx_check()
4603 for (i = 0; i < (pkt->count - 2); i++) { in si_vm_packet3_gfx_check()
4612 if (idx_value & 0x100) { in si_vm_packet3_gfx_check()
4619 if (idx_value & 0x2) { in si_vm_packet3_gfx_check()
4634 for (i = 0; i < pkt->count; i++) { in si_vm_packet3_gfx_check()
4646 DRM_ERROR("Invalid GFX packet3: 0x%x\n", pkt->opcode); in si_vm_packet3_gfx_check()
4649 return 0; in si_vm_packet3_gfx_check()
4693 if ((idx_value & 0xf00) == 0) { in si_vm_packet3_compute_check()
4700 if ((idx_value & 0xf00) == 0) { in si_vm_packet3_compute_check()
4702 if (idx_value & 0x10000) { in si_vm_packet3_compute_check()
4706 for (i = 0; i < (pkt->count - 2); i++) { in si_vm_packet3_compute_check()
4715 if (idx_value & 0x100) { in si_vm_packet3_compute_check()
4722 if (idx_value & 0x2) { in si_vm_packet3_compute_check()
4734 DRM_ERROR("Invalid Compute packet3: 0x%x\n", pkt->opcode); in si_vm_packet3_compute_check()
4737 return 0; in si_vm_packet3_compute_check()
4742 int ret = 0; in si_ib_parse()
4743 u32 idx = 0, i; in si_ib_parse()
4750 pkt.one_reg_wr = 0; in si_ib_parse()
4786 for (i = 0; i < ib->length_dw; i++) { in si_ib_parse()
4807 rdev->vm_manager.vram_base_offset = 0; in si_vm_init()
4809 return 0; in si_vm_init()
4910 case 0: in si_vm_decode_fault()
5074 printk("VM fault (0x%02x, vmid %d) at page %u, %s from %s (%d)\n", in si_vm_decode_fault()
5086 WRITE_DATA_DST_SEL(0))); in si_vm_flush()
5095 radeon_ring_write(ring, 0); in si_vm_flush()
5101 WRITE_DATA_DST_SEL(0))); in si_vm_flush()
5103 radeon_ring_write(ring, 0); in si_vm_flush()
5104 radeon_ring_write(ring, 0x1); in si_vm_flush()
5106 /* bits 0-15 are the VM contexts0-15 */ in si_vm_flush()
5109 WRITE_DATA_DST_SEL(0))); in si_vm_flush()
5111 radeon_ring_write(ring, 0); in si_vm_flush()
5116 radeon_ring_write(ring, (WAIT_REG_MEM_FUNCTION(0) | /* always */ in si_vm_flush()
5117 WAIT_REG_MEM_ENGINE(0))); /* me */ in si_vm_flush()
5119 radeon_ring_write(ring, 0); in si_vm_flush()
5120 radeon_ring_write(ring, 0); /* ref */ in si_vm_flush()
5121 radeon_ring_write(ring, 0); /* mask */ in si_vm_flush()
5122 radeon_ring_write(ring, 0x20); /* poll interval */ in si_vm_flush()
5125 radeon_ring_write(ring, PACKET3(PACKET3_PFP_SYNC_ME, 0)); in si_vm_flush()
5126 radeon_ring_write(ring, 0x0); in si_vm_flush()
5136 for (i = 0; i < rdev->usec_timeout; i++) { in si_wait_for_rlc_serdes()
5137 if (RREG32(RLC_SERDES_MASTER_BUSY_0) == 0) in si_wait_for_rlc_serdes()
5142 for (i = 0; i < rdev->usec_timeout; i++) { in si_wait_for_rlc_serdes()
5143 if (RREG32(RLC_SERDES_MASTER_BUSY_1) == 0) in si_wait_for_rlc_serdes()
5167 for (i = 0; i < rdev->usec_timeout; i++) { in si_enable_gui_idle_interrupt()
5185 tmp &= ~0x7ffff800; in si_set_uvd_dcm()
5188 tmp |= 0x7ffff800; in si_set_uvd_dcm()
5189 tmp2 = 0; in si_set_uvd_dcm()
5251 WREG32(DMA_PGFSM_WRITE, 0x00002000); in si_init_dma_pg()
5252 WREG32(DMA_PGFSM_CONFIG, 0x100010ff); in si_init_dma_pg()
5254 for (tmp = 0; tmp < 5; tmp++) in si_init_dma_pg()
5255 WREG32(DMA_PGFSM_WRITE, 0); in si_init_dma_pg()
5264 tmp = RLC_PUD(0x10) | RLC_PDD(0x10) | RLC_TTPD(0x10) | RLC_MSD(0x10); in si_enable_gfx_cgpg()
5298 tmp |= GRBM_REG_SGIT(0x700); in si_init_gfx_cgpg()
5305 u32 mask = 0, tmp, tmp1; in si_get_cu_active_bitmap()
5311 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_get_cu_active_bitmap()
5313 tmp &= 0xffff0000; in si_get_cu_active_bitmap()
5318 for (i = 0; i < rdev->config.si.max_cu_per_sh; i ++) { in si_get_cu_active_bitmap()
5328 u32 i, j, k, active_cu_number = 0; in si_init_ao_cu_mask()
5330 u32 tmp = 0; in si_init_ao_cu_mask()
5332 for (i = 0; i < rdev->config.si.max_shader_engines; i++) { in si_init_ao_cu_mask()
5333 for (j = 0; j < rdev->config.si.max_sh_per_se; j++) { in si_init_ao_cu_mask()
5335 cu_bitmap = 0; in si_init_ao_cu_mask()
5336 counter = 0; in si_init_ao_cu_mask()
5337 for (k = 0; k < rdev->config.si.max_cu_per_sh; k++) { in si_init_ao_cu_mask()
5369 WREG32(RLC_GCPM_GENERAL_3, 0x00000080); in si_enable_cgcg()
5373 WREG32(RLC_SERDES_WR_MASTER_MASK_0, 0xffffffff); in si_enable_cgcg()
5374 WREG32(RLC_SERDES_WR_MASTER_MASK_1, 0xffffffff); in si_enable_cgcg()
5375 WREG32(RLC_SERDES_WR_CTRL, 0x00b000ff); in si_enable_cgcg()
5381 WREG32(RLC_SERDES_WR_CTRL, 0x007000ff); in si_enable_cgcg()
5402 u32 data, orig, tmp = 0; in si_enable_mgcg()
5406 data = 0x96940200; in si_enable_mgcg()
5418 data &= 0xffffffc0; in si_enable_mgcg()
5424 WREG32(RLC_SERDES_WR_MASTER_MASK_0, 0xffffffff); in si_enable_mgcg()
5425 WREG32(RLC_SERDES_WR_MASTER_MASK_1, 0xffffffff); in si_enable_mgcg()
5426 WREG32(RLC_SERDES_WR_CTRL, 0x00d000ff); in si_enable_mgcg()
5431 data |= 0x00000003; in si_enable_mgcg()
5447 WREG32(RLC_SERDES_WR_MASTER_MASK_0, 0xffffffff); in si_enable_mgcg()
5448 WREG32(RLC_SERDES_WR_MASTER_MASK_1, 0xffffffff); in si_enable_mgcg()
5449 WREG32(RLC_SERDES_WR_CTRL, 0x00e000ff); in si_enable_mgcg()
5462 tmp |= 0x3fff; in si_enable_uvd_mgcg()
5470 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_0, 0); in si_enable_uvd_mgcg()
5471 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_1, 0); in si_enable_uvd_mgcg()
5474 tmp &= ~0x3fff; in si_enable_uvd_mgcg()
5482 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_0, 0xffffffff); in si_enable_uvd_mgcg()
5483 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_1, 0xffffffff); in si_enable_uvd_mgcg()
5506 for (i = 0; i < ARRAY_SIZE(mc_cg_registers); i++) { in si_enable_mc_ls()
5523 for (i = 0; i < ARRAY_SIZE(mc_cg_registers); i++) { in si_enable_mc_mgcg()
5541 for (i = 0; i < 2; i++) { in si_enable_dma_mgcg()
5542 if (i == 0) in si_enable_dma_mgcg()
5550 WREG32(DMA_CLK_CTRL + offset, 0x00000100); in si_enable_dma_mgcg()
5553 for (i = 0; i < 2; i++) { in si_enable_dma_mgcg()
5554 if (i == 0) in si_enable_dma_mgcg()
5564 data = 0xff000000; in si_enable_dma_mgcg()
5689 u32 count = 0; in si_get_csb_size()
5694 return 0; in si_get_csb_size()
5706 return 0; in si_get_csb_size()
5721 u32 count = 0, i; in si_get_csb_buffer()
5730 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in si_get_csb_buffer()
5734 buffer[count++] = cpu_to_le32(0x80000000); in si_get_csb_buffer()
5735 buffer[count++] = cpu_to_le32(0x80000000); in si_get_csb_buffer()
5742 buffer[count++] = cpu_to_le32(ext->reg_index - 0xa000); in si_get_csb_buffer()
5743 for (i = 0; i < ext->reg_count; i++) in si_get_csb_buffer()
5756 buffer[count++] = cpu_to_le32(0x2a00126a); in si_get_csb_buffer()
5759 buffer[count++] = cpu_to_le32(0x0000124a); in si_get_csb_buffer()
5762 buffer[count++] = cpu_to_le32(0x00000082); in si_get_csb_buffer()
5765 buffer[count++] = cpu_to_le32(0x00000000); in si_get_csb_buffer()
5768 buffer[count++] = cpu_to_le32(0x00000000); in si_get_csb_buffer()
5772 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in si_get_csb_buffer()
5775 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0)); in si_get_csb_buffer()
5776 buffer[count++] = cpu_to_le32(0); in si_get_csb_buffer()
5825 WREG32(RLC_CNTL, 0); in si_rlc_stop()
5847 if ((tmp & 0xF0000000) == 0xB0000000) in si_lbpw_supported()
5864 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_enable_lbpw()
5865 WREG32(SPI_LB_CU_MASK, 0x00ff); in si_enable_lbpw()
5884 WREG32(RLC_RL_BASE, 0); in si_rlc_resume()
5885 WREG32(RLC_RL_SIZE, 0); in si_rlc_resume()
5886 WREG32(RLC_LB_CNTL, 0); in si_rlc_resume()
5887 WREG32(RLC_LB_CNTR_MAX, 0xffffffff); in si_rlc_resume()
5888 WREG32(RLC_LB_CNTR_INIT, 0); in si_rlc_resume()
5889 WREG32(RLC_LB_INIT_CU_MASK, 0xffffffff); in si_rlc_resume()
5891 WREG32(RLC_MC_CNTL, 0); in si_rlc_resume()
5892 WREG32(RLC_UCODE_CNTL, 0); in si_rlc_resume()
5903 for (i = 0; i < fw_size; i++) { in si_rlc_resume()
5910 for (i = 0; i < SI_RLC_UCODE_SIZE; i++) { in si_rlc_resume()
5915 WREG32(RLC_UCODE_ADDR, 0); in si_rlc_resume()
5921 return 0; in si_rlc_resume()
5945 /* set rptr, wptr to 0 */ in si_disable_interrupts()
5946 WREG32(IH_RB_RPTR, 0); in si_disable_interrupts()
5947 WREG32(IH_RB_WPTR, 0); in si_disable_interrupts()
5949 rdev->ih.rptr = 0; in si_disable_interrupts()
5960 WREG32(CP_INT_CNTL_RING1, 0); in si_disable_interrupt_state()
5961 WREG32(CP_INT_CNTL_RING2, 0); in si_disable_interrupt_state()
5966 WREG32(GRBM_INT_CNTL, 0); in si_disable_interrupt_state()
5967 WREG32(SRBM_INT_CNTL, 0); in si_disable_interrupt_state()
5968 for (i = 0; i < rdev->num_crtc; i++) in si_disable_interrupt_state()
5969 WREG32(INT_MASK + crtc_offsets[i], 0); in si_disable_interrupt_state()
5970 for (i = 0; i < rdev->num_crtc; i++) in si_disable_interrupt_state()
5971 WREG32(GRPH_INT_CONTROL + crtc_offsets[i], 0); in si_disable_interrupt_state()
5974 WREG32(DAC_AUTODETECT_INT_CONTROL, 0); in si_disable_interrupt_state()
5976 for (i = 0; i < 6; i++) in si_disable_interrupt_state()
5984 int ret = 0; in si_irq_init()
6007 /* IH_DUMMY_RD_OVERRIDE=0 - dummy read disabled with msi, enabled without msi in si_irq_init()
6026 WREG32(IH_RB_WPTR_ADDR_LO, (rdev->wb.gpu_addr + R600_WB_IH_WPTR_OFFSET) & 0xFFFFFFFC); in si_irq_init()
6027 WREG32(IH_RB_WPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + R600_WB_IH_WPTR_OFFSET) & 0xFF); in si_irq_init()
6031 /* set rptr, wptr to 0 */ in si_irq_init()
6032 WREG32(IH_RB_RPTR, 0); in si_irq_init()
6033 WREG32(IH_RB_WPTR, 0); in si_irq_init()
6036 ih_cntl = MC_WRREQ_CREDIT(0x10) | MC_WR_CLEAN_CNT(0x10) | MC_VMID(0); in si_irq_init()
6058 u32 cp_int_cntl1 = 0, cp_int_cntl2 = 0; in si_irq_set()
6059 u32 grbm_int_cntl = 0; in si_irq_set()
6061 u32 thermal_int = 0; in si_irq_set()
6072 return 0; in si_irq_set()
6121 for (i = 0; i < rdev->num_crtc; i++) { in si_irq_set()
6128 for (i = 0; i < rdev->num_crtc; i++) in si_irq_set()
6132 for (i = 0; i < 6; i++) { in si_irq_set()
6145 return 0; in si_irq_set()
6158 for (i = 0; i < 6; i++) { in si_irq_ack()
6165 for (i = 0; i < rdev->num_crtc; i += 2) { in si_irq_ack()
6182 for (i = 0; i < 6; i++) { in si_irq_ack()
6187 for (i = 0; i < 6; i++) { in si_irq_ack()
6229 dev_warn(rdev->dev, "IH ring buffer overflow (0x%08X, 0x%08X, 0x%08X)\n", in si_get_ih_wptr()
6241 * [7:0] - interrupt source id
6286 src_id = le32_to_cpu(rdev->ih.ring[ring_index]) & 0xff; in si_irq_process()
6287 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in si_irq_process()
6288 ring_id = le32_to_cpu(rdev->ih.ring[ring_index + 2]) & 0xff; in si_irq_process()
6299 if (src_data == 0) { /* vblank */ in si_irq_process()
6338 if (radeon_use_pflipirq > 0) in si_irq_process()
6367 DRM_ERROR("SRBM_READ_ERROR: 0x%x\n", RREG32(SRBM_READ_ERROR)); in si_irq_process()
6368 WREG32(SRBM_INT_ACK, 0x1); in si_irq_process()
6371 DRM_DEBUG("IH: UVD int: 0x%08x\n", src_data); in si_irq_process()
6380 if (addr == 0x0 && status == 0x0) in si_irq_process()
6382 dev_err(rdev->dev, "GPU fault detected: %d 0x%08x\n", src_id, src_data); in si_irq_process()
6383 dev_err(rdev->dev, " VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x%08X\n", in si_irq_process()
6385 dev_err(rdev->dev, " VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x%08X\n", in si_irq_process()
6401 case 0: in si_irq_process()
6446 schedule_delayed_work(&rdev->hotplug_work, 0); in si_irq_process()
6451 atomic_set(&rdev->ih.lock, 0); in si_irq_process()
6507 rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_size = 0; in si_uvd_start()
6519 r = radeon_ring_init(rdev, ring, ring->ring_size, 0, PACKET0(UVD_NO_OP, 0)); in si_uvd_resume()
6586 rdev->ring[TN_RING_TYPE_VCE1_INDEX].ring_size = 0; in si_vce_start()
6587 rdev->ring[TN_RING_TYPE_VCE2_INDEX].ring_size = 0; in si_vce_start()
6599 r = radeon_ring_init(rdev, ring, ring->ring_size, 0, VCE_CMD_NO_OP); in si_vce_resume()
6605 r = radeon_ring_init(rdev, ring, ring->ring_size, 0, VCE_CMD_NO_OP); in si_vce_resume()
6733 DMA_PACKET(DMA_PACKET_NOP, 0, 0, 0, 0)); in si_startup()
6739 DMA_PACKET(DMA_PACKET_NOP, 0, 0, 0, 0)); in si_startup()
6773 return 0; in si_startup()
6823 return 0; in si_suspend()
6950 return 0; in si_init()
7004 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in si_set_uvd_clocks()
7017 return 0; in si_set_uvd_clocks()
7021 16384, 0x03FFFFFF, 0, 128, 5, in si_set_uvd_clocks()
7026 /* set RESET_ANTI_MUX to 0 */ in si_set_uvd_clocks()
7027 WREG32_P(CG_UPLL_FUNC_CNTL_5, 0, ~RESET_ANTI_MUX_MASK); in si_set_uvd_clocks()
7033 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_SLEEP_MASK); in si_set_uvd_clocks()
7036 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_RESET_MASK); in si_set_uvd_clocks()
7048 WREG32_P(CG_UPLL_SPREAD_SPECTRUM, 0, ~SSEN_MASK); in si_set_uvd_clocks()
7053 /* set ref divider to 0 */ in si_set_uvd_clocks()
7054 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_REF_DIV_MASK); in si_set_uvd_clocks()
7057 WREG32_P(CG_UPLL_FUNC_CNTL_4, 0, ~UPLL_SPARE_ISPARE9); in si_set_uvd_clocks()
7070 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_RESET_MASK); in si_set_uvd_clocks()
7075 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_BYPASS_EN_MASK); in si_set_uvd_clocks()
7088 return 0; in si_set_uvd_clocks()
7102 if (radeon_pcie_gen2 == 0) in si_pcie_gen3_enable()
7127 DRM_INFO("enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0\n"); in si_pcie_gen3_enable()
7133 DRM_INFO("enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0\n"); in si_pcie_gen3_enable()
7163 for (i = 0; i < 10; i++) { in si_pcie_gen3_enable()
7253 for (i = 0; i < rdev->usec_timeout; i++) { in si_pcie_gen3_enable()
7255 if ((speed_cntl & LC_INITIATE_LINK_SPEED_CHANGE) == 0) in si_pcie_gen3_enable()
7267 if (radeon_aspm == 0) in si_program_aspm()
7275 data |= LC_XMIT_N_FTS(0x24) | LC_XMIT_N_FTS_OVERRIDE_EN; in si_program_aspm()
7471 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~UPLL_CTLREQ_MASK); in si_vce_send_vcepll_ctlreq()
7479 for (i = 0; i < 100; ++i) { in si_vce_send_vcepll_ctlreq()
7487 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~UPLL_CTLREQ_MASK); in si_vce_send_vcepll_ctlreq()
7494 return 0; in si_vce_send_vcepll_ctlreq()
7499 unsigned fb_div = 0, evclk_div = 0, ecclk_div = 0; in si_set_vce_clocks()
7515 return 0; in si_set_vce_clocks()
7519 16384, 0x03FFFFFF, 0, 128, 5, in si_set_vce_clocks()
7524 /* set RESET_ANTI_MUX to 0 */ in si_set_vce_clocks()
7525 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL_5, 0, ~RESET_ANTI_MUX_MASK); in si_set_vce_clocks()
7531 /* toggle VCEPLL_SLEEP to 1 then back to 0 */ in si_set_vce_clocks()
7534 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_SLEEP_MASK); in si_set_vce_clocks()
7537 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_RESET_MASK); in si_set_vce_clocks()
7549 WREG32_SMC_P(CG_VCEPLL_SPREAD_SPECTRUM, 0, ~SSEN_MASK); in si_set_vce_clocks()
7554 /* set ref divider to 0 */ in si_set_vce_clocks()
7555 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_REF_DIV_MASK); in si_set_vce_clocks()
7566 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_RESET_MASK); in si_set_vce_clocks()
7571 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_BYPASS_EN_MASK); in si_set_vce_clocks()
7584 return 0; in si_set_vce_clocks()