11.1Sriastrad/* $NetBSD: gen6_renderstate.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $ */ 21.1Sriastrad 31.1Sriastrad/* 41.1Sriastrad * Copyright © 2014 Intel Corporation 51.1Sriastrad * 61.1Sriastrad * Permission is hereby granted, free of charge, to any person obtaining a 71.1Sriastrad * copy of this software and associated documentation files (the "Software"), 81.1Sriastrad * to deal in the Software without restriction, including without limitation 91.1Sriastrad * the rights to use, copy, modify, merge, publish, distribute, sublicense, 101.1Sriastrad * and/or sell copies of the Software, and to permit persons to whom the 111.1Sriastrad * Software is furnished to do so, subject to the following conditions: 121.1Sriastrad * 131.1Sriastrad * The above copyright notice and this permission notice (including the next 141.1Sriastrad * paragraph) shall be included in all copies or substantial portions of the 151.1Sriastrad * Software. 161.1Sriastrad * 171.1Sriastrad * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 181.1Sriastrad * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 191.1Sriastrad * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 201.1Sriastrad * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 211.1Sriastrad * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 221.1Sriastrad * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 231.1Sriastrad * DEALINGS IN THE SOFTWARE. 241.1Sriastrad * 251.1Sriastrad * Generated by: intel-gpu-tools-1.8-220-g01153e7 261.1Sriastrad */ 271.1Sriastrad 281.1Sriastrad#include <sys/cdefs.h> 291.1Sriastrad__KERNEL_RCSID(0, "$NetBSD: gen6_renderstate.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $"); 301.1Sriastrad 311.1Sriastrad#include "intel_renderstate.h" 321.1Sriastrad 331.1Sriastradstatic const u32 gen6_null_state_relocs[] = { 341.1Sriastrad 0x00000020, 351.1Sriastrad 0x00000024, 361.1Sriastrad 0x0000002c, 371.1Sriastrad 0x000001e0, 381.1Sriastrad 0x000001e4, 391.1Sriastrad -1, 401.1Sriastrad}; 411.1Sriastrad 421.1Sriastradstatic const u32 gen6_null_state_batch[] = { 431.1Sriastrad 0x69040000, 441.1Sriastrad 0x790d0001, 451.1Sriastrad 0x00000000, 461.1Sriastrad 0x00000000, 471.1Sriastrad 0x78180000, 481.1Sriastrad 0x00000001, 491.1Sriastrad 0x61010008, 501.1Sriastrad 0x00000000, 511.1Sriastrad 0x00000001, /* reloc */ 521.1Sriastrad 0x00000001, /* reloc */ 531.1Sriastrad 0x00000000, 541.1Sriastrad 0x00000001, /* reloc */ 551.1Sriastrad 0x00000000, 561.1Sriastrad 0x00000001, 571.1Sriastrad 0x00000000, 581.1Sriastrad 0x00000001, 591.1Sriastrad 0x61020000, 601.1Sriastrad 0x00000000, 611.1Sriastrad 0x78050001, 621.1Sriastrad 0x00000018, 631.1Sriastrad 0x00000000, 641.1Sriastrad 0x780d1002, 651.1Sriastrad 0x00000000, 661.1Sriastrad 0x00000000, 671.1Sriastrad 0x00000420, 681.1Sriastrad 0x78150003, 691.1Sriastrad 0x00000000, 701.1Sriastrad 0x00000000, 711.1Sriastrad 0x00000000, 721.1Sriastrad 0x00000000, 731.1Sriastrad 0x78100004, 741.1Sriastrad 0x00000000, 751.1Sriastrad 0x00000000, 761.1Sriastrad 0x00000000, 771.1Sriastrad 0x00000000, 781.1Sriastrad 0x00000000, 791.1Sriastrad 0x78160003, 801.1Sriastrad 0x00000000, 811.1Sriastrad 0x00000000, 821.1Sriastrad 0x00000000, 831.1Sriastrad 0x00000000, 841.1Sriastrad 0x78110005, 851.1Sriastrad 0x00000000, 861.1Sriastrad 0x00000000, 871.1Sriastrad 0x00000000, 881.1Sriastrad 0x00000000, 891.1Sriastrad 0x00000000, 901.1Sriastrad 0x00000000, 911.1Sriastrad 0x78120002, 921.1Sriastrad 0x00000000, 931.1Sriastrad 0x00000000, 941.1Sriastrad 0x00000000, 951.1Sriastrad 0x78170003, 961.1Sriastrad 0x00000000, 971.1Sriastrad 0x00000000, 981.1Sriastrad 0x00000000, 991.1Sriastrad 0x00000000, 1001.1Sriastrad 0x79050005, 1011.1Sriastrad 0xe0040000, 1021.1Sriastrad 0x00000000, 1031.1Sriastrad 0x00000000, 1041.1Sriastrad 0x00000000, 1051.1Sriastrad 0x00000000, 1061.1Sriastrad 0x00000000, 1071.1Sriastrad 0x79100000, 1081.1Sriastrad 0x00000000, 1091.1Sriastrad 0x79000002, 1101.1Sriastrad 0xffffffff, 1111.1Sriastrad 0x00000000, 1121.1Sriastrad 0x00000000, 1131.1Sriastrad 0x780e0002, 1141.1Sriastrad 0x00000441, 1151.1Sriastrad 0x00000401, 1161.1Sriastrad 0x00000401, 1171.1Sriastrad 0x78021002, 1181.1Sriastrad 0x00000000, 1191.1Sriastrad 0x00000000, 1201.1Sriastrad 0x00000400, 1211.1Sriastrad 0x78130012, 1221.1Sriastrad 0x00400810, 1231.1Sriastrad 0x00000000, 1241.1Sriastrad 0x20000000, 1251.1Sriastrad 0x04000000, 1261.1Sriastrad 0x00000000, 1271.1Sriastrad 0x00000000, 1281.1Sriastrad 0x00000000, 1291.1Sriastrad 0x00000000, 1301.1Sriastrad 0x00000000, 1311.1Sriastrad 0x00000000, 1321.1Sriastrad 0x00000000, 1331.1Sriastrad 0x00000000, 1341.1Sriastrad 0x00000000, 1351.1Sriastrad 0x00000000, 1361.1Sriastrad 0x00000000, 1371.1Sriastrad 0x00000000, 1381.1Sriastrad 0x00000000, 1391.1Sriastrad 0x00000000, 1401.1Sriastrad 0x00000000, 1411.1Sriastrad 0x78140007, 1421.1Sriastrad 0x00000280, 1431.1Sriastrad 0x08080000, 1441.1Sriastrad 0x00000000, 1451.1Sriastrad 0x00060000, 1461.1Sriastrad 0x4e080002, 1471.1Sriastrad 0x00100400, 1481.1Sriastrad 0x00000000, 1491.1Sriastrad 0x00000000, 1501.1Sriastrad 0x78090005, 1511.1Sriastrad 0x02000000, 1521.1Sriastrad 0x22220000, 1531.1Sriastrad 0x02f60000, 1541.1Sriastrad 0x11330000, 1551.1Sriastrad 0x02850004, 1561.1Sriastrad 0x11220000, 1571.1Sriastrad 0x78011002, 1581.1Sriastrad 0x00000000, 1591.1Sriastrad 0x00000000, 1601.1Sriastrad 0x00000200, 1611.1Sriastrad 0x78080003, 1621.1Sriastrad 0x00002000, 1631.1Sriastrad 0x00000448, /* reloc */ 1641.1Sriastrad 0x00000448, /* reloc */ 1651.1Sriastrad 0x00000000, 1661.1Sriastrad 0x05000000, /* cmds end */ 1671.1Sriastrad 0x00000000, 1681.1Sriastrad 0x00000000, 1691.1Sriastrad 0x00000000, 1701.1Sriastrad 0x00000000, 1711.1Sriastrad 0x00000220, /* state start */ 1721.1Sriastrad 0x00000240, 1731.1Sriastrad 0x00000000, 1741.1Sriastrad 0x00000000, 1751.1Sriastrad 0x00000000, 1761.1Sriastrad 0x00000000, 1771.1Sriastrad 0x00000000, 1781.1Sriastrad 0x00000000, 1791.1Sriastrad 0x00000000, 1801.1Sriastrad 0x00000000, 1811.1Sriastrad 0x00000000, 1821.1Sriastrad 0x00000000, 1831.1Sriastrad 0x00000000, 1841.1Sriastrad 0x00000000, 1851.1Sriastrad 0x00000000, 1861.1Sriastrad 0x00000000, 1871.1Sriastrad 0x00000000, 1881.1Sriastrad 0x00000000, 1891.1Sriastrad 0x00000000, 1901.1Sriastrad 0x00000000, 1911.1Sriastrad 0x00000000, 1921.1Sriastrad 0x00000000, 1931.1Sriastrad 0x00000000, 1941.1Sriastrad 0x00000000, 1951.1Sriastrad 0x00000000, 1961.1Sriastrad 0x00000000, 1971.1Sriastrad 0x00000000, 1981.1Sriastrad 0x00000000, 1991.1Sriastrad 0x00000000, 2001.1Sriastrad 0x00000000, 2011.1Sriastrad 0x00000000, 2021.1Sriastrad 0x00000000, 2031.1Sriastrad 0x0060005a, 2041.1Sriastrad 0x204077be, 2051.1Sriastrad 0x000000c0, 2061.1Sriastrad 0x008d0040, 2071.1Sriastrad 0x0060005a, 2081.1Sriastrad 0x206077be, 2091.1Sriastrad 0x000000c0, 2101.1Sriastrad 0x008d0080, 2111.1Sriastrad 0x0060005a, 2121.1Sriastrad 0x208077be, 2131.1Sriastrad 0x000000d0, 2141.1Sriastrad 0x008d0040, 2151.1Sriastrad 0x0060005a, 2161.1Sriastrad 0x20a077be, 2171.1Sriastrad 0x000000d0, 2181.1Sriastrad 0x008d0080, 2191.1Sriastrad 0x00000201, 2201.1Sriastrad 0x20080061, 2211.1Sriastrad 0x00000000, 2221.1Sriastrad 0x00000000, 2231.1Sriastrad 0x00600001, 2241.1Sriastrad 0x20200022, 2251.1Sriastrad 0x008d0000, 2261.1Sriastrad 0x00000000, 2271.1Sriastrad 0x02800031, 2281.1Sriastrad 0x21c01cc9, 2291.1Sriastrad 0x00000020, 2301.1Sriastrad 0x0a8a0001, 2311.1Sriastrad 0x00600001, 2321.1Sriastrad 0x204003be, 2331.1Sriastrad 0x008d01c0, 2341.1Sriastrad 0x00000000, 2351.1Sriastrad 0x00600001, 2361.1Sriastrad 0x206003be, 2371.1Sriastrad 0x008d01e0, 2381.1Sriastrad 0x00000000, 2391.1Sriastrad 0x00600001, 2401.1Sriastrad 0x208003be, 2411.1Sriastrad 0x008d0200, 2421.1Sriastrad 0x00000000, 2431.1Sriastrad 0x00600001, 2441.1Sriastrad 0x20a003be, 2451.1Sriastrad 0x008d0220, 2461.1Sriastrad 0x00000000, 2471.1Sriastrad 0x00600001, 2481.1Sriastrad 0x20c003be, 2491.1Sriastrad 0x008d0240, 2501.1Sriastrad 0x00000000, 2511.1Sriastrad 0x00600001, 2521.1Sriastrad 0x20e003be, 2531.1Sriastrad 0x008d0260, 2541.1Sriastrad 0x00000000, 2551.1Sriastrad 0x00600001, 2561.1Sriastrad 0x210003be, 2571.1Sriastrad 0x008d0280, 2581.1Sriastrad 0x00000000, 2591.1Sriastrad 0x00600001, 2601.1Sriastrad 0x212003be, 2611.1Sriastrad 0x008d02a0, 2621.1Sriastrad 0x00000000, 2631.1Sriastrad 0x05800031, 2641.1Sriastrad 0x24001cc8, 2651.1Sriastrad 0x00000040, 2661.1Sriastrad 0x90019000, 2671.1Sriastrad 0x0000007e, 2681.1Sriastrad 0x00000000, 2691.1Sriastrad 0x00000000, 2701.1Sriastrad 0x00000000, 2711.1Sriastrad 0x0000007e, 2721.1Sriastrad 0x00000000, 2731.1Sriastrad 0x00000000, 2741.1Sriastrad 0x00000000, 2751.1Sriastrad 0x0000007e, 2761.1Sriastrad 0x00000000, 2771.1Sriastrad 0x00000000, 2781.1Sriastrad 0x00000000, 2791.1Sriastrad 0x0000007e, 2801.1Sriastrad 0x00000000, 2811.1Sriastrad 0x00000000, 2821.1Sriastrad 0x00000000, 2831.1Sriastrad 0x0000007e, 2841.1Sriastrad 0x00000000, 2851.1Sriastrad 0x00000000, 2861.1Sriastrad 0x00000000, 2871.1Sriastrad 0x0000007e, 2881.1Sriastrad 0x00000000, 2891.1Sriastrad 0x00000000, 2901.1Sriastrad 0x00000000, 2911.1Sriastrad 0x0000007e, 2921.1Sriastrad 0x00000000, 2931.1Sriastrad 0x00000000, 2941.1Sriastrad 0x00000000, 2951.1Sriastrad 0x0000007e, 2961.1Sriastrad 0x00000000, 2971.1Sriastrad 0x00000000, 2981.1Sriastrad 0x00000000, 2991.1Sriastrad 0x30000000, 3001.1Sriastrad 0x00000124, 3011.1Sriastrad 0x00000000, 3021.1Sriastrad 0x00000000, 3031.1Sriastrad 0x00000000, 3041.1Sriastrad 0x00000000, 3051.1Sriastrad 0x00000000, 3061.1Sriastrad 0x00000000, 3071.1Sriastrad 0xf99a130c, 3081.1Sriastrad 0x799a130c, 3091.1Sriastrad 0x00000000, 3101.1Sriastrad 0x00000000, 3111.1Sriastrad 0x00000000, 3121.1Sriastrad 0x00000000, 3131.1Sriastrad 0x00000000, 3141.1Sriastrad 0x00000000, 3151.1Sriastrad 0x80000031, 3161.1Sriastrad 0x00000003, 3171.1Sriastrad 0x00000000, /* state end */ 3181.1Sriastrad}; 3191.1Sriastrad 3201.1SriastradRO_RENDERSTATE(6); 321