Lines Matching +full:0 +full:x8c20
161 #define DC_HPDx_CONTROL(x) (DC_HPD1_CONTROL + (x * 0xc))
162 #define DC_HPDx_INT_CONTROL(x) (DC_HPD1_INT_CONTROL + (x * 0xc))
163 #define DC_HPDx_INT_STATUS_REG(x) (DC_HPD1_INT_STATUS + (x * 0xc))
167 (0x8000 << 16) | (0x98f4 >> 2),
168 0x00000000,
169 (0x8040 << 16) | (0x98f4 >> 2),
170 0x00000000,
171 (0x8000 << 16) | (0xe80 >> 2),
172 0x00000000,
173 (0x8040 << 16) | (0xe80 >> 2),
174 0x00000000,
175 (0x8000 << 16) | (0x89bc >> 2),
176 0x00000000,
177 (0x8040 << 16) | (0x89bc >> 2),
178 0x00000000,
179 (0x8000 << 16) | (0x8c1c >> 2),
180 0x00000000,
181 (0x8040 << 16) | (0x8c1c >> 2),
182 0x00000000,
183 (0x9c00 << 16) | (0x98f0 >> 2),
184 0x00000000,
185 (0x9c00 << 16) | (0xe7c >> 2),
186 0x00000000,
187 (0x8000 << 16) | (0x9148 >> 2),
188 0x00000000,
189 (0x8040 << 16) | (0x9148 >> 2),
190 0x00000000,
191 (0x9c00 << 16) | (0x9150 >> 2),
192 0x00000000,
193 (0x9c00 << 16) | (0x897c >> 2),
194 0x00000000,
195 (0x9c00 << 16) | (0x8d8c >> 2),
196 0x00000000,
197 (0x9c00 << 16) | (0xac54 >> 2),
198 0X00000000,
199 0x3,
200 (0x9c00 << 16) | (0x98f8 >> 2),
201 0x00000000,
202 (0x9c00 << 16) | (0x9910 >> 2),
203 0x00000000,
204 (0x9c00 << 16) | (0x9914 >> 2),
205 0x00000000,
206 (0x9c00 << 16) | (0x9918 >> 2),
207 0x00000000,
208 (0x9c00 << 16) | (0x991c >> 2),
209 0x00000000,
210 (0x9c00 << 16) | (0x9920 >> 2),
211 0x00000000,
212 (0x9c00 << 16) | (0x9924 >> 2),
213 0x00000000,
214 (0x9c00 << 16) | (0x9928 >> 2),
215 0x00000000,
216 (0x9c00 << 16) | (0x992c >> 2),
217 0x00000000,
218 (0x9c00 << 16) | (0x9930 >> 2),
219 0x00000000,
220 (0x9c00 << 16) | (0x9934 >> 2),
221 0x00000000,
222 (0x9c00 << 16) | (0x9938 >> 2),
223 0x00000000,
224 (0x9c00 << 16) | (0x993c >> 2),
225 0x00000000,
226 (0x9c00 << 16) | (0x9940 >> 2),
227 0x00000000,
228 (0x9c00 << 16) | (0x9944 >> 2),
229 0x00000000,
230 (0x9c00 << 16) | (0x9948 >> 2),
231 0x00000000,
232 (0x9c00 << 16) | (0x994c >> 2),
233 0x00000000,
234 (0x9c00 << 16) | (0x9950 >> 2),
235 0x00000000,
236 (0x9c00 << 16) | (0x9954 >> 2),
237 0x00000000,
238 (0x9c00 << 16) | (0x9958 >> 2),
239 0x00000000,
240 (0x9c00 << 16) | (0x995c >> 2),
241 0x00000000,
242 (0x9c00 << 16) | (0x9960 >> 2),
243 0x00000000,
244 (0x9c00 << 16) | (0x9964 >> 2),
245 0x00000000,
246 (0x9c00 << 16) | (0x9968 >> 2),
247 0x00000000,
248 (0x9c00 << 16) | (0x996c >> 2),
249 0x00000000,
250 (0x9c00 << 16) | (0x9970 >> 2),
251 0x00000000,
252 (0x9c00 << 16) | (0x9974 >> 2),
253 0x00000000,
254 (0x9c00 << 16) | (0x9978 >> 2),
255 0x00000000,
256 (0x9c00 << 16) | (0x997c >> 2),
257 0x00000000,
258 (0x9c00 << 16) | (0x9980 >> 2),
259 0x00000000,
260 (0x9c00 << 16) | (0x9984 >> 2),
261 0x00000000,
262 (0x9c00 << 16) | (0x9988 >> 2),
263 0x00000000,
264 (0x9c00 << 16) | (0x998c >> 2),
265 0x00000000,
266 (0x9c00 << 16) | (0x8c00 >> 2),
267 0x00000000,
268 (0x9c00 << 16) | (0x8c14 >> 2),
269 0x00000000,
270 (0x9c00 << 16) | (0x8c04 >> 2),
271 0x00000000,
272 (0x9c00 << 16) | (0x8c08 >> 2),
273 0x00000000,
274 (0x8000 << 16) | (0x9b7c >> 2),
275 0x00000000,
276 (0x8040 << 16) | (0x9b7c >> 2),
277 0x00000000,
278 (0x8000 << 16) | (0xe84 >> 2),
279 0x00000000,
280 (0x8040 << 16) | (0xe84 >> 2),
281 0x00000000,
282 (0x8000 << 16) | (0x89c0 >> 2),
283 0x00000000,
284 (0x8040 << 16) | (0x89c0 >> 2),
285 0x00000000,
286 (0x8000 << 16) | (0x914c >> 2),
287 0x00000000,
288 (0x8040 << 16) | (0x914c >> 2),
289 0x00000000,
290 (0x8000 << 16) | (0x8c20 >> 2),
291 0x00000000,
292 (0x8040 << 16) | (0x8c20 >> 2),
293 0x00000000,
294 (0x8000 << 16) | (0x9354 >> 2),
295 0x00000000,
296 (0x8040 << 16) | (0x9354 >> 2),
297 0x00000000,
298 (0x9c00 << 16) | (0x9060 >> 2),
299 0x00000000,
300 (0x9c00 << 16) | (0x9364 >> 2),
301 0x00000000,
302 (0x9c00 << 16) | (0x9100 >> 2),
303 0x00000000,
304 (0x9c00 << 16) | (0x913c >> 2),
305 0x00000000,
306 (0x8000 << 16) | (0x90e0 >> 2),
307 0x00000000,
308 (0x8000 << 16) | (0x90e4 >> 2),
309 0x00000000,
310 (0x8000 << 16) | (0x90e8 >> 2),
311 0x00000000,
312 (0x8040 << 16) | (0x90e0 >> 2),
313 0x00000000,
314 (0x8040 << 16) | (0x90e4 >> 2),
315 0x00000000,
316 (0x8040 << 16) | (0x90e8 >> 2),
317 0x00000000,
318 (0x9c00 << 16) | (0x8bcc >> 2),
319 0x00000000,
320 (0x9c00 << 16) | (0x8b24 >> 2),
321 0x00000000,
322 (0x9c00 << 16) | (0x88c4 >> 2),
323 0x00000000,
324 (0x9c00 << 16) | (0x8e50 >> 2),
325 0x00000000,
326 (0x9c00 << 16) | (0x8c0c >> 2),
327 0x00000000,
328 (0x9c00 << 16) | (0x8e58 >> 2),
329 0x00000000,
330 (0x9c00 << 16) | (0x8e5c >> 2),
331 0x00000000,
332 (0x9c00 << 16) | (0x9508 >> 2),
333 0x00000000,
334 (0x9c00 << 16) | (0x950c >> 2),
335 0x00000000,
336 (0x9c00 << 16) | (0x9494 >> 2),
337 0x00000000,
338 (0x9c00 << 16) | (0xac0c >> 2),
339 0x00000000,
340 (0x9c00 << 16) | (0xac10 >> 2),
341 0x00000000,
342 (0x9c00 << 16) | (0xac14 >> 2),
343 0x00000000,
344 (0x9c00 << 16) | (0xae00 >> 2),
345 0x00000000,
346 (0x9c00 << 16) | (0xac08 >> 2),
347 0x00000000,
348 (0x9c00 << 16) | (0x88d4 >> 2),
349 0x00000000,
350 (0x9c00 << 16) | (0x88c8 >> 2),
351 0x00000000,
352 (0x9c00 << 16) | (0x88cc >> 2),
353 0x00000000,
354 (0x9c00 << 16) | (0x89b0 >> 2),
355 0x00000000,
356 (0x9c00 << 16) | (0x8b10 >> 2),
357 0x00000000,
358 (0x9c00 << 16) | (0x8a14 >> 2),
359 0x00000000,
360 (0x9c00 << 16) | (0x9830 >> 2),
361 0x00000000,
362 (0x9c00 << 16) | (0x9834 >> 2),
363 0x00000000,
364 (0x9c00 << 16) | (0x9838 >> 2),
365 0x00000000,
366 (0x9c00 << 16) | (0x9a10 >> 2),
367 0x00000000,
368 (0x8000 << 16) | (0x9870 >> 2),
369 0x00000000,
370 (0x8000 << 16) | (0x9874 >> 2),
371 0x00000000,
372 (0x8001 << 16) | (0x9870 >> 2),
373 0x00000000,
374 (0x8001 << 16) | (0x9874 >> 2),
375 0x00000000,
376 (0x8040 << 16) | (0x9870 >> 2),
377 0x00000000,
378 (0x8040 << 16) | (0x9874 >> 2),
379 0x00000000,
380 (0x8041 << 16) | (0x9870 >> 2),
381 0x00000000,
382 (0x8041 << 16) | (0x9874 >> 2),
383 0x00000000,
384 0x00000000
389 0xc424, 0xffffffff, 0x00601005,
390 0xc47c, 0xffffffff, 0x10104040,
391 0xc488, 0xffffffff, 0x0100000a,
392 0xc314, 0xffffffff, 0x00000800,
393 0xc30c, 0xffffffff, 0x800000f4,
394 0xf4a8, 0xffffffff, 0x00000000
399 0x9a10, 0x00010000, 0x00018208,
400 0x9830, 0xffffffff, 0x00000000,
401 0x9834, 0xf00fffff, 0x00000400,
402 0x9838, 0x0002021c, 0x00020200,
403 0xc78, 0x00000080, 0x00000000,
404 0xd030, 0x000300c0, 0x00800040,
405 0xd830, 0x000300c0, 0x00800040,
406 0x5bb0, 0x000000f0, 0x00000070,
407 0x5bc0, 0x00200000, 0x50100000,
408 0x7030, 0x31000311, 0x00000011,
409 0x277c, 0x00000003, 0x000007ff,
410 0x240c, 0x000007ff, 0x00000000,
411 0x8a14, 0xf000001f, 0x00000007,
412 0x8b24, 0xffffffff, 0x00ffffff,
413 0x8b10, 0x0000ff0f, 0x00000000,
414 0x28a4c, 0x07ffffff, 0x4e000000,
415 0x28350, 0x3f3f3fff, 0x2a00126a,
416 0x30, 0x000000ff, 0x0040,
417 0x34, 0x00000040, 0x00004040,
418 0x9100, 0x07ffffff, 0x03000000,
419 0x8e88, 0x01ff1f3f, 0x00000000,
420 0x8e84, 0x01ff1f3f, 0x00000000,
421 0x9060, 0x0000007f, 0x00000020,
422 0x9508, 0x00010000, 0x00010000,
423 0xac14, 0x00000200, 0x000002fb,
424 0xac10, 0xffffffff, 0x0000543b,
425 0xac0c, 0xffffffff, 0xa9210876,
426 0x88d0, 0xffffffff, 0x000fff40,
427 0x88d4, 0x0000001f, 0x00000010,
428 0x1410, 0x20000000, 0x20fffed8,
429 0x15c0, 0x000c0fc0, 0x000c0400
434 0xc64, 0x00000001, 0x00000001
439 0xc424, 0xffffffff, 0x00601004,
440 0xc47c, 0xffffffff, 0x10102020,
441 0xc488, 0xffffffff, 0x01000020,
442 0xc314, 0xffffffff, 0x00000800,
443 0xc30c, 0xffffffff, 0x800000a4
448 0x9a10, 0x00010000, 0x00018208,
449 0x9830, 0xffffffff, 0x00000000,
450 0x9834, 0xf00fffff, 0x00000400,
451 0x9838, 0x0002021c, 0x00020200,
452 0xc78, 0x00000080, 0x00000000,
453 0xd030, 0x000300c0, 0x00800040,
454 0xd830, 0x000300c0, 0x00800040,
455 0x5bb0, 0x000000f0, 0x00000070,
456 0x5bc0, 0x00200000, 0x50100000,
457 0x7030, 0x31000311, 0x00000011,
458 0x2ae4, 0x00073ffe, 0x000022a2,
459 0x240c, 0x000007ff, 0x00000000,
460 0x8a14, 0xf000001f, 0x00000007,
461 0x8b24, 0xffffffff, 0x00ffffff,
462 0x8b10, 0x0000ff0f, 0x00000000,
463 0x28a4c, 0x07ffffff, 0x4e000000,
464 0x28350, 0x3f3f3fff, 0x2a00126a,
465 0x30, 0x000000ff, 0x0040,
466 0x34, 0x00000040, 0x00004040,
467 0x9100, 0x07ffffff, 0x03000000,
468 0x9060, 0x0000007f, 0x00000020,
469 0x9508, 0x00010000, 0x00010000,
470 0xac14, 0x000003ff, 0x000000f7,
471 0xac10, 0xffffffff, 0x00000000,
472 0xac0c, 0xffffffff, 0x32761054,
473 0x88d4, 0x0000001f, 0x00000010,
474 0x15c0, 0x000c0fc0, 0x000c0400
479 0xc424, 0xffffffff, 0x033f1005,
480 0xc47c, 0xffffffff, 0x10808020,
481 0xc488, 0xffffffff, 0x00800008,
482 0xc314, 0xffffffff, 0x00001000,
483 0xc30c, 0xffffffff, 0x80010014
488 0x9a10, 0x00010000, 0x00018208,
489 0x9830, 0xffffffff, 0x00000000,
490 0x9834, 0xf00fffff, 0x00000400,
491 0x9838, 0x0002021c, 0x00020200,
492 0xc78, 0x00000080, 0x00000000,
493 0xd030, 0x000300c0, 0x00800040,
494 0xd030, 0x000300c0, 0x00800040,
495 0xd830, 0x000300c0, 0x00800040,
496 0xd830, 0x000300c0, 0x00800040,
497 0x5bb0, 0x000000f0, 0x00000070,
498 0x5bc0, 0x00200000, 0x50100000,
499 0x7030, 0x31000311, 0x00000011,
500 0x2ae4, 0x00073ffe, 0x000022a2,
501 0x2ae4, 0x00073ffe, 0x000022a2,
502 0x2ae4, 0x00073ffe, 0x000022a2,
503 0x240c, 0x000007ff, 0x00000000,
504 0x240c, 0x000007ff, 0x00000000,
505 0x240c, 0x000007ff, 0x00000000,
506 0x8a14, 0xf000001f, 0x00000007,
507 0x8a14, 0xf000001f, 0x00000007,
508 0x8a14, 0xf000001f, 0x00000007,
509 0x8b24, 0xffffffff, 0x00ffffff,
510 0x8b10, 0x0000ff0f, 0x00000000,
511 0x28a4c, 0x07ffffff, 0x4e000000,
512 0x28350, 0x3f3f3fff, 0x0000124a,
513 0x28350, 0x3f3f3fff, 0x0000124a,
514 0x28350, 0x3f3f3fff, 0x0000124a,
515 0x30, 0x000000ff, 0x0040,
516 0x34, 0x00000040, 0x00004040,
517 0x9100, 0x07ffffff, 0x03000000,
518 0x9100, 0x07ffffff, 0x03000000,
519 0x8e88, 0x01ff1f3f, 0x00000000,
520 0x8e88, 0x01ff1f3f, 0x00000000,
521 0x8e88, 0x01ff1f3f, 0x00000000,
522 0x8e84, 0x01ff1f3f, 0x00000000,
523 0x8e84, 0x01ff1f3f, 0x00000000,
524 0x8e84, 0x01ff1f3f, 0x00000000,
525 0x9060, 0x0000007f, 0x00000020,
526 0x9508, 0x00010000, 0x00010000,
527 0xac14, 0x000003ff, 0x00000003,
528 0xac14, 0x000003ff, 0x00000003,
529 0xac14, 0x000003ff, 0x00000003,
530 0xac10, 0xffffffff, 0x00000000,
531 0xac10, 0xffffffff, 0x00000000,
532 0xac10, 0xffffffff, 0x00000000,
533 0xac0c, 0xffffffff, 0x00001032,
534 0xac0c, 0xffffffff, 0x00001032,
535 0xac0c, 0xffffffff, 0x00001032,
536 0x88d4, 0x0000001f, 0x00000010,
537 0x88d4, 0x0000001f, 0x00000010,
538 0x88d4, 0x0000001f, 0x00000010,
539 0x15c0, 0x000c0fc0, 0x000c0400
544 0xc424, 0xffffffff, 0x00601005,
545 0xc47c, 0xffffffff, 0x10104040,
546 0xc488, 0xffffffff, 0x0100000a,
547 0xc314, 0xffffffff, 0x00000800,
548 0xc30c, 0xffffffff, 0x800000f4
553 0x9a10, 0x00010000, 0x00018208,
554 0x9830, 0xffffffff, 0x00000000,
555 0x9834, 0xf00fffff, 0x00000400,
556 0x9838, 0x0002021c, 0x00020200,
557 0xc78, 0x00000080, 0x00000000,
558 0xd030, 0x000300c0, 0x00800040,
559 0xd830, 0x000300c0, 0x00800040,
560 0x5bb0, 0x000000f0, 0x00000070,
561 0x5bc0, 0x00200000, 0x50100000,
562 0x7030, 0x31000311, 0x00000011,
563 0x2ae4, 0x00073ffe, 0x000022a2,
564 0x240c, 0x000007ff, 0x00000000,
565 0x8a14, 0xf000001f, 0x00000007,
566 0x8b24, 0xffffffff, 0x00ffffff,
567 0x8b10, 0x0000ff0f, 0x00000000,
568 0x28a4c, 0x07ffffff, 0x4e000000,
569 0x28350, 0x3f3f3fff, 0x00000082,
570 0x30, 0x000000ff, 0x0040,
571 0x34, 0x00000040, 0x00004040,
572 0x9100, 0x07ffffff, 0x03000000,
573 0x9060, 0x0000007f, 0x00000020,
574 0x9508, 0x00010000, 0x00010000,
575 0xac14, 0x000003ff, 0x000000f3,
576 0xac10, 0xffffffff, 0x00000000,
577 0xac0c, 0xffffffff, 0x00003210,
578 0x88d4, 0x0000001f, 0x00000010,
579 0x15c0, 0x000c0fc0, 0x000c0400
584 0x9a10, 0x00010000, 0x00018208,
585 0x9830, 0xffffffff, 0x00000000,
586 0x9834, 0xf00fffff, 0x00000400,
587 0x9838, 0x0002021c, 0x00020200,
588 0xd0c0, 0xff000fff, 0x00000100,
589 0xd030, 0x000300c0, 0x00800040,
590 0xd8c0, 0xff000fff, 0x00000100,
591 0xd830, 0x000300c0, 0x00800040,
592 0x2ae4, 0x00073ffe, 0x000022a2,
593 0x240c, 0x000007ff, 0x00000000,
594 0x8a14, 0xf000001f, 0x00000007,
595 0x8b24, 0xffffffff, 0x00ffffff,
596 0x8b10, 0x0000ff0f, 0x00000000,
597 0x28a4c, 0x07ffffff, 0x4e000000,
598 0x28350, 0x3f3f3fff, 0x00000000,
599 0x30, 0x000000ff, 0x0040,
600 0x34, 0x00000040, 0x00004040,
601 0x9100, 0x03e00000, 0x03600000,
602 0x9060, 0x0000007f, 0x00000020,
603 0x9508, 0x00010000, 0x00010000,
604 0xac14, 0x000003ff, 0x000000f1,
605 0xac10, 0xffffffff, 0x00000000,
606 0xac0c, 0xffffffff, 0x00003210,
607 0x88d4, 0x0000001f, 0x00000010,
608 0x15c0, 0x000c0fc0, 0x000c0400
613 0x98f8, 0xffffffff, 0x02010001
618 0xc400, 0xffffffff, 0xfffffffc,
619 0x802c, 0xffffffff, 0xe0000000,
620 0x9a60, 0xffffffff, 0x00000100,
621 0x92a4, 0xffffffff, 0x00000100,
622 0xc164, 0xffffffff, 0x00000100,
623 0x9774, 0xffffffff, 0x00000100,
624 0x8984, 0xffffffff, 0x06000100,
625 0x8a18, 0xffffffff, 0x00000100,
626 0x92a0, 0xffffffff, 0x00000100,
627 0xc380, 0xffffffff, 0x00000100,
628 0x8b28, 0xffffffff, 0x00000100,
629 0x9144, 0xffffffff, 0x00000100,
630 0x8d88, 0xffffffff, 0x00000100,
631 0x8d8c, 0xffffffff, 0x00000100,
632 0x9030, 0xffffffff, 0x00000100,
633 0x9034, 0xffffffff, 0x00000100,
634 0x9038, 0xffffffff, 0x00000100,
635 0x903c, 0xffffffff, 0x00000100,
636 0xad80, 0xffffffff, 0x00000100,
637 0xac54, 0xffffffff, 0x00000100,
638 0x897c, 0xffffffff, 0x06000100,
639 0x9868, 0xffffffff, 0x00000100,
640 0x9510, 0xffffffff, 0x00000100,
641 0xaf04, 0xffffffff, 0x00000100,
642 0xae04, 0xffffffff, 0x00000100,
643 0x949c, 0xffffffff, 0x00000100,
644 0x802c, 0xffffffff, 0xe0000000,
645 0x9160, 0xffffffff, 0x00010000,
646 0x9164, 0xffffffff, 0x00030002,
647 0x9168, 0xffffffff, 0x00040007,
648 0x916c, 0xffffffff, 0x00060005,
649 0x9170, 0xffffffff, 0x00090008,
650 0x9174, 0xffffffff, 0x00020001,
651 0x9178, 0xffffffff, 0x00040003,
652 0x917c, 0xffffffff, 0x00000007,
653 0x9180, 0xffffffff, 0x00060005,
654 0x9184, 0xffffffff, 0x00090008,
655 0x9188, 0xffffffff, 0x00030002,
656 0x918c, 0xffffffff, 0x00050004,
657 0x9190, 0xffffffff, 0x00000008,
658 0x9194, 0xffffffff, 0x00070006,
659 0x9198, 0xffffffff, 0x000a0009,
660 0x919c, 0xffffffff, 0x00040003,
661 0x91a0, 0xffffffff, 0x00060005,
662 0x91a4, 0xffffffff, 0x00000009,
663 0x91a8, 0xffffffff, 0x00080007,
664 0x91ac, 0xffffffff, 0x000b000a,
665 0x91b0, 0xffffffff, 0x00050004,
666 0x91b4, 0xffffffff, 0x00070006,
667 0x91b8, 0xffffffff, 0x0008000b,
668 0x91bc, 0xffffffff, 0x000a0009,
669 0x91c0, 0xffffffff, 0x000d000c,
670 0x91c4, 0xffffffff, 0x00060005,
671 0x91c8, 0xffffffff, 0x00080007,
672 0x91cc, 0xffffffff, 0x0000000b,
673 0x91d0, 0xffffffff, 0x000a0009,
674 0x91d4, 0xffffffff, 0x000d000c,
675 0x91d8, 0xffffffff, 0x00070006,
676 0x91dc, 0xffffffff, 0x00090008,
677 0x91e0, 0xffffffff, 0x0000000c,
678 0x91e4, 0xffffffff, 0x000b000a,
679 0x91e8, 0xffffffff, 0x000e000d,
680 0x91ec, 0xffffffff, 0x00080007,
681 0x91f0, 0xffffffff, 0x000a0009,
682 0x91f4, 0xffffffff, 0x0000000d,
683 0x91f8, 0xffffffff, 0x000c000b,
684 0x91fc, 0xffffffff, 0x000f000e,
685 0x9200, 0xffffffff, 0x00090008,
686 0x9204, 0xffffffff, 0x000b000a,
687 0x9208, 0xffffffff, 0x000c000f,
688 0x920c, 0xffffffff, 0x000e000d,
689 0x9210, 0xffffffff, 0x00110010,
690 0x9214, 0xffffffff, 0x000a0009,
691 0x9218, 0xffffffff, 0x000c000b,
692 0x921c, 0xffffffff, 0x0000000f,
693 0x9220, 0xffffffff, 0x000e000d,
694 0x9224, 0xffffffff, 0x00110010,
695 0x9228, 0xffffffff, 0x000b000a,
696 0x922c, 0xffffffff, 0x000d000c,
697 0x9230, 0xffffffff, 0x00000010,
698 0x9234, 0xffffffff, 0x000f000e,
699 0x9238, 0xffffffff, 0x00120011,
700 0x923c, 0xffffffff, 0x000c000b,
701 0x9240, 0xffffffff, 0x000e000d,
702 0x9244, 0xffffffff, 0x00000011,
703 0x9248, 0xffffffff, 0x0010000f,
704 0x924c, 0xffffffff, 0x00130012,
705 0x9250, 0xffffffff, 0x000d000c,
706 0x9254, 0xffffffff, 0x000f000e,
707 0x9258, 0xffffffff, 0x00100013,
708 0x925c, 0xffffffff, 0x00120011,
709 0x9260, 0xffffffff, 0x00150014,
710 0x9264, 0xffffffff, 0x000e000d,
711 0x9268, 0xffffffff, 0x0010000f,
712 0x926c, 0xffffffff, 0x00000013,
713 0x9270, 0xffffffff, 0x00120011,
714 0x9274, 0xffffffff, 0x00150014,
715 0x9278, 0xffffffff, 0x000f000e,
716 0x927c, 0xffffffff, 0x00110010,
717 0x9280, 0xffffffff, 0x00000014,
718 0x9284, 0xffffffff, 0x00130012,
719 0x9288, 0xffffffff, 0x00160015,
720 0x928c, 0xffffffff, 0x0010000f,
721 0x9290, 0xffffffff, 0x00120011,
722 0x9294, 0xffffffff, 0x00000015,
723 0x9298, 0xffffffff, 0x00140013,
724 0x929c, 0xffffffff, 0x00170016,
725 0x9150, 0xffffffff, 0x96940200,
726 0x8708, 0xffffffff, 0x00900100,
727 0xc478, 0xffffffff, 0x00000080,
728 0xc404, 0xffffffff, 0x0020003f,
729 0x30, 0xffffffff, 0x0000001c,
730 0x34, 0x000f0000, 0x000f0000,
731 0x160c, 0xffffffff, 0x00000100,
732 0x1024, 0xffffffff, 0x00000100,
733 0x102c, 0x00000101, 0x00000000,
734 0x20a8, 0xffffffff, 0x00000104,
735 0x264c, 0x000c0000, 0x000c0000,
736 0x2648, 0x000c0000, 0x000c0000,
737 0x55e4, 0xff000fff, 0x00000100,
738 0x55e8, 0x00000001, 0x00000001,
739 0x2f50, 0x00000001, 0x00000001,
740 0x30cc, 0xc0000fff, 0x00000104,
741 0xc1e4, 0x00000001, 0x00000001,
742 0xd0c0, 0xfffffff0, 0x00000100,
743 0xd8c0, 0xfffffff0, 0x00000100
748 0xc400, 0xffffffff, 0xfffffffc,
749 0x802c, 0xffffffff, 0xe0000000,
750 0x9a60, 0xffffffff, 0x00000100,
751 0x92a4, 0xffffffff, 0x00000100,
752 0xc164, 0xffffffff, 0x00000100,
753 0x9774, 0xffffffff, 0x00000100,
754 0x8984, 0xffffffff, 0x06000100,
755 0x8a18, 0xffffffff, 0x00000100,
756 0x92a0, 0xffffffff, 0x00000100,
757 0xc380, 0xffffffff, 0x00000100,
758 0x8b28, 0xffffffff, 0x00000100,
759 0x9144, 0xffffffff, 0x00000100,
760 0x8d88, 0xffffffff, 0x00000100,
761 0x8d8c, 0xffffffff, 0x00000100,
762 0x9030, 0xffffffff, 0x00000100,
763 0x9034, 0xffffffff, 0x00000100,
764 0x9038, 0xffffffff, 0x00000100,
765 0x903c, 0xffffffff, 0x00000100,
766 0xad80, 0xffffffff, 0x00000100,
767 0xac54, 0xffffffff, 0x00000100,
768 0x897c, 0xffffffff, 0x06000100,
769 0x9868, 0xffffffff, 0x00000100,
770 0x9510, 0xffffffff, 0x00000100,
771 0xaf04, 0xffffffff, 0x00000100,
772 0xae04, 0xffffffff, 0x00000100,
773 0x949c, 0xffffffff, 0x00000100,
774 0x802c, 0xffffffff, 0xe0000000,
775 0x9160, 0xffffffff, 0x00010000,
776 0x9164, 0xffffffff, 0x00030002,
777 0x9168, 0xffffffff, 0x00040007,
778 0x916c, 0xffffffff, 0x00060005,
779 0x9170, 0xffffffff, 0x00090008,
780 0x9174, 0xffffffff, 0x00020001,
781 0x9178, 0xffffffff, 0x00040003,
782 0x917c, 0xffffffff, 0x00000007,
783 0x9180, 0xffffffff, 0x00060005,
784 0x9184, 0xffffffff, 0x00090008,
785 0x9188, 0xffffffff, 0x00030002,
786 0x918c, 0xffffffff, 0x00050004,
787 0x9190, 0xffffffff, 0x00000008,
788 0x9194, 0xffffffff, 0x00070006,
789 0x9198, 0xffffffff, 0x000a0009,
790 0x919c, 0xffffffff, 0x00040003,
791 0x91a0, 0xffffffff, 0x00060005,
792 0x91a4, 0xffffffff, 0x00000009,
793 0x91a8, 0xffffffff, 0x00080007,
794 0x91ac, 0xffffffff, 0x000b000a,
795 0x91b0, 0xffffffff, 0x00050004,
796 0x91b4, 0xffffffff, 0x00070006,
797 0x91b8, 0xffffffff, 0x0008000b,
798 0x91bc, 0xffffffff, 0x000a0009,
799 0x91c0, 0xffffffff, 0x000d000c,
800 0x9200, 0xffffffff, 0x00090008,
801 0x9204, 0xffffffff, 0x000b000a,
802 0x9208, 0xffffffff, 0x000c000f,
803 0x920c, 0xffffffff, 0x000e000d,
804 0x9210, 0xffffffff, 0x00110010,
805 0x9214, 0xffffffff, 0x000a0009,
806 0x9218, 0xffffffff, 0x000c000b,
807 0x921c, 0xffffffff, 0x0000000f,
808 0x9220, 0xffffffff, 0x000e000d,
809 0x9224, 0xffffffff, 0x00110010,
810 0x9228, 0xffffffff, 0x000b000a,
811 0x922c, 0xffffffff, 0x000d000c,
812 0x9230, 0xffffffff, 0x00000010,
813 0x9234, 0xffffffff, 0x000f000e,
814 0x9238, 0xffffffff, 0x00120011,
815 0x923c, 0xffffffff, 0x000c000b,
816 0x9240, 0xffffffff, 0x000e000d,
817 0x9244, 0xffffffff, 0x00000011,
818 0x9248, 0xffffffff, 0x0010000f,
819 0x924c, 0xffffffff, 0x00130012,
820 0x9250, 0xffffffff, 0x000d000c,
821 0x9254, 0xffffffff, 0x000f000e,
822 0x9258, 0xffffffff, 0x00100013,
823 0x925c, 0xffffffff, 0x00120011,
824 0x9260, 0xffffffff, 0x00150014,
825 0x9150, 0xffffffff, 0x96940200,
826 0x8708, 0xffffffff, 0x00900100,
827 0xc478, 0xffffffff, 0x00000080,
828 0xc404, 0xffffffff, 0x0020003f,
829 0x30, 0xffffffff, 0x0000001c,
830 0x34, 0x000f0000, 0x000f0000,
831 0x160c, 0xffffffff, 0x00000100,
832 0x1024, 0xffffffff, 0x00000100,
833 0x102c, 0x00000101, 0x00000000,
834 0x20a8, 0xffffffff, 0x00000104,
835 0x55e4, 0xff000fff, 0x00000100,
836 0x55e8, 0x00000001, 0x00000001,
837 0x2f50, 0x00000001, 0x00000001,
838 0x30cc, 0xc0000fff, 0x00000104,
839 0xc1e4, 0x00000001, 0x00000001,
840 0xd0c0, 0xfffffff0, 0x00000100,
841 0xd8c0, 0xfffffff0, 0x00000100
846 0xc400, 0xffffffff, 0xfffffffc,
847 0x802c, 0xffffffff, 0xe0000000,
848 0x9a60, 0xffffffff, 0x00000100,
849 0x92a4, 0xffffffff, 0x00000100,
850 0xc164, 0xffffffff, 0x00000100,
851 0x9774, 0xffffffff, 0x00000100,
852 0x8984, 0xffffffff, 0x06000100,
853 0x8a18, 0xffffffff, 0x00000100,
854 0x92a0, 0xffffffff, 0x00000100,
855 0xc380, 0xffffffff, 0x00000100,
856 0x8b28, 0xffffffff, 0x00000100,
857 0x9144, 0xffffffff, 0x00000100,
858 0x8d88, 0xffffffff, 0x00000100,
859 0x8d8c, 0xffffffff, 0x00000100,
860 0x9030, 0xffffffff, 0x00000100,
861 0x9034, 0xffffffff, 0x00000100,
862 0x9038, 0xffffffff, 0x00000100,
863 0x903c, 0xffffffff, 0x00000100,
864 0xad80, 0xffffffff, 0x00000100,
865 0xac54, 0xffffffff, 0x00000100,
866 0x897c, 0xffffffff, 0x06000100,
867 0x9868, 0xffffffff, 0x00000100,
868 0x9510, 0xffffffff, 0x00000100,
869 0xaf04, 0xffffffff, 0x00000100,
870 0xae04, 0xffffffff, 0x00000100,
871 0x949c, 0xffffffff, 0x00000100,
872 0x802c, 0xffffffff, 0xe0000000,
873 0x9160, 0xffffffff, 0x00010000,
874 0x9164, 0xffffffff, 0x00030002,
875 0x9168, 0xffffffff, 0x00040007,
876 0x916c, 0xffffffff, 0x00060005,
877 0x9170, 0xffffffff, 0x00090008,
878 0x9174, 0xffffffff, 0x00020001,
879 0x9178, 0xffffffff, 0x00040003,
880 0x917c, 0xffffffff, 0x00000007,
881 0x9180, 0xffffffff, 0x00060005,
882 0x9184, 0xffffffff, 0x00090008,
883 0x9188, 0xffffffff, 0x00030002,
884 0x918c, 0xffffffff, 0x00050004,
885 0x9190, 0xffffffff, 0x00000008,
886 0x9194, 0xffffffff, 0x00070006,
887 0x9198, 0xffffffff, 0x000a0009,
888 0x919c, 0xffffffff, 0x00040003,
889 0x91a0, 0xffffffff, 0x00060005,
890 0x91a4, 0xffffffff, 0x00000009,
891 0x91a8, 0xffffffff, 0x00080007,
892 0x91ac, 0xffffffff, 0x000b000a,
893 0x91b0, 0xffffffff, 0x00050004,
894 0x91b4, 0xffffffff, 0x00070006,
895 0x91b8, 0xffffffff, 0x0008000b,
896 0x91bc, 0xffffffff, 0x000a0009,
897 0x91c0, 0xffffffff, 0x000d000c,
898 0x9200, 0xffffffff, 0x00090008,
899 0x9204, 0xffffffff, 0x000b000a,
900 0x9208, 0xffffffff, 0x000c000f,
901 0x920c, 0xffffffff, 0x000e000d,
902 0x9210, 0xffffffff, 0x00110010,
903 0x9214, 0xffffffff, 0x000a0009,
904 0x9218, 0xffffffff, 0x000c000b,
905 0x921c, 0xffffffff, 0x0000000f,
906 0x9220, 0xffffffff, 0x000e000d,
907 0x9224, 0xffffffff, 0x00110010,
908 0x9228, 0xffffffff, 0x000b000a,
909 0x922c, 0xffffffff, 0x000d000c,
910 0x9230, 0xffffffff, 0x00000010,
911 0x9234, 0xffffffff, 0x000f000e,
912 0x9238, 0xffffffff, 0x00120011,
913 0x923c, 0xffffffff, 0x000c000b,
914 0x9240, 0xffffffff, 0x000e000d,
915 0x9244, 0xffffffff, 0x00000011,
916 0x9248, 0xffffffff, 0x0010000f,
917 0x924c, 0xffffffff, 0x00130012,
918 0x9250, 0xffffffff, 0x000d000c,
919 0x9254, 0xffffffff, 0x000f000e,
920 0x9258, 0xffffffff, 0x00100013,
921 0x925c, 0xffffffff, 0x00120011,
922 0x9260, 0xffffffff, 0x00150014,
923 0x9150, 0xffffffff, 0x96940200,
924 0x8708, 0xffffffff, 0x00900100,
925 0xc478, 0xffffffff, 0x00000080,
926 0xc404, 0xffffffff, 0x0020003f,
927 0x30, 0xffffffff, 0x0000001c,
928 0x34, 0x000f0000, 0x000f0000,
929 0x160c, 0xffffffff, 0x00000100,
930 0x1024, 0xffffffff, 0x00000100,
931 0x102c, 0x00000101, 0x00000000,
932 0x20a8, 0xffffffff, 0x00000104,
933 0x264c, 0x000c0000, 0x000c0000,
934 0x2648, 0x000c0000, 0x000c0000,
935 0x55e4, 0xff000fff, 0x00000100,
936 0x55e8, 0x00000001, 0x00000001,
937 0x2f50, 0x00000001, 0x00000001,
938 0x30cc, 0xc0000fff, 0x00000104,
939 0xc1e4, 0x00000001, 0x00000001,
940 0xd0c0, 0xfffffff0, 0x00000100,
941 0xd8c0, 0xfffffff0, 0x00000100
946 0xc400, 0xffffffff, 0xfffffffc,
947 0x802c, 0xffffffff, 0xe0000000,
948 0x9a60, 0xffffffff, 0x00000100,
949 0x92a4, 0xffffffff, 0x00000100,
950 0xc164, 0xffffffff, 0x00000100,
951 0x9774, 0xffffffff, 0x00000100,
952 0x8984, 0xffffffff, 0x06000100,
953 0x8a18, 0xffffffff, 0x00000100,
954 0x92a0, 0xffffffff, 0x00000100,
955 0xc380, 0xffffffff, 0x00000100,
956 0x8b28, 0xffffffff, 0x00000100,
957 0x9144, 0xffffffff, 0x00000100,
958 0x8d88, 0xffffffff, 0x00000100,
959 0x8d8c, 0xffffffff, 0x00000100,
960 0x9030, 0xffffffff, 0x00000100,
961 0x9034, 0xffffffff, 0x00000100,
962 0x9038, 0xffffffff, 0x00000100,
963 0x903c, 0xffffffff, 0x00000100,
964 0xad80, 0xffffffff, 0x00000100,
965 0xac54, 0xffffffff, 0x00000100,
966 0x897c, 0xffffffff, 0x06000100,
967 0x9868, 0xffffffff, 0x00000100,
968 0x9510, 0xffffffff, 0x00000100,
969 0xaf04, 0xffffffff, 0x00000100,
970 0xae04, 0xffffffff, 0x00000100,
971 0x949c, 0xffffffff, 0x00000100,
972 0x802c, 0xffffffff, 0xe0000000,
973 0x9160, 0xffffffff, 0x00010000,
974 0x9164, 0xffffffff, 0x00030002,
975 0x9168, 0xffffffff, 0x00040007,
976 0x916c, 0xffffffff, 0x00060005,
977 0x9170, 0xffffffff, 0x00090008,
978 0x9174, 0xffffffff, 0x00020001,
979 0x9178, 0xffffffff, 0x00040003,
980 0x917c, 0xffffffff, 0x00000007,
981 0x9180, 0xffffffff, 0x00060005,
982 0x9184, 0xffffffff, 0x00090008,
983 0x9188, 0xffffffff, 0x00030002,
984 0x918c, 0xffffffff, 0x00050004,
985 0x9190, 0xffffffff, 0x00000008,
986 0x9194, 0xffffffff, 0x00070006,
987 0x9198, 0xffffffff, 0x000a0009,
988 0x919c, 0xffffffff, 0x00040003,
989 0x91a0, 0xffffffff, 0x00060005,
990 0x91a4, 0xffffffff, 0x00000009,
991 0x91a8, 0xffffffff, 0x00080007,
992 0x91ac, 0xffffffff, 0x000b000a,
993 0x91b0, 0xffffffff, 0x00050004,
994 0x91b4, 0xffffffff, 0x00070006,
995 0x91b8, 0xffffffff, 0x0008000b,
996 0x91bc, 0xffffffff, 0x000a0009,
997 0x91c0, 0xffffffff, 0x000d000c,
998 0x91c4, 0xffffffff, 0x00060005,
999 0x91c8, 0xffffffff, 0x00080007,
1000 0x91cc, 0xffffffff, 0x0000000b,
1001 0x91d0, 0xffffffff, 0x000a0009,
1002 0x91d4, 0xffffffff, 0x000d000c,
1003 0x9150, 0xffffffff, 0x96940200,
1004 0x8708, 0xffffffff, 0x00900100,
1005 0xc478, 0xffffffff, 0x00000080,
1006 0xc404, 0xffffffff, 0x0020003f,
1007 0x30, 0xffffffff, 0x0000001c,
1008 0x34, 0x000f0000, 0x000f0000,
1009 0x160c, 0xffffffff, 0x00000100,
1010 0x1024, 0xffffffff, 0x00000100,
1011 0x102c, 0x00000101, 0x00000000,
1012 0x20a8, 0xffffffff, 0x00000104,
1013 0x264c, 0x000c0000, 0x000c0000,
1014 0x2648, 0x000c0000, 0x000c0000,
1015 0x55e4, 0xff000fff, 0x00000100,
1016 0x55e8, 0x00000001, 0x00000001,
1017 0x2f50, 0x00000001, 0x00000001,
1018 0x30cc, 0xc0000fff, 0x00000104,
1019 0xc1e4, 0x00000001, 0x00000001,
1020 0xd0c0, 0xfffffff0, 0x00000100,
1021 0xd8c0, 0xfffffff0, 0x00000100
1026 0xc400, 0xffffffff, 0xfffffffc,
1027 0x802c, 0xffffffff, 0xe0000000,
1028 0x9a60, 0xffffffff, 0x00000100,
1029 0x92a4, 0xffffffff, 0x00000100,
1030 0xc164, 0xffffffff, 0x00000100,
1031 0x9774, 0xffffffff, 0x00000100,
1032 0x8984, 0xffffffff, 0x06000100,
1033 0x8a18, 0xffffffff, 0x00000100,
1034 0x92a0, 0xffffffff, 0x00000100,
1035 0xc380, 0xffffffff, 0x00000100,
1036 0x8b28, 0xffffffff, 0x00000100,
1037 0x9144, 0xffffffff, 0x00000100,
1038 0x8d88, 0xffffffff, 0x00000100,
1039 0x8d8c, 0xffffffff, 0x00000100,
1040 0x9030, 0xffffffff, 0x00000100,
1041 0x9034, 0xffffffff, 0x00000100,
1042 0x9038, 0xffffffff, 0x00000100,
1043 0x903c, 0xffffffff, 0x00000100,
1044 0xad80, 0xffffffff, 0x00000100,
1045 0xac54, 0xffffffff, 0x00000100,
1046 0x897c, 0xffffffff, 0x06000100,
1047 0x9868, 0xffffffff, 0x00000100,
1048 0x9510, 0xffffffff, 0x00000100,
1049 0xaf04, 0xffffffff, 0x00000100,
1050 0xae04, 0xffffffff, 0x00000100,
1051 0x949c, 0xffffffff, 0x00000100,
1052 0x802c, 0xffffffff, 0xe0000000,
1053 0x9160, 0xffffffff, 0x00010000,
1054 0x9164, 0xffffffff, 0x00030002,
1055 0x9168, 0xffffffff, 0x00040007,
1056 0x916c, 0xffffffff, 0x00060005,
1057 0x9170, 0xffffffff, 0x00090008,
1058 0x9174, 0xffffffff, 0x00020001,
1059 0x9178, 0xffffffff, 0x00040003,
1060 0x917c, 0xffffffff, 0x00000007,
1061 0x9180, 0xffffffff, 0x00060005,
1062 0x9184, 0xffffffff, 0x00090008,
1063 0x9188, 0xffffffff, 0x00030002,
1064 0x918c, 0xffffffff, 0x00050004,
1065 0x9190, 0xffffffff, 0x00000008,
1066 0x9194, 0xffffffff, 0x00070006,
1067 0x9198, 0xffffffff, 0x000a0009,
1068 0x919c, 0xffffffff, 0x00040003,
1069 0x91a0, 0xffffffff, 0x00060005,
1070 0x91a4, 0xffffffff, 0x00000009,
1071 0x91a8, 0xffffffff, 0x00080007,
1072 0x91ac, 0xffffffff, 0x000b000a,
1073 0x91b0, 0xffffffff, 0x00050004,
1074 0x91b4, 0xffffffff, 0x00070006,
1075 0x91b8, 0xffffffff, 0x0008000b,
1076 0x91bc, 0xffffffff, 0x000a0009,
1077 0x91c0, 0xffffffff, 0x000d000c,
1078 0x91c4, 0xffffffff, 0x00060005,
1079 0x91c8, 0xffffffff, 0x00080007,
1080 0x91cc, 0xffffffff, 0x0000000b,
1081 0x91d0, 0xffffffff, 0x000a0009,
1082 0x91d4, 0xffffffff, 0x000d000c,
1083 0x9150, 0xffffffff, 0x96940200,
1084 0x8708, 0xffffffff, 0x00900100,
1085 0xc478, 0xffffffff, 0x00000080,
1086 0xc404, 0xffffffff, 0x0020003f,
1087 0x30, 0xffffffff, 0x0000001c,
1088 0x34, 0x000f0000, 0x000f0000,
1089 0x160c, 0xffffffff, 0x00000100,
1090 0x1024, 0xffffffff, 0x00000100,
1091 0x20a8, 0xffffffff, 0x00000104,
1092 0x264c, 0x000c0000, 0x000c0000,
1093 0x2648, 0x000c0000, 0x000c0000,
1094 0x2f50, 0x00000001, 0x00000001,
1095 0x30cc, 0xc0000fff, 0x00000104,
1096 0xc1e4, 0x00000001, 0x00000001,
1097 0xd0c0, 0xfffffff0, 0x00000100,
1098 0xd8c0, 0xfffffff0, 0x00000100
1103 0x353c, 0xffffffff, 0x40000,
1104 0x3538, 0xffffffff, 0x200010ff,
1105 0x353c, 0xffffffff, 0x0,
1106 0x353c, 0xffffffff, 0x0,
1107 0x353c, 0xffffffff, 0x0,
1108 0x353c, 0xffffffff, 0x0,
1109 0x353c, 0xffffffff, 0x0,
1110 0x353c, 0xffffffff, 0x7007,
1111 0x3538, 0xffffffff, 0x300010ff,
1112 0x353c, 0xffffffff, 0x0,
1113 0x353c, 0xffffffff, 0x0,
1114 0x353c, 0xffffffff, 0x0,
1115 0x353c, 0xffffffff, 0x0,
1116 0x353c, 0xffffffff, 0x0,
1117 0x353c, 0xffffffff, 0x400000,
1118 0x3538, 0xffffffff, 0x100010ff,
1119 0x353c, 0xffffffff, 0x0,
1120 0x353c, 0xffffffff, 0x0,
1121 0x353c, 0xffffffff, 0x0,
1122 0x353c, 0xffffffff, 0x0,
1123 0x353c, 0xffffffff, 0x0,
1124 0x353c, 0xffffffff, 0x120200,
1125 0x3538, 0xffffffff, 0x500010ff,
1126 0x353c, 0xffffffff, 0x0,
1127 0x353c, 0xffffffff, 0x0,
1128 0x353c, 0xffffffff, 0x0,
1129 0x353c, 0xffffffff, 0x0,
1130 0x353c, 0xffffffff, 0x0,
1131 0x353c, 0xffffffff, 0x1e1e16,
1132 0x3538, 0xffffffff, 0x600010ff,
1133 0x353c, 0xffffffff, 0x0,
1134 0x353c, 0xffffffff, 0x0,
1135 0x353c, 0xffffffff, 0x0,
1136 0x353c, 0xffffffff, 0x0,
1137 0x353c, 0xffffffff, 0x0,
1138 0x353c, 0xffffffff, 0x171f1e,
1139 0x3538, 0xffffffff, 0x700010ff,
1140 0x353c, 0xffffffff, 0x0,
1141 0x353c, 0xffffffff, 0x0,
1142 0x353c, 0xffffffff, 0x0,
1143 0x353c, 0xffffffff, 0x0,
1144 0x353c, 0xffffffff, 0x0,
1145 0x353c, 0xffffffff, 0x0,
1146 0x3538, 0xffffffff, 0x9ff,
1147 0x3500, 0xffffffff, 0x0,
1148 0x3504, 0xffffffff, 0x10000800,
1149 0x3504, 0xffffffff, 0xf,
1150 0x3504, 0xffffffff, 0xf,
1151 0x3500, 0xffffffff, 0x4,
1152 0x3504, 0xffffffff, 0x1000051e,
1153 0x3504, 0xffffffff, 0xffff,
1154 0x3504, 0xffffffff, 0xffff,
1155 0x3500, 0xffffffff, 0x8,
1156 0x3504, 0xffffffff, 0x80500,
1157 0x3500, 0xffffffff, 0x12,
1158 0x3504, 0xffffffff, 0x9050c,
1159 0x3500, 0xffffffff, 0x1d,
1160 0x3504, 0xffffffff, 0xb052c,
1161 0x3500, 0xffffffff, 0x2a,
1162 0x3504, 0xffffffff, 0x1053e,
1163 0x3500, 0xffffffff, 0x2d,
1164 0x3504, 0xffffffff, 0x10546,
1165 0x3500, 0xffffffff, 0x30,
1166 0x3504, 0xffffffff, 0xa054e,
1167 0x3500, 0xffffffff, 0x3c,
1168 0x3504, 0xffffffff, 0x1055f,
1169 0x3500, 0xffffffff, 0x3f,
1170 0x3504, 0xffffffff, 0x10567,
1171 0x3500, 0xffffffff, 0x42,
1172 0x3504, 0xffffffff, 0x1056f,
1173 0x3500, 0xffffffff, 0x45,
1174 0x3504, 0xffffffff, 0x10572,
1175 0x3500, 0xffffffff, 0x48,
1176 0x3504, 0xffffffff, 0x20575,
1177 0x3500, 0xffffffff, 0x4c,
1178 0x3504, 0xffffffff, 0x190801,
1179 0x3500, 0xffffffff, 0x67,
1180 0x3504, 0xffffffff, 0x1082a,
1181 0x3500, 0xffffffff, 0x6a,
1182 0x3504, 0xffffffff, 0x1b082d,
1183 0x3500, 0xffffffff, 0x87,
1184 0x3504, 0xffffffff, 0x310851,
1185 0x3500, 0xffffffff, 0xba,
1186 0x3504, 0xffffffff, 0x891,
1187 0x3500, 0xffffffff, 0xbc,
1188 0x3504, 0xffffffff, 0x893,
1189 0x3500, 0xffffffff, 0xbe,
1190 0x3504, 0xffffffff, 0x20895,
1191 0x3500, 0xffffffff, 0xc2,
1192 0x3504, 0xffffffff, 0x20899,
1193 0x3500, 0xffffffff, 0xc6,
1194 0x3504, 0xffffffff, 0x2089d,
1195 0x3500, 0xffffffff, 0xca,
1196 0x3504, 0xffffffff, 0x8a1,
1197 0x3500, 0xffffffff, 0xcc,
1198 0x3504, 0xffffffff, 0x8a3,
1199 0x3500, 0xffffffff, 0xce,
1200 0x3504, 0xffffffff, 0x308a5,
1201 0x3500, 0xffffffff, 0xd3,
1202 0x3504, 0xffffffff, 0x6d08cd,
1203 0x3500, 0xffffffff, 0x142,
1204 0x3504, 0xffffffff, 0x2000095a,
1205 0x3504, 0xffffffff, 0x1,
1206 0x3500, 0xffffffff, 0x144,
1207 0x3504, 0xffffffff, 0x301f095b,
1208 0x3500, 0xffffffff, 0x165,
1209 0x3504, 0xffffffff, 0xc094d,
1210 0x3500, 0xffffffff, 0x173,
1211 0x3504, 0xffffffff, 0xf096d,
1212 0x3500, 0xffffffff, 0x184,
1213 0x3504, 0xffffffff, 0x15097f,
1214 0x3500, 0xffffffff, 0x19b,
1215 0x3504, 0xffffffff, 0xc0998,
1216 0x3500, 0xffffffff, 0x1a9,
1217 0x3504, 0xffffffff, 0x409a7,
1218 0x3500, 0xffffffff, 0x1af,
1219 0x3504, 0xffffffff, 0xcdc,
1220 0x3500, 0xffffffff, 0x1b1,
1221 0x3504, 0xffffffff, 0x800,
1222 0x3508, 0xffffffff, 0x6c9b2000,
1223 0x3510, 0xfc00, 0x2000,
1224 0x3544, 0xffffffff, 0xfc0,
1225 0x28d4, 0x00000100, 0x100
1304 * Returns 0 for success or -EINVAL for an invalid register
1321 return 0; in si_get_allowed_info_register()
1358 int actual_temp = 0; in si_get_temp()
1363 if (temp & 0x200) in si_get_temp()
1366 actual_temp = temp & 0x1ff; in si_get_temp()
1376 {0x0000006f, 0x03044000},
1377 {0x00000070, 0x0480c018},
1378 {0x00000071, 0x00000040},
1379 {0x00000072, 0x01000000},
1380 {0x00000074, 0x000000ff},
1381 {0x00000075, 0x00143400},
1382 {0x00000076, 0x08ec0800},
1383 {0x00000077, 0x040000cc},
1384 {0x00000079, 0x00000000},
1385 {0x0000007a, 0x21000409},
1386 {0x0000007c, 0x00000000},
1387 {0x0000007d, 0xe8000000},
1388 {0x0000007e, 0x044408a8},
1389 {0x0000007f, 0x00000003},
1390 {0x00000080, 0x00000000},
1391 {0x00000081, 0x01000000},
1392 {0x00000082, 0x02000000},
1393 {0x00000083, 0x00000000},
1394 {0x00000084, 0xe3f3e4f4},
1395 {0x00000085, 0x00052024},
1396 {0x00000087, 0x00000000},
1397 {0x00000088, 0x66036603},
1398 {0x00000089, 0x01000000},
1399 {0x0000008b, 0x1c0a0000},
1400 {0x0000008c, 0xff010000},
1401 {0x0000008e, 0xffffefff},
1402 {0x0000008f, 0xfff3efff},
1403 {0x00000090, 0xfff3efbf},
1404 {0x00000094, 0x00101101},
1405 {0x00000095, 0x00000fff},
1406 {0x00000096, 0x00116fff},
1407 {0x00000097, 0x60010000},
1408 {0x00000098, 0x10010000},
1409 {0x00000099, 0x00006000},
1410 {0x0000009a, 0x00001000},
1411 {0x0000009f, 0x00a77400}
1415 {0x0000006f, 0x03044000},
1416 {0x00000070, 0x0480c018},
1417 {0x00000071, 0x00000040},
1418 {0x00000072, 0x01000000},
1419 {0x00000074, 0x000000ff},
1420 {0x00000075, 0x00143400},
1421 {0x00000076, 0x08ec0800},
1422 {0x00000077, 0x040000cc},
1423 {0x00000079, 0x00000000},
1424 {0x0000007a, 0x21000409},
1425 {0x0000007c, 0x00000000},
1426 {0x0000007d, 0xe8000000},
1427 {0x0000007e, 0x044408a8},
1428 {0x0000007f, 0x00000003},
1429 {0x00000080, 0x00000000},
1430 {0x00000081, 0x01000000},
1431 {0x00000082, 0x02000000},
1432 {0x00000083, 0x00000000},
1433 {0x00000084, 0xe3f3e4f4},
1434 {0x00000085, 0x00052024},
1435 {0x00000087, 0x00000000},
1436 {0x00000088, 0x66036603},
1437 {0x00000089, 0x01000000},
1438 {0x0000008b, 0x1c0a0000},
1439 {0x0000008c, 0xff010000},
1440 {0x0000008e, 0xffffefff},
1441 {0x0000008f, 0xfff3efff},
1442 {0x00000090, 0xfff3efbf},
1443 {0x00000094, 0x00101101},
1444 {0x00000095, 0x00000fff},
1445 {0x00000096, 0x00116fff},
1446 {0x00000097, 0x60010000},
1447 {0x00000098, 0x10010000},
1448 {0x00000099, 0x00006000},
1449 {0x0000009a, 0x00001000},
1450 {0x0000009f, 0x00a47400}
1454 {0x0000006f, 0x03044000},
1455 {0x00000070, 0x0480c018},
1456 {0x00000071, 0x00000040},
1457 {0x00000072, 0x01000000},
1458 {0x00000074, 0x000000ff},
1459 {0x00000075, 0x00143400},
1460 {0x00000076, 0x08ec0800},
1461 {0x00000077, 0x040000cc},
1462 {0x00000079, 0x00000000},
1463 {0x0000007a, 0x21000409},
1464 {0x0000007c, 0x00000000},
1465 {0x0000007d, 0xe8000000},
1466 {0x0000007e, 0x044408a8},
1467 {0x0000007f, 0x00000003},
1468 {0x00000080, 0x00000000},
1469 {0x00000081, 0x01000000},
1470 {0x00000082, 0x02000000},
1471 {0x00000083, 0x00000000},
1472 {0x00000084, 0xe3f3e4f4},
1473 {0x00000085, 0x00052024},
1474 {0x00000087, 0x00000000},
1475 {0x00000088, 0x66036603},
1476 {0x00000089, 0x01000000},
1477 {0x0000008b, 0x1c0a0000},
1478 {0x0000008c, 0xff010000},
1479 {0x0000008e, 0xffffefff},
1480 {0x0000008f, 0xfff3efff},
1481 {0x00000090, 0xfff3efbf},
1482 {0x00000094, 0x00101101},
1483 {0x00000095, 0x00000fff},
1484 {0x00000096, 0x00116fff},
1485 {0x00000097, 0x60010000},
1486 {0x00000098, 0x10010000},
1487 {0x00000099, 0x00006000},
1488 {0x0000009a, 0x00001000},
1489 {0x0000009f, 0x00a37400}
1493 {0x0000006f, 0x03044000},
1494 {0x00000070, 0x0480c018},
1495 {0x00000071, 0x00000040},
1496 {0x00000072, 0x01000000},
1497 {0x00000074, 0x000000ff},
1498 {0x00000075, 0x00143400},
1499 {0x00000076, 0x08ec0800},
1500 {0x00000077, 0x040000cc},
1501 {0x00000079, 0x00000000},
1502 {0x0000007a, 0x21000409},
1503 {0x0000007c, 0x00000000},
1504 {0x0000007d, 0xe8000000},
1505 {0x0000007e, 0x044408a8},
1506 {0x0000007f, 0x00000003},
1507 {0x00000080, 0x00000000},
1508 {0x00000081, 0x01000000},
1509 {0x00000082, 0x02000000},
1510 {0x00000083, 0x00000000},
1511 {0x00000084, 0xe3f3e4f4},
1512 {0x00000085, 0x00052024},
1513 {0x00000087, 0x00000000},
1514 {0x00000088, 0x66036603},
1515 {0x00000089, 0x01000000},
1516 {0x0000008b, 0x1c0a0000},
1517 {0x0000008c, 0xff010000},
1518 {0x0000008e, 0xffffefff},
1519 {0x0000008f, 0xfff3efff},
1520 {0x00000090, 0xfff3efbf},
1521 {0x00000094, 0x00101101},
1522 {0x00000095, 0x00000fff},
1523 {0x00000096, 0x00116fff},
1524 {0x00000097, 0x60010000},
1525 {0x00000098, 0x10010000},
1526 {0x00000099, 0x00006000},
1527 {0x0000009a, 0x00001000},
1528 {0x0000009f, 0x00a17730}
1532 {0x0000006f, 0x03044000},
1533 {0x00000070, 0x0480c018},
1534 {0x00000071, 0x00000040},
1535 {0x00000072, 0x01000000},
1536 {0x00000074, 0x000000ff},
1537 {0x00000075, 0x00143400},
1538 {0x00000076, 0x08ec0800},
1539 {0x00000077, 0x040000cc},
1540 {0x00000079, 0x00000000},
1541 {0x0000007a, 0x21000409},
1542 {0x0000007c, 0x00000000},
1543 {0x0000007d, 0xe8000000},
1544 {0x0000007e, 0x044408a8},
1545 {0x0000007f, 0x00000003},
1546 {0x00000080, 0x00000000},
1547 {0x00000081, 0x01000000},
1548 {0x00000082, 0x02000000},
1549 {0x00000083, 0x00000000},
1550 {0x00000084, 0xe3f3e4f4},
1551 {0x00000085, 0x00052024},
1552 {0x00000087, 0x00000000},
1553 {0x00000088, 0x66036603},
1554 {0x00000089, 0x01000000},
1555 {0x0000008b, 0x1c0a0000},
1556 {0x0000008c, 0xff010000},
1557 {0x0000008e, 0xffffefff},
1558 {0x0000008f, 0xfff3efff},
1559 {0x00000090, 0xfff3efbf},
1560 {0x00000094, 0x00101101},
1561 {0x00000095, 0x00000fff},
1562 {0x00000096, 0x00116fff},
1563 {0x00000097, 0x60010000},
1564 {0x00000098, 0x10010000},
1565 {0x00000099, 0x00006000},
1566 {0x0000009a, 0x00001000},
1567 {0x0000009f, 0x00a07730}
1625 if (running == 0) { in si_mc_load_microcode()
1627 WREG32(MC_SEQ_SUP_CNTL, 0x00000008); in si_mc_load_microcode()
1628 WREG32(MC_SEQ_SUP_CNTL, 0x00000010); in si_mc_load_microcode()
1631 for (i = 0; i < regs_size; i++) { in si_mc_load_microcode()
1641 for (i = 0; i < ucode_size; i++) { in si_mc_load_microcode()
1649 WREG32(MC_SEQ_SUP_CNTL, 0x00000008); in si_mc_load_microcode()
1650 WREG32(MC_SEQ_SUP_CNTL, 0x00000004); in si_mc_load_microcode()
1651 WREG32(MC_SEQ_SUP_CNTL, 0x00000001); in si_mc_load_microcode()
1654 for (i = 0; i < rdev->usec_timeout; i++) { in si_mc_load_microcode()
1659 for (i = 0; i < rdev->usec_timeout; i++) { in si_mc_load_microcode()
1666 return 0; in si_mc_load_microcode()
1677 int new_fw = 0; in si_init_microcode()
1698 if ((rdev->pdev->revision == 0x81) && in si_init_microcode()
1699 ((rdev->pdev->device == 0x6810) || in si_init_microcode()
1700 (rdev->pdev->device == 0x6811))) in si_init_microcode()
1713 if (((rdev->pdev->device == 0x6820) && in si_init_microcode()
1714 ((rdev->pdev->revision == 0x81) || in si_init_microcode()
1715 (rdev->pdev->revision == 0x83))) || in si_init_microcode()
1716 ((rdev->pdev->device == 0x6821) && in si_init_microcode()
1717 ((rdev->pdev->revision == 0x83) || in si_init_microcode()
1718 (rdev->pdev->revision == 0x87))) || in si_init_microcode()
1719 ((rdev->pdev->revision == 0x87) && in si_init_microcode()
1720 ((rdev->pdev->device == 0x6823) || in si_init_microcode()
1721 (rdev->pdev->device == 0x682b)))) in si_init_microcode()
1734 if (((rdev->pdev->revision == 0x81) && in si_init_microcode()
1735 ((rdev->pdev->device == 0x6600) || in si_init_microcode()
1736 (rdev->pdev->device == 0x6604) || in si_init_microcode()
1737 (rdev->pdev->device == 0x6605) || in si_init_microcode()
1738 (rdev->pdev->device == 0x6610))) || in si_init_microcode()
1739 ((rdev->pdev->revision == 0x83) && in si_init_microcode()
1740 (rdev->pdev->device == 0x6610))) in si_init_microcode()
1752 if (((rdev->pdev->revision == 0x81) && in si_init_microcode()
1753 (rdev->pdev->device == 0x6660)) || in si_init_microcode()
1754 ((rdev->pdev->revision == 0x83) && in si_init_microcode()
1755 ((rdev->pdev->device == 0x6660) || in si_init_microcode()
1756 (rdev->pdev->device == 0x6663) || in si_init_microcode()
1757 (rdev->pdev->device == 0x6665) || in si_init_microcode()
1758 (rdev->pdev->device == 0x6667)))) in si_init_microcode()
1760 else if ((rdev->pdev->revision == 0xc3) && in si_init_microcode()
1761 (rdev->pdev->device == 0x6665)) in si_init_microcode()
1775 if (((RREG32(MC_SEQ_MISC0) & 0xff000000) >> 24) == 0x58) in si_init_microcode()
1919 err = 0; in si_init_microcode()
1936 if (new_fw == 0) { in si_init_microcode()
1972 u32 pipe_offset = radeon_crtc->crtc_id * 0x20; in dce6_line_buffer_adjust()
1979 * 0 - half lb in dce6_line_buffer_adjust()
1988 tmp = 0; /* 1/2 */ in dce6_line_buffer_adjust()
1995 tmp = 0; in dce6_line_buffer_adjust()
1996 buffer_alloc = 0; in dce6_line_buffer_adjust()
2004 for (i = 0; i < rdev->usec_timeout; i++) { in dce6_line_buffer_adjust()
2013 case 0: in dce6_line_buffer_adjust()
2022 return 0; in dce6_line_buffer_adjust()
2030 case 0: in si_get_number_of_dram_channels()
2214 if (wm->num_heads == 0) in dce6_latency_watermark()
2215 return 0; in dce6_latency_watermark()
2301 u32 line_time = 0; in dce6_program_watermarks()
2302 u32 latency_watermark_a = 0, latency_watermark_b = 0; in dce6_program_watermarks()
2303 u32 priority_a_mark = 0, priority_b_mark = 0; in dce6_program_watermarks()
2315 priority_a_cnt = 0; in dce6_program_watermarks()
2316 priority_b_cnt = 0; in dce6_program_watermarks()
2463 u32 num_heads = 0, lb_size; in dce6_bandwidth_update()
2471 for (i = 0; i < rdev->num_crtc; i++) { in dce6_bandwidth_update()
2475 for (i = 0; i < rdev->num_crtc; i += 2) { in dce6_bandwidth_update()
2508 for (reg_offset = 0; reg_offset < num_tile_mode_states; reg_offset++) in si_tiling_mode_table_init()
2509 tile[reg_offset] = 0; in si_tiling_mode_table_init()
2515 tile[0] = (ARRAY_MODE(ARRAY_2D_TILED_THIN1) | in si_tiling_mode_table_init()
2722 for (reg_offset = 0; reg_offset < num_tile_mode_states; reg_offset++) in si_tiling_mode_table_init()
2730 tile[0] = (ARRAY_MODE(ARRAY_2D_TILED_THIN1) | in si_tiling_mode_table_init()
2937 for (reg_offset = 0; reg_offset < num_tile_mode_states; reg_offset++) in si_tiling_mode_table_init()
2942 DRM_ERROR("unknown asic: 0x%x\n", rdev->family); in si_tiling_mode_table_init()
2951 if ((se_num == 0xffffffff) && (sh_num == 0xffffffff)) in si_select_se_sh()
2953 else if (se_num == 0xffffffff) in si_select_se_sh()
2955 else if (sh_num == 0xffffffff) in si_select_se_sh()
2964 u32 i, mask = 0; in si_create_bitmask()
2966 for (i = 0; i < bit_width; i++) { in si_create_bitmask()
2981 data = 0; in si_get_cu_enabled()
2998 for (i = 0; i < se_num; i++) { in si_setup_spi()
2999 for (j = 0; j < sh_per_se; j++) { in si_setup_spi()
3005 for (k = 0; k < 16; k++) { in si_setup_spi()
3015 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_setup_spi()
3028 data = 0; in si_get_rb_disabled()
3044 u32 disabled_rbs = 0; in si_setup_rb()
3045 u32 enabled_rbs = 0; in si_setup_rb()
3047 for (i = 0; i < se_num; i++) { in si_setup_rb()
3048 for (j = 0; j < sh_per_se; j++) { in si_setup_rb()
3054 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_setup_rb()
3057 for (i = 0; i < max_rb_num_per_se * se_num; i++) { in si_setup_rb()
3065 for (i = 0; i < se_num; i++) { in si_setup_rb()
3066 si_select_se_sh(rdev, i, 0xffffffff); in si_setup_rb()
3067 data = 0; in si_setup_rb()
3068 for (j = 0; j < sh_per_se; j++) { in si_setup_rb()
3085 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_setup_rb()
3090 u32 gb_addr_config = 0; in si_gpu_init()
3109 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3110 rdev->config.si.sc_prim_fifo_size_backend = 0x100; in si_gpu_init()
3111 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3112 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3126 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3127 rdev->config.si.sc_prim_fifo_size_backend = 0x100; in si_gpu_init()
3128 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3129 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3144 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3145 rdev->config.si.sc_prim_fifo_size_backend = 0x40; in si_gpu_init()
3146 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3147 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3161 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3162 rdev->config.si.sc_prim_fifo_size_backend = 0x40; in si_gpu_init()
3163 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3164 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3178 rdev->config.si.sc_prim_fifo_size_frontend = 0x20; in si_gpu_init()
3179 rdev->config.si.sc_prim_fifo_size_backend = 0x40; in si_gpu_init()
3180 rdev->config.si.sc_hiz_tile_fifo_size = 0x30; in si_gpu_init()
3181 rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; in si_gpu_init()
3187 for (i = 0, j = 0; i < 32; i++, j += 0x18) { in si_gpu_init()
3188 WREG32((0x2c14 + j), 0x00000000); in si_gpu_init()
3189 WREG32((0x2c18 + j), 0x00000000); in si_gpu_init()
3190 WREG32((0x2c1c + j), 0x00000000); in si_gpu_init()
3191 WREG32((0x2c20 + j), 0x00000000); in si_gpu_init()
3192 WREG32((0x2c24 + j), 0x00000000); in si_gpu_init()
3195 WREG32(GRBM_CNTL, GRBM_READ_TIMEOUT(0xff)); in si_gpu_init()
3222 gb_addr_config |= ROW_SIZE(0); in si_gpu_init()
3234 * bits 3:0 num_pipes in si_gpu_init()
3239 rdev->config.si.tile_config = 0; in si_gpu_init()
3242 rdev->config.si.tile_config |= (0 << 0); in si_gpu_init()
3245 rdev->config.si.tile_config |= (1 << 0); in si_gpu_init()
3248 rdev->config.si.tile_config |= (2 << 0); in si_gpu_init()
3253 rdev->config.si.tile_config |= (3 << 0); in si_gpu_init()
3257 case 0: /* four banks */ in si_gpu_init()
3258 rdev->config.si.tile_config |= 0 << 4; in si_gpu_init()
3295 rdev->config.si.active_cus = 0; in si_gpu_init()
3296 for (i = 0; i < rdev->config.si.max_shader_engines; i++) { in si_gpu_init()
3297 for (j = 0; j < rdev->config.si.max_sh_per_se; j++) { in si_gpu_init()
3304 WREG32(CP_QUEUE_THRESHOLDS, (ROQ_IB1_START(0x16) | in si_gpu_init()
3305 ROQ_IB2_START(0x2b))); in si_gpu_init()
3306 WREG32(CP_MEQ_THRESHOLDS, MEQ1_START(0x30) | MEQ2_START(0x60)); in si_gpu_init()
3320 WREG32(CP_PERFMON_CNTL, 0); in si_gpu_init()
3322 WREG32(SQ_CONFIG, 0); in si_gpu_init()
3331 WREG32(PA_SC_LINE_STIPPLE_STATE, 0); in si_gpu_init()
3333 WREG32(CB_PERFCOUNTER0_SELECT0, 0); in si_gpu_init()
3334 WREG32(CB_PERFCOUNTER0_SELECT1, 0); in si_gpu_init()
3335 WREG32(CB_PERFCOUNTER1_SELECT0, 0); in si_gpu_init()
3336 WREG32(CB_PERFCOUNTER1_SELECT1, 0); in si_gpu_init()
3337 WREG32(CB_PERFCOUNTER2_SELECT0, 0); in si_gpu_init()
3338 WREG32(CB_PERFCOUNTER2_SELECT1, 0); in si_gpu_init()
3339 WREG32(CB_PERFCOUNTER3_SELECT0, 0); in si_gpu_init()
3340 WREG32(CB_PERFCOUNTER3_SELECT1, 0); in si_gpu_init()
3363 for (i = 0; i < rdev->scratch.num_reg; i++) { in si_scratch_init()
3378 radeon_ring_write(ring, 0); in si_fence_ring_emit()
3384 radeon_ring_write(ring, 0xFFFFFFFF); in si_fence_ring_emit()
3385 radeon_ring_write(ring, 0); in si_fence_ring_emit()
3391 radeon_ring_write(ring, (upper_32_bits(addr) & 0xff) | DATA_SEL(1) | INT_SEL(2)); in si_fence_ring_emit()
3393 radeon_ring_write(ring, 0); in si_fence_ring_emit()
3402 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in si_ring_ib_execute()
3407 radeon_ring_write(ring, PACKET3(PACKET3_SWITCH_BUFFER, 0)); in si_ring_ib_execute()
3408 radeon_ring_write(ring, 0); in si_ring_ib_execute()
3423 radeon_ring_write(ring, ring->next_rptr_gpu_addr & 0xfffffffc); in si_ring_ib_execute()
3434 (2 << 0) | in si_ring_ib_execute()
3436 (ib->gpu_addr & 0xFFFFFFFC)); in si_ring_ib_execute()
3437 radeon_ring_write(ring, upper_32_bits(ib->gpu_addr) & 0xFFFF); in si_ring_ib_execute()
3450 radeon_ring_write(ring, 0xFFFFFFFF); in si_ring_ib_execute()
3451 radeon_ring_write(ring, 0); in si_ring_ib_execute()
3462 WREG32(CP_ME_CNTL, 0); in si_cp_enable()
3467 WREG32(SCRATCH_UMSK, 0); in si_cp_enable()
3502 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3503 for (i = 0; i < fw_size; i++) in si_cp_load_microcode()
3505 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3511 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3512 for (i = 0; i < fw_size; i++) in si_cp_load_microcode()
3514 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3520 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3521 for (i = 0; i < fw_size; i++) in si_cp_load_microcode()
3523 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3529 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3530 for (i = 0; i < SI_PFP_UCODE_SIZE; i++) in si_cp_load_microcode()
3532 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3536 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3537 for (i = 0; i < SI_CE_UCODE_SIZE; i++) in si_cp_load_microcode()
3539 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3543 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3544 for (i = 0; i < SI_PM4_UCODE_SIZE; i++) in si_cp_load_microcode()
3546 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3549 WREG32(CP_PFP_UCODE_ADDR, 0); in si_cp_load_microcode()
3550 WREG32(CP_CE_UCODE_ADDR, 0); in si_cp_load_microcode()
3551 WREG32(CP_ME_RAM_WADDR, 0); in si_cp_load_microcode()
3552 WREG32(CP_ME_RAM_RADDR, 0); in si_cp_load_microcode()
3553 return 0; in si_cp_load_microcode()
3568 radeon_ring_write(ring, 0x1); in si_cp_start()
3569 radeon_ring_write(ring, 0x0); in si_cp_start()
3572 radeon_ring_write(ring, 0); in si_cp_start()
3573 radeon_ring_write(ring, 0); in si_cp_start()
3578 radeon_ring_write(ring, 0xc000); in si_cp_start()
3579 radeon_ring_write(ring, 0xe000); in si_cp_start()
3591 radeon_ring_write(ring, PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in si_cp_start()
3594 for (i = 0; i < si_default_size; i++) in si_cp_start()
3597 radeon_ring_write(ring, PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in si_cp_start()
3601 radeon_ring_write(ring, PACKET3(PACKET3_CLEAR_STATE, 0)); in si_cp_start()
3602 radeon_ring_write(ring, 0); in si_cp_start()
3605 radeon_ring_write(ring, 0x00000316); in si_cp_start()
3606 radeon_ring_write(ring, 0x0000000e); /* VGT_VERTEX_REUSE_BLOCK_CNTL */ in si_cp_start()
3607 radeon_ring_write(ring, 0x00000010); /* VGT_OUT_DEALLOC_CNTL */ in si_cp_start()
3620 radeon_ring_write(ring, PACKET3_COMPUTE(PACKET3_CLEAR_STATE, 0)); in si_cp_start()
3621 radeon_ring_write(ring, 0); in si_cp_start()
3626 return 0; in si_cp_start()
3656 WREG32(CP_SEM_WAIT_TIMER, 0x0); in si_cp_resume()
3657 WREG32(CP_SEM_INCOMPLETE_TIMER_CNTL, 0x0); in si_cp_resume()
3660 WREG32(CP_RB_WPTR_DELAY, 0); in si_cp_resume()
3662 WREG32(CP_DEBUG, 0); in si_cp_resume()
3663 WREG32(SCRATCH_ADDR, ((rdev->wb.gpu_addr + RADEON_WB_SCRATCH_OFFSET) >> 8) & 0xFFFFFFFF); in si_cp_resume()
3665 /* ring 0 - compute and gfx */ in si_cp_resume()
3677 ring->wptr = 0; in si_cp_resume()
3681 WREG32(CP_RB0_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFFFFFFFC); in si_cp_resume()
3682 WREG32(CP_RB0_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFF); in si_cp_resume()
3685 WREG32(SCRATCH_UMSK, 0xff); in si_cp_resume()
3688 WREG32(SCRATCH_UMSK, 0); in si_cp_resume()
3708 ring->wptr = 0; in si_cp_resume()
3712 WREG32(CP_RB1_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFFFFFFFC); in si_cp_resume()
3713 WREG32(CP_RB1_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFF); in si_cp_resume()
3732 ring->wptr = 0; in si_cp_resume()
3736 WREG32(CP_RB2_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFFFFFFFC); in si_cp_resume()
3737 WREG32(CP_RB2_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFF); in si_cp_resume()
3770 return 0; in si_cp_resume()
3775 u32 reset_mask = 0; in si_gpu_check_soft_reset()
3800 /* DMA_STATUS_REG 0 */ in si_gpu_check_soft_reset()
3847 DRM_DEBUG("MC busy: 0x%08X, clearing.\n", reset_mask); in si_gpu_check_soft_reset()
3857 u32 grbm_soft_reset = 0, srbm_soft_reset = 0; in si_gpu_soft_reset()
3860 if (reset_mask == 0) in si_gpu_soft_reset()
3863 dev_info(rdev->dev, "GPU softreset: 0x%08X\n", reset_mask); in si_gpu_soft_reset()
3866 dev_info(rdev->dev, " VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x%08X\n", in si_gpu_soft_reset()
3868 dev_info(rdev->dev, " VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x%08X\n", in si_gpu_soft_reset()
3952 dev_info(rdev->dev, "GRBM_SOFT_RESET=0x%08X\n", tmp); in si_gpu_soft_reset()
3966 dev_info(rdev->dev, "SRBM_SOFT_RESET=0x%08X\n", tmp); in si_gpu_soft_reset()
3998 for (i = 0; i < rdev->usec_timeout; i++) { in si_set_clk_bypass_mode()
4079 for (i = 0; i < rdev->usec_timeout; i++) { in si_gpu_pci_config_reset()
4080 if (RREG32(CONFIG_MEMSIZE) != 0xffffffff) in si_gpu_pci_config_reset()
4092 return 0; in si_asic_reset()
4114 return 0; in si_asic_reset()
4147 for (i = 0, j = 0; i < 32; i++, j += 0x18) { in si_mc_program()
4148 WREG32((0x2c14 + j), 0x00000000); in si_mc_program()
4149 WREG32((0x2c18 + j), 0x00000000); in si_mc_program()
4150 WREG32((0x2c1c + j), 0x00000000); in si_mc_program()
4151 WREG32((0x2c20 + j), 0x00000000); in si_mc_program()
4152 WREG32((0x2c24 + j), 0x00000000); in si_mc_program()
4154 WREG32(HDP_REG_COHERENCY_FLUSH_CNTL, 0); in si_mc_program()
4170 tmp = ((rdev->mc.vram_end >> 24) & 0xFFFF) << 16; in si_mc_program()
4171 tmp |= ((rdev->mc.vram_start >> 24) & 0xFFFF); in si_mc_program()
4176 WREG32(HDP_NONSURFACE_SIZE, 0x3FFFFFFF); in si_mc_program()
4177 WREG32(MC_VM_AGP_BASE, 0); in si_mc_program()
4178 WREG32(MC_VM_AGP_TOP, 0x0FFFFFFF); in si_mc_program()
4179 WREG32(MC_VM_AGP_BOT, 0x0FFFFFFF); in si_mc_program()
4194 if (mc->mc_vram_size > 0xFFC0000000ULL) { in si_vram_gtt_location()
4197 mc->real_vram_size = 0xFFC0000000ULL; in si_vram_gtt_location()
4198 mc->mc_vram_size = 0xFFC0000000ULL; in si_vram_gtt_location()
4200 radeon_vram_location(rdev, &rdev->mc, 0); in si_vram_gtt_location()
4201 rdev->mc.gtt_base_align = 0; in si_vram_gtt_location()
4222 case 0: in si_mc_init()
4252 /* Could aper size report 0 ? */ in si_mc_init()
4253 rdev->mc.aper_base = pci_resource_start(rdev->pdev, 0); in si_mc_init()
4254 rdev->mc.aper_size = pci_resource_len(rdev->pdev, 0); in si_mc_init()
4258 if (tmp & 0xffff0000) { in si_mc_init()
4259 DRM_INFO("Probable bad vram size: 0x%08x\n", tmp); in si_mc_init()
4260 if (tmp & 0xffff) in si_mc_init()
4261 tmp &= 0xffff; in si_mc_init()
4269 return 0; in si_mc_init()
4278 WREG32(HDP_MEM_COHERENCY_FLUSH_CNTL, 0x1); in si_pcie_gart_tlb_flush()
4280 /* bits 0-15 are the VM contexts0-15 */ in si_pcie_gart_tlb_flush()
4297 (0xA << 7) | in si_pcie_gart_enable()
4320 WREG32(VM_CONTEXT0_CNTL2, 0); in si_pcie_gart_enable()
4321 WREG32(VM_CONTEXT0_CNTL, (ENABLE_CONTEXT | PAGE_TABLE_DEPTH(0) | in si_pcie_gart_enable()
4324 WREG32(0x15D4, 0); in si_pcie_gart_enable()
4325 WREG32(0x15D8, 0); in si_pcie_gart_enable()
4326 WREG32(0x15DC, 0); in si_pcie_gart_enable()
4330 WREG32(VM_CONTEXT1_PAGE_TABLE_START_ADDR, 0); in si_pcie_gart_enable()
4365 DRM_INFO("PCIE GART of %uM enabled (table at 0x%016llX).\n", in si_pcie_gart_enable()
4369 return 0; in si_pcie_gart_enable()
4386 WREG32(VM_CONTEXT0_CNTL, 0); in si_pcie_gart_disable()
4387 WREG32(VM_CONTEXT1_CNTL, 0); in si_pcie_gart_disable()
4396 WREG32(VM_L2_CNTL2, 0); in si_pcie_gart_disable()
4398 L2_CACHE_BIGK_FRAGMENT_SIZE(0)); in si_pcie_gart_disable()
4413 if (reg >= 0x28000) in si_vm_reg_valid()
4417 if (reg >= 0xB000 && reg < 0xC000) in si_vm_reg_valid()
4451 DRM_ERROR("Invalid register 0x%x in CS\n", reg); in si_vm_reg_valid()
4472 DRM_ERROR("Invalid CE packet3: 0x%x\n", pkt->opcode); in si_vm_packet3_ce_check()
4475 return 0; in si_vm_packet3_ce_check()
4486 if (((info & 0x60000000) >> 29) == 0) { in si_vm_packet3_cp_dma_check()
4495 for (i = 0; i < (command & 0x1fffff); i++) { in si_vm_packet3_cp_dma_check()
4507 if (((info & 0x00300000) >> 20) == 0) { in si_vm_packet3_cp_dma_check()
4516 for (i = 0; i < (command & 0x1fffff); i++) { in si_vm_packet3_cp_dma_check()
4526 return 0; in si_vm_packet3_cp_dma_check()
4585 if ((idx_value & 0xf00) == 0) { in si_vm_packet3_gfx_check()
4592 if ((idx_value & 0xf00) == 0) { in si_vm_packet3_gfx_check()
4594 if (idx_value & 0x10000) { in si_vm_packet3_gfx_check()
4598 for (i = 0; i < (pkt->count - 2); i++) { in si_vm_packet3_gfx_check()
4607 if (idx_value & 0x100) { in si_vm_packet3_gfx_check()
4614 if (idx_value & 0x2) { in si_vm_packet3_gfx_check()
4629 for (i = 0; i < pkt->count; i++) { in si_vm_packet3_gfx_check()
4641 DRM_ERROR("Invalid GFX packet3: 0x%x\n", pkt->opcode); in si_vm_packet3_gfx_check()
4644 return 0; in si_vm_packet3_gfx_check()
4688 if ((idx_value & 0xf00) == 0) { in si_vm_packet3_compute_check()
4695 if ((idx_value & 0xf00) == 0) { in si_vm_packet3_compute_check()
4697 if (idx_value & 0x10000) { in si_vm_packet3_compute_check()
4701 for (i = 0; i < (pkt->count - 2); i++) { in si_vm_packet3_compute_check()
4710 if (idx_value & 0x100) { in si_vm_packet3_compute_check()
4717 if (idx_value & 0x2) { in si_vm_packet3_compute_check()
4729 DRM_ERROR("Invalid Compute packet3: 0x%x\n", pkt->opcode); in si_vm_packet3_compute_check()
4732 return 0; in si_vm_packet3_compute_check()
4737 int ret = 0; in si_ib_parse()
4738 u32 idx = 0, i; in si_ib_parse()
4745 pkt.one_reg_wr = 0; in si_ib_parse()
4781 for (i = 0; i < ib->length_dw; i++) { in si_ib_parse()
4802 rdev->vm_manager.vram_base_offset = 0; in si_vm_init()
4804 return 0; in si_vm_init()
4905 case 0: in si_vm_decode_fault()
5069 printk("VM fault (0x%02x, vmid %d) at page %u, %s from %s (%d)\n", in si_vm_decode_fault()
5081 WRITE_DATA_DST_SEL(0))); in si_vm_flush()
5090 radeon_ring_write(ring, 0); in si_vm_flush()
5096 WRITE_DATA_DST_SEL(0))); in si_vm_flush()
5098 radeon_ring_write(ring, 0); in si_vm_flush()
5099 radeon_ring_write(ring, 0x1); in si_vm_flush()
5101 /* bits 0-15 are the VM contexts0-15 */ in si_vm_flush()
5104 WRITE_DATA_DST_SEL(0))); in si_vm_flush()
5106 radeon_ring_write(ring, 0); in si_vm_flush()
5111 radeon_ring_write(ring, (WAIT_REG_MEM_FUNCTION(0) | /* always */ in si_vm_flush()
5112 WAIT_REG_MEM_ENGINE(0))); /* me */ in si_vm_flush()
5114 radeon_ring_write(ring, 0); in si_vm_flush()
5115 radeon_ring_write(ring, 0); /* ref */ in si_vm_flush()
5116 radeon_ring_write(ring, 0); /* mask */ in si_vm_flush()
5117 radeon_ring_write(ring, 0x20); /* poll interval */ in si_vm_flush()
5120 radeon_ring_write(ring, PACKET3(PACKET3_PFP_SYNC_ME, 0)); in si_vm_flush()
5121 radeon_ring_write(ring, 0x0); in si_vm_flush()
5131 for (i = 0; i < rdev->usec_timeout; i++) { in si_wait_for_rlc_serdes()
5132 if (RREG32(RLC_SERDES_MASTER_BUSY_0) == 0) in si_wait_for_rlc_serdes()
5137 for (i = 0; i < rdev->usec_timeout; i++) { in si_wait_for_rlc_serdes()
5138 if (RREG32(RLC_SERDES_MASTER_BUSY_1) == 0) in si_wait_for_rlc_serdes()
5162 for (i = 0; i < rdev->usec_timeout; i++) { in si_enable_gui_idle_interrupt()
5180 tmp &= ~0x7ffff800; in si_set_uvd_dcm()
5183 tmp |= 0x7ffff800; in si_set_uvd_dcm()
5184 tmp2 = 0; in si_set_uvd_dcm()
5246 WREG32(DMA_PGFSM_WRITE, 0x00002000); in si_init_dma_pg()
5247 WREG32(DMA_PGFSM_CONFIG, 0x100010ff); in si_init_dma_pg()
5249 for (tmp = 0; tmp < 5; tmp++) in si_init_dma_pg()
5250 WREG32(DMA_PGFSM_WRITE, 0); in si_init_dma_pg()
5259 tmp = RLC_PUD(0x10) | RLC_PDD(0x10) | RLC_TTPD(0x10) | RLC_MSD(0x10); in si_enable_gfx_cgpg()
5293 tmp |= GRBM_REG_SGIT(0x700); in si_init_gfx_cgpg()
5300 u32 mask = 0, tmp, tmp1; in si_get_cu_active_bitmap()
5306 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_get_cu_active_bitmap()
5308 tmp &= 0xffff0000; in si_get_cu_active_bitmap()
5313 for (i = 0; i < rdev->config.si.max_cu_per_sh; i ++) { in si_get_cu_active_bitmap()
5323 u32 i, j, k, active_cu_number = 0; in si_init_ao_cu_mask()
5325 u32 tmp = 0; in si_init_ao_cu_mask()
5327 for (i = 0; i < rdev->config.si.max_shader_engines; i++) { in si_init_ao_cu_mask()
5328 for (j = 0; j < rdev->config.si.max_sh_per_se; j++) { in si_init_ao_cu_mask()
5330 cu_bitmap = 0; in si_init_ao_cu_mask()
5331 counter = 0; in si_init_ao_cu_mask()
5332 for (k = 0; k < rdev->config.si.max_cu_per_sh; k++) { in si_init_ao_cu_mask()
5364 WREG32(RLC_GCPM_GENERAL_3, 0x00000080); in si_enable_cgcg()
5368 WREG32(RLC_SERDES_WR_MASTER_MASK_0, 0xffffffff); in si_enable_cgcg()
5369 WREG32(RLC_SERDES_WR_MASTER_MASK_1, 0xffffffff); in si_enable_cgcg()
5370 WREG32(RLC_SERDES_WR_CTRL, 0x00b000ff); in si_enable_cgcg()
5376 WREG32(RLC_SERDES_WR_CTRL, 0x007000ff); in si_enable_cgcg()
5397 u32 data, orig, tmp = 0; in si_enable_mgcg()
5401 data = 0x96940200; in si_enable_mgcg()
5413 data &= 0xffffffc0; in si_enable_mgcg()
5419 WREG32(RLC_SERDES_WR_MASTER_MASK_0, 0xffffffff); in si_enable_mgcg()
5420 WREG32(RLC_SERDES_WR_MASTER_MASK_1, 0xffffffff); in si_enable_mgcg()
5421 WREG32(RLC_SERDES_WR_CTRL, 0x00d000ff); in si_enable_mgcg()
5426 data |= 0x00000003; in si_enable_mgcg()
5442 WREG32(RLC_SERDES_WR_MASTER_MASK_0, 0xffffffff); in si_enable_mgcg()
5443 WREG32(RLC_SERDES_WR_MASTER_MASK_1, 0xffffffff); in si_enable_mgcg()
5444 WREG32(RLC_SERDES_WR_CTRL, 0x00e000ff); in si_enable_mgcg()
5457 tmp |= 0x3fff; in si_enable_uvd_mgcg()
5465 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_0, 0); in si_enable_uvd_mgcg()
5466 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_1, 0); in si_enable_uvd_mgcg()
5469 tmp &= ~0x3fff; in si_enable_uvd_mgcg()
5477 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_0, 0xffffffff); in si_enable_uvd_mgcg()
5478 WREG32_SMC(SMC_CG_IND_START + CG_CGTT_LOCAL_1, 0xffffffff); in si_enable_uvd_mgcg()
5501 for (i = 0; i < ARRAY_SIZE(mc_cg_registers); i++) { in si_enable_mc_ls()
5518 for (i = 0; i < ARRAY_SIZE(mc_cg_registers); i++) { in si_enable_mc_mgcg()
5536 for (i = 0; i < 2; i++) { in si_enable_dma_mgcg()
5537 if (i == 0) in si_enable_dma_mgcg()
5545 WREG32(DMA_CLK_CTRL + offset, 0x00000100); in si_enable_dma_mgcg()
5548 for (i = 0; i < 2; i++) { in si_enable_dma_mgcg()
5549 if (i == 0) in si_enable_dma_mgcg()
5559 data = 0xff000000; in si_enable_dma_mgcg()
5684 u32 count = 0; in si_get_csb_size()
5689 return 0; in si_get_csb_size()
5701 return 0; in si_get_csb_size()
5716 u32 count = 0, i; in si_get_csb_buffer()
5725 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in si_get_csb_buffer()
5729 buffer[count++] = cpu_to_le32(0x80000000); in si_get_csb_buffer()
5730 buffer[count++] = cpu_to_le32(0x80000000); in si_get_csb_buffer()
5737 buffer[count++] = cpu_to_le32(ext->reg_index - 0xa000); in si_get_csb_buffer()
5738 for (i = 0; i < ext->reg_count; i++) in si_get_csb_buffer()
5751 buffer[count++] = cpu_to_le32(0x2a00126a); in si_get_csb_buffer()
5754 buffer[count++] = cpu_to_le32(0x0000124a); in si_get_csb_buffer()
5757 buffer[count++] = cpu_to_le32(0x00000082); in si_get_csb_buffer()
5760 buffer[count++] = cpu_to_le32(0x00000000); in si_get_csb_buffer()
5763 buffer[count++] = cpu_to_le32(0x00000000); in si_get_csb_buffer()
5767 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_PREAMBLE_CNTL, 0)); in si_get_csb_buffer()
5770 buffer[count++] = cpu_to_le32(PACKET3(PACKET3_CLEAR_STATE, 0)); in si_get_csb_buffer()
5771 buffer[count++] = cpu_to_le32(0); in si_get_csb_buffer()
5820 WREG32(RLC_CNTL, 0); in si_rlc_stop()
5842 if ((tmp & 0xF0000000) == 0xB0000000) in si_lbpw_supported()
5859 si_select_se_sh(rdev, 0xffffffff, 0xffffffff); in si_enable_lbpw()
5860 WREG32(SPI_LB_CU_MASK, 0x00ff); in si_enable_lbpw()
5879 WREG32(RLC_RL_BASE, 0); in si_rlc_resume()
5880 WREG32(RLC_RL_SIZE, 0); in si_rlc_resume()
5881 WREG32(RLC_LB_CNTL, 0); in si_rlc_resume()
5882 WREG32(RLC_LB_CNTR_MAX, 0xffffffff); in si_rlc_resume()
5883 WREG32(RLC_LB_CNTR_INIT, 0); in si_rlc_resume()
5884 WREG32(RLC_LB_INIT_CU_MASK, 0xffffffff); in si_rlc_resume()
5886 WREG32(RLC_MC_CNTL, 0); in si_rlc_resume()
5887 WREG32(RLC_UCODE_CNTL, 0); in si_rlc_resume()
5898 for (i = 0; i < fw_size; i++) { in si_rlc_resume()
5905 for (i = 0; i < SI_RLC_UCODE_SIZE; i++) { in si_rlc_resume()
5910 WREG32(RLC_UCODE_ADDR, 0); in si_rlc_resume()
5916 return 0; in si_rlc_resume()
5940 /* set rptr, wptr to 0 */ in si_disable_interrupts()
5941 WREG32(IH_RB_RPTR, 0); in si_disable_interrupts()
5942 WREG32(IH_RB_WPTR, 0); in si_disable_interrupts()
5944 rdev->ih.rptr = 0; in si_disable_interrupts()
5955 WREG32(CP_INT_CNTL_RING1, 0); in si_disable_interrupt_state()
5956 WREG32(CP_INT_CNTL_RING2, 0); in si_disable_interrupt_state()
5961 WREG32(GRBM_INT_CNTL, 0); in si_disable_interrupt_state()
5962 WREG32(SRBM_INT_CNTL, 0); in si_disable_interrupt_state()
5963 for (i = 0; i < rdev->num_crtc; i++) in si_disable_interrupt_state()
5964 WREG32(INT_MASK + crtc_offsets[i], 0); in si_disable_interrupt_state()
5965 for (i = 0; i < rdev->num_crtc; i++) in si_disable_interrupt_state()
5966 WREG32(GRPH_INT_CONTROL + crtc_offsets[i], 0); in si_disable_interrupt_state()
5969 WREG32(DAC_AUTODETECT_INT_CONTROL, 0); in si_disable_interrupt_state()
5971 for (i = 0; i < 6; i++) in si_disable_interrupt_state()
5979 int ret = 0; in si_irq_init()
6002 /* IH_DUMMY_RD_OVERRIDE=0 - dummy read disabled with msi, enabled without msi in si_irq_init()
6021 WREG32(IH_RB_WPTR_ADDR_LO, (rdev->wb.gpu_addr + R600_WB_IH_WPTR_OFFSET) & 0xFFFFFFFC); in si_irq_init()
6022 WREG32(IH_RB_WPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + R600_WB_IH_WPTR_OFFSET) & 0xFF); in si_irq_init()
6026 /* set rptr, wptr to 0 */ in si_irq_init()
6027 WREG32(IH_RB_RPTR, 0); in si_irq_init()
6028 WREG32(IH_RB_WPTR, 0); in si_irq_init()
6031 ih_cntl = MC_WRREQ_CREDIT(0x10) | MC_WR_CLEAN_CNT(0x10) | MC_VMID(0); in si_irq_init()
6053 u32 cp_int_cntl1 = 0, cp_int_cntl2 = 0; in si_irq_set()
6054 u32 grbm_int_cntl = 0; in si_irq_set()
6056 u32 thermal_int = 0; in si_irq_set()
6067 return 0; in si_irq_set()
6116 for (i = 0; i < rdev->num_crtc; i++) { in si_irq_set()
6123 for (i = 0; i < rdev->num_crtc; i++) in si_irq_set()
6127 for (i = 0; i < 6; i++) { in si_irq_set()
6140 return 0; in si_irq_set()
6153 for (i = 0; i < 6; i++) { in si_irq_ack()
6160 for (i = 0; i < rdev->num_crtc; i += 2) { in si_irq_ack()
6177 for (i = 0; i < 6; i++) { in si_irq_ack()
6182 for (i = 0; i < 6; i++) { in si_irq_ack()
6224 dev_warn(rdev->dev, "IH ring buffer overflow (0x%08X, 0x%08X, 0x%08X)\n", in si_get_ih_wptr()
6236 * [7:0] - interrupt source id
6281 src_id = le32_to_cpu(rdev->ih.ring[ring_index]) & 0xff; in si_irq_process()
6282 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in si_irq_process()
6283 ring_id = le32_to_cpu(rdev->ih.ring[ring_index + 2]) & 0xff; in si_irq_process()
6294 if (src_data == 0) { /* vblank */ in si_irq_process()
6333 if (radeon_use_pflipirq > 0) in si_irq_process()
6362 DRM_ERROR("SRBM_READ_ERROR: 0x%x\n", RREG32(SRBM_READ_ERROR)); in si_irq_process()
6363 WREG32(SRBM_INT_ACK, 0x1); in si_irq_process()
6366 DRM_DEBUG("IH: UVD int: 0x%08x\n", src_data); in si_irq_process()
6375 if (addr == 0x0 && status == 0x0) in si_irq_process()
6377 dev_err(rdev->dev, "GPU fault detected: %d 0x%08x\n", src_id, src_data); in si_irq_process()
6378 dev_err(rdev->dev, " VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x%08X\n", in si_irq_process()
6380 dev_err(rdev->dev, " VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x%08X\n", in si_irq_process()
6396 case 0: in si_irq_process()
6441 schedule_delayed_work(&rdev->hotplug_work, 0); in si_irq_process()
6445 atomic_set(&rdev->ih.lock, 0); in si_irq_process()
6501 rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_size = 0; in si_uvd_start()
6513 r = radeon_ring_init(rdev, ring, ring->ring_size, 0, PACKET0(UVD_NO_OP, 0)); in si_uvd_resume()
6580 rdev->ring[TN_RING_TYPE_VCE1_INDEX].ring_size = 0; in si_vce_start()
6581 rdev->ring[TN_RING_TYPE_VCE2_INDEX].ring_size = 0; in si_vce_start()
6593 r = radeon_ring_init(rdev, ring, ring->ring_size, 0, VCE_CMD_NO_OP); in si_vce_resume()
6599 r = radeon_ring_init(rdev, ring, ring->ring_size, 0, VCE_CMD_NO_OP); in si_vce_resume()
6727 DMA_PACKET(DMA_PACKET_NOP, 0, 0, 0, 0)); in si_startup()
6733 DMA_PACKET(DMA_PACKET_NOP, 0, 0, 0, 0)); in si_startup()
6767 return 0; in si_startup()
6817 return 0; in si_suspend()
6942 return 0; in si_init()
6996 unsigned fb_div = 0, vclk_div = 0, dclk_div = 0; in si_set_uvd_clocks()
7009 return 0; in si_set_uvd_clocks()
7013 16384, 0x03FFFFFF, 0, 128, 5, in si_set_uvd_clocks()
7018 /* set RESET_ANTI_MUX to 0 */ in si_set_uvd_clocks()
7019 WREG32_P(CG_UPLL_FUNC_CNTL_5, 0, ~RESET_ANTI_MUX_MASK); in si_set_uvd_clocks()
7025 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_SLEEP_MASK); in si_set_uvd_clocks()
7028 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_RESET_MASK); in si_set_uvd_clocks()
7040 WREG32_P(CG_UPLL_SPREAD_SPECTRUM, 0, ~SSEN_MASK); in si_set_uvd_clocks()
7045 /* set ref divider to 0 */ in si_set_uvd_clocks()
7046 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_REF_DIV_MASK); in si_set_uvd_clocks()
7049 WREG32_P(CG_UPLL_FUNC_CNTL_4, 0, ~UPLL_SPARE_ISPARE9); in si_set_uvd_clocks()
7062 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_RESET_MASK); in si_set_uvd_clocks()
7067 WREG32_P(CG_UPLL_FUNC_CNTL, 0, ~UPLL_BYPASS_EN_MASK); in si_set_uvd_clocks()
7080 return 0; in si_set_uvd_clocks()
7094 if (radeon_pcie_gen2 == 0) in si_pcie_gen3_enable()
7119 DRM_INFO("enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0\n"); in si_pcie_gen3_enable()
7125 DRM_INFO("enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0\n"); in si_pcie_gen3_enable()
7155 for (i = 0; i < 10; i++) { in si_pcie_gen3_enable()
7245 for (i = 0; i < rdev->usec_timeout; i++) { in si_pcie_gen3_enable()
7247 if ((speed_cntl & LC_INITIATE_LINK_SPEED_CHANGE) == 0) in si_pcie_gen3_enable()
7259 if (radeon_aspm == 0) in si_program_aspm()
7267 data |= LC_XMIT_N_FTS(0x24) | LC_XMIT_N_FTS_OVERRIDE_EN; in si_program_aspm()
7463 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~UPLL_CTLREQ_MASK); in si_vce_send_vcepll_ctlreq()
7471 for (i = 0; i < 100; ++i) { in si_vce_send_vcepll_ctlreq()
7479 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~UPLL_CTLREQ_MASK); in si_vce_send_vcepll_ctlreq()
7486 return 0; in si_vce_send_vcepll_ctlreq()
7491 unsigned fb_div = 0, evclk_div = 0, ecclk_div = 0; in si_set_vce_clocks()
7507 return 0; in si_set_vce_clocks()
7511 16384, 0x03FFFFFF, 0, 128, 5, in si_set_vce_clocks()
7516 /* set RESET_ANTI_MUX to 0 */ in si_set_vce_clocks()
7517 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL_5, 0, ~RESET_ANTI_MUX_MASK); in si_set_vce_clocks()
7523 /* toggle VCEPLL_SLEEP to 1 then back to 0 */ in si_set_vce_clocks()
7526 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_SLEEP_MASK); in si_set_vce_clocks()
7529 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_RESET_MASK); in si_set_vce_clocks()
7541 WREG32_SMC_P(CG_VCEPLL_SPREAD_SPECTRUM, 0, ~SSEN_MASK); in si_set_vce_clocks()
7546 /* set ref divider to 0 */ in si_set_vce_clocks()
7547 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_REF_DIV_MASK); in si_set_vce_clocks()
7558 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_RESET_MASK); in si_set_vce_clocks()
7563 WREG32_SMC_P(CG_VCEPLL_FUNC_CNTL, 0, ~VCEPLL_BYPASS_EN_MASK); in si_set_vce_clocks()
7576 return 0; in si_set_vce_clocks()