gen6_renderstate.c revision 1.2
1/*	$NetBSD: gen6_renderstate.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $	*/
2
3/*
4 * Copyright © 2014 Intel Corporation
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice (including the next
14 * paragraph) shall be included in all copies or substantial portions of the
15 * Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE.
24 *
25 * Generated by: intel-gpu-tools-1.8-220-g01153e7
26 */
27
28#include <sys/cdefs.h>
29__KERNEL_RCSID(0, "$NetBSD: gen6_renderstate.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $");
30
31#include "intel_renderstate.h"
32
33static const u32 gen6_null_state_relocs[] = {
34	0x00000020,
35	0x00000024,
36	0x0000002c,
37	0x000001e0,
38	0x000001e4,
39	-1,
40};
41
42static const u32 gen6_null_state_batch[] = {
43	0x69040000,
44	0x790d0001,
45	0x00000000,
46	0x00000000,
47	0x78180000,
48	0x00000001,
49	0x61010008,
50	0x00000000,
51	0x00000001,	 /* reloc */
52	0x00000001,	 /* reloc */
53	0x00000000,
54	0x00000001,	 /* reloc */
55	0x00000000,
56	0x00000001,
57	0x00000000,
58	0x00000001,
59	0x61020000,
60	0x00000000,
61	0x78050001,
62	0x00000018,
63	0x00000000,
64	0x780d1002,
65	0x00000000,
66	0x00000000,
67	0x00000420,
68	0x78150003,
69	0x00000000,
70	0x00000000,
71	0x00000000,
72	0x00000000,
73	0x78100004,
74	0x00000000,
75	0x00000000,
76	0x00000000,
77	0x00000000,
78	0x00000000,
79	0x78160003,
80	0x00000000,
81	0x00000000,
82	0x00000000,
83	0x00000000,
84	0x78110005,
85	0x00000000,
86	0x00000000,
87	0x00000000,
88	0x00000000,
89	0x00000000,
90	0x00000000,
91	0x78120002,
92	0x00000000,
93	0x00000000,
94	0x00000000,
95	0x78170003,
96	0x00000000,
97	0x00000000,
98	0x00000000,
99	0x00000000,
100	0x79050005,
101	0xe0040000,
102	0x00000000,
103	0x00000000,
104	0x00000000,
105	0x00000000,
106	0x00000000,
107	0x79100000,
108	0x00000000,
109	0x79000002,
110	0xffffffff,
111	0x00000000,
112	0x00000000,
113	0x780e0002,
114	0x00000441,
115	0x00000401,
116	0x00000401,
117	0x78021002,
118	0x00000000,
119	0x00000000,
120	0x00000400,
121	0x78130012,
122	0x00400810,
123	0x00000000,
124	0x20000000,
125	0x04000000,
126	0x00000000,
127	0x00000000,
128	0x00000000,
129	0x00000000,
130	0x00000000,
131	0x00000000,
132	0x00000000,
133	0x00000000,
134	0x00000000,
135	0x00000000,
136	0x00000000,
137	0x00000000,
138	0x00000000,
139	0x00000000,
140	0x00000000,
141	0x78140007,
142	0x00000280,
143	0x08080000,
144	0x00000000,
145	0x00060000,
146	0x4e080002,
147	0x00100400,
148	0x00000000,
149	0x00000000,
150	0x78090005,
151	0x02000000,
152	0x22220000,
153	0x02f60000,
154	0x11330000,
155	0x02850004,
156	0x11220000,
157	0x78011002,
158	0x00000000,
159	0x00000000,
160	0x00000200,
161	0x78080003,
162	0x00002000,
163	0x00000448,	 /* reloc */
164	0x00000448,	 /* reloc */
165	0x00000000,
166	0x05000000,	 /* cmds end */
167	0x00000000,
168	0x00000000,
169	0x00000000,
170	0x00000000,
171	0x00000220,	 /* state start */
172	0x00000240,
173	0x00000000,
174	0x00000000,
175	0x00000000,
176	0x00000000,
177	0x00000000,
178	0x00000000,
179	0x00000000,
180	0x00000000,
181	0x00000000,
182	0x00000000,
183	0x00000000,
184	0x00000000,
185	0x00000000,
186	0x00000000,
187	0x00000000,
188	0x00000000,
189	0x00000000,
190	0x00000000,
191	0x00000000,
192	0x00000000,
193	0x00000000,
194	0x00000000,
195	0x00000000,
196	0x00000000,
197	0x00000000,
198	0x00000000,
199	0x00000000,
200	0x00000000,
201	0x00000000,
202	0x00000000,
203	0x0060005a,
204	0x204077be,
205	0x000000c0,
206	0x008d0040,
207	0x0060005a,
208	0x206077be,
209	0x000000c0,
210	0x008d0080,
211	0x0060005a,
212	0x208077be,
213	0x000000d0,
214	0x008d0040,
215	0x0060005a,
216	0x20a077be,
217	0x000000d0,
218	0x008d0080,
219	0x00000201,
220	0x20080061,
221	0x00000000,
222	0x00000000,
223	0x00600001,
224	0x20200022,
225	0x008d0000,
226	0x00000000,
227	0x02800031,
228	0x21c01cc9,
229	0x00000020,
230	0x0a8a0001,
231	0x00600001,
232	0x204003be,
233	0x008d01c0,
234	0x00000000,
235	0x00600001,
236	0x206003be,
237	0x008d01e0,
238	0x00000000,
239	0x00600001,
240	0x208003be,
241	0x008d0200,
242	0x00000000,
243	0x00600001,
244	0x20a003be,
245	0x008d0220,
246	0x00000000,
247	0x00600001,
248	0x20c003be,
249	0x008d0240,
250	0x00000000,
251	0x00600001,
252	0x20e003be,
253	0x008d0260,
254	0x00000000,
255	0x00600001,
256	0x210003be,
257	0x008d0280,
258	0x00000000,
259	0x00600001,
260	0x212003be,
261	0x008d02a0,
262	0x00000000,
263	0x05800031,
264	0x24001cc8,
265	0x00000040,
266	0x90019000,
267	0x0000007e,
268	0x00000000,
269	0x00000000,
270	0x00000000,
271	0x0000007e,
272	0x00000000,
273	0x00000000,
274	0x00000000,
275	0x0000007e,
276	0x00000000,
277	0x00000000,
278	0x00000000,
279	0x0000007e,
280	0x00000000,
281	0x00000000,
282	0x00000000,
283	0x0000007e,
284	0x00000000,
285	0x00000000,
286	0x00000000,
287	0x0000007e,
288	0x00000000,
289	0x00000000,
290	0x00000000,
291	0x0000007e,
292	0x00000000,
293	0x00000000,
294	0x00000000,
295	0x0000007e,
296	0x00000000,
297	0x00000000,
298	0x00000000,
299	0x30000000,
300	0x00000124,
301	0x00000000,
302	0x00000000,
303	0x00000000,
304	0x00000000,
305	0x00000000,
306	0x00000000,
307	0xf99a130c,
308	0x799a130c,
309	0x00000000,
310	0x00000000,
311	0x00000000,
312	0x00000000,
313	0x00000000,
314	0x00000000,
315	0x80000031,
316	0x00000003,
317	0x00000000,	 /* state end */
318};
319
320RO_RENDERSTATE(6);
321