vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / intel_renderstate_gen9.c
blob7d3ac02f0177105fb02e1d4242b882551b974225
1 /*
2 * Copyright © 2014 Intel Corporation
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the
13 * Software.
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
23 * Generated by: intel-gpu-tools-1.19-177-g68e2eab2
26 #include "intel_renderstate.h"
28 static const u32 gen9_null_state_relocs[] = {
29 0x000007a8,
30 0x000007b4,
31 0x000007bc,
32 0x000007cc,
33 -1,
36 static const u32 gen9_null_state_batch[] = {
37 0x7a000004,
38 0x01000000,
39 0x00000000,
40 0x00000000,
41 0x00000000,
42 0x00000000,
43 0x69040300,
44 0x78140000,
45 0x04000000,
46 0x7820000a,
47 0x00000000,
48 0x00000000,
49 0x80000000,
50 0x00000000,
51 0x00000000,
52 0x00000000,
53 0x00000000,
54 0x00000000,
55 0x00000000,
56 0x00000000,
57 0x00000000,
58 0x78130002,
59 0x00000000,
60 0x00000000,
61 0x02001808,
62 0x781f0004,
63 0x00000000,
64 0x00000000,
65 0x00000000,
66 0x00000000,
67 0x00000000,
68 0x78510009,
69 0x00000000,
70 0x00000000,
71 0x00000000,
72 0x00000000,
73 0x00000000,
74 0x00000000,
75 0x00000000,
76 0x00000000,
77 0x00000000,
78 0x00000000,
79 0x78100007,
80 0x00000000,
81 0x00000000,
82 0x00010000,
83 0x00000000,
84 0x00000000,
85 0x00000000,
86 0x00000000,
87 0x00000000,
88 0x781b0007,
89 0x00000000,
90 0x00000000,
91 0x00000000,
92 0x00000000,
93 0x00000000,
94 0x00000000,
95 0x00000800,
96 0x00000000,
97 0x78110008,
98 0x00000000,
99 0x00000000,
100 0x00000000,
101 0x00000000,
102 0x00000000,
103 0x00000000,
104 0x00000000,
105 0x00000000,
106 0x00000000,
107 0x781e0003,
108 0x00000000,
109 0x00000000,
110 0x00000000,
111 0x00000000,
112 0x781d0009,
113 0x00000000,
114 0x00000000,
115 0x00000000,
116 0x00000000,
117 0x00000000,
118 0x00000000,
119 0x00000000,
120 0x00000000,
121 0x00000000,
122 0x00000000,
123 0x78120002,
124 0x00000000,
125 0x00000000,
126 0x00000000,
127 0x78500003,
128 0x00000000,
129 0x00000000,
130 0x00000000,
131 0x00000000,
132 0x781c0002,
133 0x00000000,
134 0x00000000,
135 0x00000000,
136 0x780c0000,
137 0x00000000,
138 0x78520003,
139 0x00000000,
140 0x00000000,
141 0x00000000,
142 0x00000000,
143 0x78300000,
144 0x08010040,
145 0x78310000,
146 0x1e000000,
147 0x78320000,
148 0x1e000000,
149 0x78330000,
150 0x1e000000,
151 0x79190002,
152 0x00000000,
153 0x00000000,
154 0x00000000,
155 0x791a0002,
156 0x00000000,
157 0x00000000,
158 0x00000000,
159 0x791b0002,
160 0x00000000,
161 0x00000000,
162 0x00000000,
163 0x79120000,
164 0x00000000,
165 0x79130000,
166 0x00000000,
167 0x79140000,
168 0x00000000,
169 0x79150000,
170 0x00000000,
171 0x79160000,
172 0x00000000,
173 0x78150009,
174 0x00000000,
175 0x00000000,
176 0x00000000,
177 0x00000000,
178 0x00000000,
179 0x00000000,
180 0x00000000,
181 0x00000000,
182 0x00000000,
183 0x00000000,
184 0x78190009,
185 0x00000000,
186 0x00000000,
187 0x00000000,
188 0x00000000,
189 0x00000000,
190 0x00000000,
191 0x00000000,
192 0x00000000,
193 0x00000000,
194 0x00000000,
195 0x781a0009,
196 0x00000000,
197 0x00000000,
198 0x00000000,
199 0x00000000,
200 0x00000000,
201 0x00000000,
202 0x00000000,
203 0x00000000,
204 0x00000000,
205 0x00000000,
206 0x78160009,
207 0x00000000,
208 0x00000000,
209 0x00000000,
210 0x00000000,
211 0x00000000,
212 0x00000000,
213 0x00000000,
214 0x00000000,
215 0x00000000,
216 0x00000000,
217 0x78170009,
218 0x00000000,
219 0x00000000,
220 0x00000000,
221 0x00000000,
222 0x00000000,
223 0x00000000,
224 0x00000000,
225 0x00000000,
226 0x00000000,
227 0x00000000,
228 0x78490001,
229 0x00000000,
230 0x00000000,
231 0x784a0000,
232 0x00000000,
233 0x784b0000,
234 0x00000004,
235 0x79170101,
236 0x00000000,
237 0x00000080,
238 0x00000000,
239 0x00000000,
240 0x00000000,
241 0x00000000,
242 0x00000000,
243 0x00000000,
244 0x00000000,
245 0x00000000,
246 0x00000000,
247 0x00000000,
248 0x00000000,
249 0x00000000,
250 0x00000000,
251 0x00000000,
252 0x00000000,
253 0x00000000,
254 0x00000000,
255 0x00000000,
256 0x00000000,
257 0x00000000,
258 0x00000000,
259 0x00000000,
260 0x00000000,
261 0x00000000,
262 0x00000000,
263 0x00000000,
264 0x00000000,
265 0x00000000,
266 0x00000000,
267 0x00000000,
268 0x00000000,
269 0x00000000,
270 0x00000000,
271 0x00000000,
272 0x00000000,
273 0x00000000,
274 0x00000000,
275 0x00000000,
276 0x00000000,
277 0x00000000,
278 0x00000000,
279 0x00000000,
280 0x00000000,
281 0x00000000,
282 0x00000000,
283 0x00000000,
284 0x00000000,
285 0x00000000,
286 0x00000000,
287 0x00000000,
288 0x00000000,
289 0x00000000,
290 0x00000000,
291 0x00000000,
292 0x00000000,
293 0x00000000,
294 0x00000000,
295 0x00000000,
296 0x00000000,
297 0x00000000,
298 0x00000000,
299 0x00000000,
300 0x00000000,
301 0x00000000,
302 0x00000000,
303 0x00000000,
304 0x00000000,
305 0x00000000,
306 0x00000000,
307 0x00000000,
308 0x00000000,
309 0x00000000,
310 0x00000000,
311 0x00000000,
312 0x00000000,
313 0x00000000,
314 0x00000000,
315 0x00000000,
316 0x00000000,
317 0x00000000,
318 0x00000000,
319 0x00000000,
320 0x00000000,
321 0x00000000,
322 0x00000000,
323 0x00000000,
324 0x00000000,
325 0x00000000,
326 0x00000000,
327 0x00000000,
328 0x00000000,
329 0x00000000,
330 0x00000000,
331 0x00000000,
332 0x00000000,
333 0x00000000,
334 0x00000000,
335 0x00000000,
336 0x00000000,
337 0x00000000,
338 0x00000000,
339 0x00000000,
340 0x00000000,
341 0x00000000,
342 0x00000000,
343 0x00000000,
344 0x00000000,
345 0x00000000,
346 0x00000000,
347 0x00000000,
348 0x00000000,
349 0x00000000,
350 0x00000000,
351 0x00000000,
352 0x00000000,
353 0x00000000,
354 0x00000000,
355 0x00000000,
356 0x00000000,
357 0x00000000,
358 0x00000000,
359 0x00000000,
360 0x00000000,
361 0x00000000,
362 0x00000000,
363 0x00000000,
364 0x00000000,
365 0x00000000,
366 0x00000000,
367 0x00000000,
368 0x00000000,
369 0x00000000,
370 0x00000000,
371 0x00000000,
372 0x00000000,
373 0x00000000,
374 0x00000000,
375 0x00000000,
376 0x00000000,
377 0x00000000,
378 0x00000000,
379 0x00000000,
380 0x00000000,
381 0x00000000,
382 0x00000000,
383 0x00000000,
384 0x00000000,
385 0x00000000,
386 0x00000000,
387 0x00000000,
388 0x00000000,
389 0x00000000,
390 0x00000000,
391 0x00000000,
392 0x00000000,
393 0x00000000,
394 0x00000000,
395 0x00000000,
396 0x00000000,
397 0x00000000,
398 0x00000000,
399 0x00000000,
400 0x00000000,
401 0x00000000,
402 0x00000000,
403 0x00000000,
404 0x00000000,
405 0x00000000,
406 0x00000000,
407 0x00000000,
408 0x00000000,
409 0x00000000,
410 0x00000000,
411 0x00000000,
412 0x00000000,
413 0x00000000,
414 0x00000000,
415 0x00000000,
416 0x00000000,
417 0x00000000,
418 0x00000000,
419 0x00000000,
420 0x00000000,
421 0x00000000,
422 0x00000000,
423 0x00000000,
424 0x00000000,
425 0x00000000,
426 0x00000000,
427 0x00000000,
428 0x00000000,
429 0x00000000,
430 0x00000000,
431 0x00000000,
432 0x00000000,
433 0x00000000,
434 0x00000000,
435 0x00000000,
436 0x00000000,
437 0x00000000,
438 0x00000000,
439 0x00000000,
440 0x00000000,
441 0x00000000,
442 0x00000000,
443 0x00000000,
444 0x00000000,
445 0x00000000,
446 0x00000000,
447 0x00000000,
448 0x00000000,
449 0x00000000,
450 0x00000000,
451 0x00000000,
452 0x00000000,
453 0x00000000,
454 0x00000000,
455 0x00000000,
456 0x00000000,
457 0x00000000,
458 0x00000000,
459 0x00000000,
460 0x00000000,
461 0x00000000,
462 0x00000000,
463 0x00000000,
464 0x00000000,
465 0x00000000,
466 0x00000000,
467 0x00000000,
468 0x00000000,
469 0x00000000,
470 0x00000000,
471 0x00000000,
472 0x00000000,
473 0x00000000,
474 0x00000000,
475 0x00000000,
476 0x00000000,
477 0x00000000,
478 0x00000000,
479 0x00000000,
480 0x00000000,
481 0x00000000,
482 0x00000000,
483 0x00000000,
484 0x00000000,
485 0x00000000,
486 0x00000000,
487 0x00000000,
488 0x00000000,
489 0x00000000,
490 0x00000000,
491 0x00000000,
492 0x00000000,
493 0x00000000,
494 0x79180006,
495 0x00000000,
496 0x00000000,
497 0x00000000,
498 0x00000000,
499 0x00000000,
500 0x00000000,
501 0x00000000,
502 0x79180006,
503 0x20000000,
504 0x00000000,
505 0x00000000,
506 0x00000000,
507 0x00000000,
508 0x00000000,
509 0x00000000,
510 0x79180006,
511 0x40000000,
512 0x00000000,
513 0x00000000,
514 0x00000000,
515 0x00000000,
516 0x00000000,
517 0x00000000,
518 0x79180006,
519 0x60000000,
520 0x00000000,
521 0x00000000,
522 0x00000000,
523 0x00000000,
524 0x00000000,
525 0x00000000,
526 0x61010011,
527 0x00000001, /* reloc */
528 0x00000000,
529 0x00000000,
530 0x00000001, /* reloc */
531 0x00000000,
532 0x00000001, /* reloc */
533 0x00000000,
534 0x00000001,
535 0x00000000,
536 0x00000001, /* reloc */
537 0x00000000,
538 0x00001001,
539 0x00001001,
540 0x00000001,
541 0x00001001,
542 0x00000000,
543 0x00000000,
544 0x00000000,
545 0x61020001,
546 0x00000000,
547 0x00000000,
548 0x79000002,
549 0x00000000,
550 0x00000000,
551 0x00000000,
552 0x78050006,
553 0x00000000,
554 0x00000000,
555 0x00000000,
556 0x00000000,
557 0x00000000,
558 0x00000000,
559 0x00000000,
560 0x79040002,
561 0x00000000,
562 0x00000000,
563 0x00000000,
564 0x79040002,
565 0x40000000,
566 0x00000000,
567 0x00000000,
568 0x79040002,
569 0x80000000,
570 0x00000000,
571 0x00000000,
572 0x79040002,
573 0xc0000000,
574 0x00000000,
575 0x00000000,
576 0x79080001,
577 0x00000000,
578 0x00000000,
579 0x790a0001,
580 0x00000000,
581 0x00000000,
582 0x78060003,
583 0x00000000,
584 0x00000000,
585 0x00000000,
586 0x00000000,
587 0x78070003,
588 0x00000000,
589 0x00000000,
590 0x00000000,
591 0x00000000,
592 0x78040001,
593 0x00000000,
594 0x00000000,
595 0x79110000,
596 0x00000000,
597 0x780d0000,
598 0x00000000,
599 0x79060000,
600 0x00000000,
601 0x7907001f,
602 0x00000000,
603 0x00000000,
604 0x00000000,
605 0x00000000,
606 0x00000000,
607 0x00000000,
608 0x00000000,
609 0x00000000,
610 0x00000000,
611 0x00000000,
612 0x00000000,
613 0x00000000,
614 0x00000000,
615 0x00000000,
616 0x00000000,
617 0x00000000,
618 0x00000000,
619 0x00000000,
620 0x00000000,
621 0x00000000,
622 0x00000000,
623 0x00000000,
624 0x00000000,
625 0x00000000,
626 0x00000000,
627 0x00000000,
628 0x00000000,
629 0x00000000,
630 0x00000000,
631 0x00000000,
632 0x00000000,
633 0x00000000,
634 0x7902000f,
635 0x00000000,
636 0x00000000,
637 0x00000000,
638 0x00000000,
639 0x00000000,
640 0x00000000,
641 0x00000000,
642 0x00000000,
643 0x00000000,
644 0x00000000,
645 0x00000000,
646 0x00000000,
647 0x00000000,
648 0x00000000,
649 0x00000000,
650 0x00000000,
651 0x790c000f,
652 0x00000000,
653 0x00000000,
654 0x00000000,
655 0x00000000,
656 0x00000000,
657 0x00000000,
658 0x00000000,
659 0x00000000,
660 0x00000000,
661 0x00000000,
662 0x00000000,
663 0x00000000,
664 0x00000000,
665 0x00000000,
666 0x00000000,
667 0x00000000,
668 0x780a0003,
669 0x00000000,
670 0x00000000,
671 0x00000000,
672 0x00000000,
673 0x78080083,
674 0x00004000,
675 0x00000000,
676 0x00000000,
677 0x00000000,
678 0x04004000,
679 0x00000000,
680 0x00000000,
681 0x00000000,
682 0x08004000,
683 0x00000000,
684 0x00000000,
685 0x00000000,
686 0x0c004000,
687 0x00000000,
688 0x00000000,
689 0x00000000,
690 0x10004000,
691 0x00000000,
692 0x00000000,
693 0x00000000,
694 0x14004000,
695 0x00000000,
696 0x00000000,
697 0x00000000,
698 0x18004000,
699 0x00000000,
700 0x00000000,
701 0x00000000,
702 0x1c004000,
703 0x00000000,
704 0x00000000,
705 0x00000000,
706 0x20004000,
707 0x00000000,
708 0x00000000,
709 0x00000000,
710 0x24004000,
711 0x00000000,
712 0x00000000,
713 0x00000000,
714 0x28004000,
715 0x00000000,
716 0x00000000,
717 0x00000000,
718 0x2c004000,
719 0x00000000,
720 0x00000000,
721 0x00000000,
722 0x30004000,
723 0x00000000,
724 0x00000000,
725 0x00000000,
726 0x34004000,
727 0x00000000,
728 0x00000000,
729 0x00000000,
730 0x38004000,
731 0x00000000,
732 0x00000000,
733 0x00000000,
734 0x3c004000,
735 0x00000000,
736 0x00000000,
737 0x00000000,
738 0x40004000,
739 0x00000000,
740 0x00000000,
741 0x00000000,
742 0x44004000,
743 0x00000000,
744 0x00000000,
745 0x00000000,
746 0x48004000,
747 0x00000000,
748 0x00000000,
749 0x00000000,
750 0x4c004000,
751 0x00000000,
752 0x00000000,
753 0x00000000,
754 0x50004000,
755 0x00000000,
756 0x00000000,
757 0x00000000,
758 0x54004000,
759 0x00000000,
760 0x00000000,
761 0x00000000,
762 0x58004000,
763 0x00000000,
764 0x00000000,
765 0x00000000,
766 0x5c004000,
767 0x00000000,
768 0x00000000,
769 0x00000000,
770 0x60004000,
771 0x00000000,
772 0x00000000,
773 0x00000000,
774 0x64004000,
775 0x00000000,
776 0x00000000,
777 0x00000000,
778 0x68004000,
779 0x00000000,
780 0x00000000,
781 0x00000000,
782 0x6c004000,
783 0x00000000,
784 0x00000000,
785 0x00000000,
786 0x70004000,
787 0x00000000,
788 0x00000000,
789 0x00000000,
790 0x74004000,
791 0x00000000,
792 0x00000000,
793 0x00000000,
794 0x78004000,
795 0x00000000,
796 0x00000000,
797 0x00000000,
798 0x7c004000,
799 0x00000000,
800 0x00000000,
801 0x00000000,
802 0x80004000,
803 0x00000000,
804 0x00000000,
805 0x00000000,
806 0x78090043,
807 0x02000000,
808 0x22220000,
809 0x00000000,
810 0x00000000,
811 0x00000000,
812 0x00000000,
813 0x00000000,
814 0x00000000,
815 0x00000000,
816 0x00000000,
817 0x00000000,
818 0x00000000,
819 0x00000000,
820 0x00000000,
821 0x00000000,
822 0x00000000,
823 0x00000000,
824 0x00000000,
825 0x00000000,
826 0x00000000,
827 0x00000000,
828 0x00000000,
829 0x00000000,
830 0x00000000,
831 0x00000000,
832 0x00000000,
833 0x00000000,
834 0x00000000,
835 0x00000000,
836 0x00000000,
837 0x00000000,
838 0x00000000,
839 0x00000000,
840 0x00000000,
841 0x00000000,
842 0x00000000,
843 0x00000000,
844 0x00000000,
845 0x00000000,
846 0x00000000,
847 0x00000000,
848 0x00000000,
849 0x00000000,
850 0x00000000,
851 0x00000000,
852 0x00000000,
853 0x00000000,
854 0x00000000,
855 0x00000000,
856 0x00000000,
857 0x00000000,
858 0x00000000,
859 0x00000000,
860 0x00000000,
861 0x00000000,
862 0x00000000,
863 0x00000000,
864 0x00000000,
865 0x00000000,
866 0x00000000,
867 0x00000000,
868 0x00000000,
869 0x00000000,
870 0x00000000,
871 0x00000000,
872 0x00000000,
873 0x00000000,
874 0x00000000,
875 0x78550003,
876 0x0000000f,
877 0x00000000,
878 0x00000000,
879 0x00000000,
880 0x680b0001,
881 0x780e0000,
882 0x00000e01,
883 0x78240000,
884 0x00000e41,
885 0x784f0000,
886 0x80000100,
887 0x784d0000,
888 0x40000000,
889 0x782b0000,
890 0x00000000,
891 0x782c0000,
892 0x00000000,
893 0x782d0000,
894 0x00000000,
895 0x782e0000,
896 0x00000000,
897 0x782f0000,
898 0x00000000,
899 0x780f0000,
900 0x00000000,
901 0x78230000,
902 0x00000ea0,
903 0x78210000,
904 0x00000ec0,
905 0x78260000,
906 0x00000000,
907 0x78270000,
908 0x00000000,
909 0x78280000,
910 0x00000000,
911 0x78290000,
912 0x00000000,
913 0x782a0000,
914 0x00000000,
915 0x7b000005,
916 0x00000004,
917 0x00000001,
918 0x00000000,
919 0x00000001,
920 0x00000000,
921 0x00000000,
922 0x05000000, /* cmds end */
923 0x00000000,
924 0x00000000,
925 0x00000000,
926 0x00000000,
927 0x00000000,
928 0x00000000,
929 0x00000000,
930 0x00000000,
931 0x00000000,
932 0x00000000,
933 0x00000000, /* state start */
934 0x00000000,
935 0x3f800000,
936 0x3f800000,
937 0x3f800000,
938 0x3f800000,
939 0x00000000,
940 0x00000000,
941 0x00000000,
942 0x00000000,
943 0x00000000,
944 0x00000000,
945 0x00000000,
946 0x00000000,
947 0x00000000,
948 0x00000000,
949 0x00000000,
950 0x00000000,
951 0x00000000,
952 0x00000000,
953 0x00000000,
954 0x00000000,
955 0x00000000,
956 0x00000000,
957 0x00000000,
958 0x00000000,
959 0x00000000,
960 0x00000000,
961 0x00000000,
962 0x00000000,
963 0x00000000,
964 0x00000000,
965 0x00000000,
966 0x00000000,
967 0x00000000,
968 0x00000000,
969 0x00000000,
970 0x00000000,
971 0x00000000,
972 0x00000000,
973 0x00000000,
974 0x00000000,
975 0x00000000,
976 0x00000000,
977 0x00000000,
978 0x00000000,
979 0x00000000,
980 0x00000000,
981 0x00000000,
982 0x00000000,
983 0x00000000,
984 0x00000000,
985 0x00000000,
986 0x00000000,
987 0x00000000,
988 0x00000000,
989 0x00000000,
990 0x00000000,
991 0x00000000,
992 0x00000000,
993 0x00000000,
994 0x00000000,
995 0x00000000,
996 0x00000000, /* state end */
999 RO_RENDERSTATE(9);