aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/genhw/gen_eu_message.xml.h
blob: c82fd346a88d3234fd76c2fc6cbc34dfc22b970f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
#ifndef GEN_EU_MESSAGE_XML
#define GEN_EU_MESSAGE_XML

/* Autogenerated file, DO NOT EDIT manually!

This file was generated by the rules-ng-ng headergen tool in this git repository:
https://github.com/olvaffe/envytools/
git clone https://github.com/olvaffe/envytools.git

Copyright (C) 2014 by the following authors:
- Chia-I Wu <olvaffe@gmail.com> (olv)

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice (including the
next paragraph) shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/


#define GEN6_MSG_URB_WRITE					0x0
#define GEN6_MSG_URB_FF_SYNC					0x1
#define GEN7_MSG_URB_WRITE_HWORD				0x0
#define GEN7_MSG_URB_WRITE_OWORD				0x1
#define GEN7_MSG_URB_READ_HWORD					0x2
#define GEN7_MSG_URB_READ_OWORD					0x3
#define GEN7_MSG_URB_ATOMIC_MOV					0x4
#define GEN7_MSG_URB_ATOMIC_INC					0x5
#define GEN6_MSG_SAMPLER_SIMD4X2				0x0
#define GEN6_MSG_SAMPLER_SIMD8					0x1
#define GEN6_MSG_SAMPLER_SIMD16					0x2
#define GEN6_MSG_SAMPLER_SIMD32_64				0x3
#define GEN6_MSG_SAMPLER_SAMPLE					0x0
#define GEN6_MSG_SAMPLER_SAMPLE_B				0x1
#define GEN6_MSG_SAMPLER_SAMPLE_L				0x2
#define GEN6_MSG_SAMPLER_SAMPLE_C				0x3
#define GEN6_MSG_SAMPLER_SAMPLE_D				0x4
#define GEN6_MSG_SAMPLER_SAMPLE_B_C				0x5
#define GEN6_MSG_SAMPLER_SAMPLE_L_C				0x6
#define GEN6_MSG_SAMPLER_LD					0x7
#define GEN6_MSG_SAMPLER_GATHER4				0x8
#define GEN6_MSG_SAMPLER_LOD					0x9
#define GEN6_MSG_SAMPLER_RESINFO				0xa
#define GEN6_MSG_SAMPLER_SAMPLEINFO				0xb
#define GEN7_MSG_SAMPLER_GATHER4_C				0x10
#define GEN7_MSG_SAMPLER_GATHER4_PO				0x11
#define GEN7_MSG_SAMPLER_GATHER4_PO_C				0x12
#define GEN7_MSG_SAMPLER_SAMPLE_D_C				0x14
#define GEN7_MSG_SAMPLER_SAMPLE_LZ				0x18
#define GEN7_MSG_SAMPLER_SAMPLE_C_LC				0x19
#define GEN7_MSG_SAMPLER_SAMPLE_LD_LZ				0x1a
#define GEN7_MSG_SAMPLER_LD_MCS					0x1d
#define GEN7_MSG_SAMPLER_LD2DMS					0x1e
#define GEN7_MSG_SAMPLER_LD2DSS					0x1f
#define GEN6_MSG_DP_OWORD_BLOCK_READ				0x0
#define GEN6_MSG_DP_RT_UNORM_READ				0x1
#define GEN6_MSG_DP_OWORD_DUAL_BLOCK_READ			0x2
#define GEN6_MSG_DP_MEDIA_BLOCK_READ				0x4
#define GEN6_MSG_DP_UNALIGNED_OWORD_BLOCK_READ			0x5
#define GEN6_MSG_DP_DWORD_SCATTERED_READ			0x6
#define GEN6_MSG_DP_DWORD_ATOMIC_WRITE				0x7
#define GEN6_MSG_DP_OWORD_BLOCK_WRITE				0x8
#define GEN6_MSG_DP_OWORD_DUAL_BLOCK_WRITE			0x9
#define GEN6_MSG_DP_MEDIA_BLOCK_WRITE				0xa
#define GEN6_MSG_DP_DWORD_SCATTERED_WRITE			0xb
#define GEN6_MSG_DP_RT_WRITE					0xc
#define GEN6_MSG_DP_SVB_WRITE					0xd
#define GEN6_MSG_DP_RT_UNORM_WRITE				0xe
#define GEN7_MSG_DP_SAMPLER_OWORD_BLOCK_READ			0x1
#define GEN7_MSG_DP_SAMPLER_MEDIA_BLOCK_READ			0x4
#define GEN7_MSG_DP_RC_MEDIA_BLOCK_READ				0x4
#define GEN7_MSG_DP_RC_TYPED_SURFACE_READ			0x5
#define GEN7_MSG_DP_RC_TYPED_ATOMIC_OP				0x6
#define GEN7_MSG_DP_RC_MEMORY_FENCE				0x7
#define GEN7_MSG_DP_RC_MEDIA_BLOCK_WRITE			0xa
#define GEN7_MSG_DP_RC_RT_WRITE					0xc
#define GEN7_MSG_DP_RC_TYPED_SURFACE_WRITE			0xd
#define GEN7_MSG_DP_CC_OWORD_BLOCK_READ				0x0
#define GEN7_MSG_DP_CC_UNALIGNED_OWORD_BLOCK_READ		0x1
#define GEN7_MSG_DP_CC_OWORD_DUAL_BLOCK_READ			0x2
#define GEN7_MSG_DP_CC_DWORD_SCATTERED_READ			0x3
#define GEN7_MSG_DP_DC0_OWORD_BLOCK_READ			0x0
#define GEN7_MSG_DP_DC0_UNALIGNED_OWORD_BLOCK_READ		0x1
#define GEN7_MSG_DP_DC0_OWORD_DUAL_BLOCK_READ			0x2
#define GEN7_MSG_DP_DC0_DWORD_SCATTERED_READ			0x3
#define GEN7_MSG_DP_DC0_BYTE_SCATTERED_READ			0x4
#define GEN7_MSG_DP_DC0_UNTYPED_SURFACE_READ			0x5
#define GEN7_MSG_DP_DC0_UNTYPED_ATOMIC_OP			0x6
#define GEN7_MSG_DP_DC0_MEMORY_FENCE				0x7
#define GEN7_MSG_DP_DC0_OWORD_BLOCK_WRITE			0x8
#define GEN7_MSG_DP_DC0_OWORD_DUAL_BLOCK_WRITE			0xa
#define GEN7_MSG_DP_DC0_DWORD_SCATTERED_WRITE			0xb
#define GEN7_MSG_DP_DC0_BYTE_SCATTERED_WRITE			0xc
#define GEN7_MSG_DP_DC0_UNTYPED_SURFACE_WRITE			0xd
#define GEN75_MSG_DP_SAMPLER_READ_SURFACE_INFO			0x0
#define GEN75_MSG_DP_SAMPLER_UNALIGNED_OWORD_BLOCK_READ		0x1
#define GEN75_MSG_DP_SAMPLER_MEDIA_BLOCK_READ			0x4
#define GEN75_MSG_DP_RC_MEDIA_BLOCK_READ			0x4
#define GEN75_MSG_DP_RC_MEMORY_FENCE				0x7
#define GEN75_MSG_DP_RC_MEDIA_BLOCK_WRITE			0xa
#define GEN75_MSG_DP_RC_RT_WRITE				0xc
#define GEN75_MSG_DP_CC_OWORD_BLOCK_READ			0x0
#define GEN75_MSG_DP_CC_UNALIGNED_OWORD_BLOCK_READ		0x1
#define GEN75_MSG_DP_CC_OWORD_DUAL_BLOCK_READ			0x2
#define GEN75_MSG_DP_CC_DWORD_SCATTERED_READ			0x3
#define GEN75_MSG_DP_DC0_OWORD_BLOCK_READ			0x0
#define GEN75_MSG_DP_DC0_UNALIGNED_OWORD_BLOCK_READ		0x1
#define GEN75_MSG_DP_DC0_OWORD_DUAL_BLOCK_READ			0x2
#define GEN75_MSG_DP_DC0_DWORD_SCATTERED_READ			0x3
#define GEN75_MSG_DP_DC0_BYTE_SCATTERED_READ			0x4
#define GEN75_MSG_DP_DC0_MEMORY_FENCE				0x7
#define GEN75_MSG_DP_DC0_OWORD_BLOCK_WRITE			0x8
#define GEN75_MSG_DP_DC0_OWORD_DUAL_BLOCK_WRITE			0xa
#define GEN75_MSG_DP_DC0_DWORD_SCATTERED_WRITE			0xb
#define GEN75_MSG_DP_DC0_BYTE_SCATTERED_WRITE			0xc
#define GEN75_MSG_DP_DC1_UNTYPED_SURFACE_READ			0x1
#define GEN75_MSG_DP_DC1_UNTYPED_ATOMIC_OP			0x2
#define GEN75_MSG_DP_DC1_UNTYPED_ATOMIC_OP_SIMD4X2		0x3
#define GEN75_MSG_DP_DC1_MEDIA_BLOCK_READ			0x4
#define GEN75_MSG_DP_DC1_TYPED_SURFACE_READ			0x5
#define GEN75_MSG_DP_DC1_TYPED_ATOMIC_OP			0x6
#define GEN75_MSG_DP_DC1_TYPED_ATOMIC_OP_SIMD4X2		0x7
#define GEN75_MSG_DP_DC1_UNTYPED_SURFACE_WRITE			0x9
#define GEN75_MSG_DP_DC1_MEDIA_BLOCK_WRITE			0xa
#define GEN75_MSG_DP_DC1_ATOMIC_COUNTER_OP			0xb
#define GEN75_MSG_DP_DC1_ATOMIC_COUNTER_OP_SIMD4X2		0xc
#define GEN75_MSG_DP_DC1_TYPED_SURFACE_WRITE			0xd
#define GEN6_MSG_EOT						(0x1 << 31)
#define GEN6_MSG_MLEN__MASK					0x1e000000
#define GEN6_MSG_MLEN__SHIFT					25
#define GEN6_MSG_RLEN__MASK					0x01f00000
#define GEN6_MSG_RLEN__SHIFT					20
#define GEN6_MSG_HEADER_PRESENT					(0x1 << 19)
#define GEN6_MSG_FUNCTION_CONTROL__MASK				0x0007ffff
#define GEN6_MSG_FUNCTION_CONTROL__SHIFT			0
#define GEN6_MSG_URB_COMPLETE					(0x1 << 15)
#define GEN6_MSG_URB_USED					(0x1 << 14)
#define GEN6_MSG_URB_ALLOCATE					(0x1 << 13)
#define GEN6_MSG_URB_INTERLEAVED				(0x1 << 10)
#define GEN6_MSG_URB_OFFSET__MASK				0x000003f0
#define GEN6_MSG_URB_OFFSET__SHIFT				4
#define GEN6_MSG_URB_OP__MASK					0x0000000f
#define GEN6_MSG_URB_OP__SHIFT					0
#define GEN7_MSG_URB_PER_SLOT_OFFSET				(0x1 << 16)
#define GEN7_MSG_URB_COMPLETE					(0x1 << 15)
#define GEN7_MSG_URB_INTERLEAVED				(0x1 << 14)
#define GEN7_MSG_URB_GLOBAL_OFFSET__MASK			0x00003ff8
#define GEN7_MSG_URB_GLOBAL_OFFSET__SHIFT			3
#define GEN7_MSG_URB_OP__MASK					0x00000007
#define GEN7_MSG_URB_OP__SHIFT					0
#define GEN6_MSG_SAMPLER_SIMD__MASK				0x00030000
#define GEN6_MSG_SAMPLER_SIMD__SHIFT				16
#define GEN6_MSG_SAMPLER_OP__MASK				0x0000f000
#define GEN6_MSG_SAMPLER_OP__SHIFT				12
#define GEN7_MSG_SAMPLER_SIMD__MASK				0x00060000
#define GEN7_MSG_SAMPLER_SIMD__SHIFT				17
#define GEN7_MSG_SAMPLER_OP__MASK				0x0001f000
#define GEN7_MSG_SAMPLER_OP__SHIFT				12
#define GEN6_MSG_SAMPLER_INDEX__MASK				0x00000f00
#define GEN6_MSG_SAMPLER_INDEX__SHIFT				8
#define GEN6_MSG_SAMPLER_SURFACE__MASK				0x000000ff
#define GEN6_MSG_SAMPLER_SURFACE__SHIFT				0
#define GEN6_MSG_DP_SEND_WRITE_COMMIT				(0x1 << 17)
#define GEN6_MSG_DP_OP__MASK					0x0001e000
#define GEN6_MSG_DP_OP__SHIFT					13
#define GEN6_MSG_DP_CTRL__MASK					0x00001f00
#define GEN6_MSG_DP_CTRL__SHIFT					8
#define GEN7_MSG_DP_CATEGORY					(0x1 << 18)
#define GEN7_MSG_DP_OP__MASK					0x0003c000
#define GEN7_MSG_DP_OP__SHIFT					14
#define GEN7_MSG_DP_CTRL__MASK					0x00003f00
#define GEN7_MSG_DP_CTRL__SHIFT					8
#define GEN7_MSG_DP_OWORD_BLOCK_READ_INVALIDATE			(0x1 << 13)
#define GEN6_MSG_DP_OWORD_BLOCK_SIZE__MASK			0x00000700
#define GEN6_MSG_DP_OWORD_BLOCK_SIZE__SHIFT			8
#define GEN6_MSG_DP_OWORD_BLOCK_SIZE_1_LO			(0x0 << 8)
#define GEN6_MSG_DP_OWORD_BLOCK_SIZE_1_HI			(0x1 << 8)
#define GEN6_MSG_DP_OWORD_BLOCK_SIZE_2				(0x2 << 8)
#define GEN6_MSG_DP_OWORD_BLOCK_SIZE_4				(0x3 << 8)
#define GEN6_MSG_DP_OWORD_BLOCK_SIZE_8				(0x4 << 8)
#define GEN6_MSG_DP_UNALIGNED_OWORD_BLOCK_SIZE__MASK		0x00000700
#define GEN6_MSG_DP_UNALIGNED_OWORD_BLOCK_SIZE__SHIFT		8
#define GEN6_MSG_DP_UNALIGNED_OWORD_BLOCK_SIZE_1_LO		(0x0 << 8)
#define GEN6_MSG_DP_UNALIGNED_OWORD_BLOCK_SIZE_1_HI		(0x1 << 8)
#define GEN6_MSG_DP_UNALIGNED_OWORD_BLOCK_SIZE_2		(0x2 << 8)
#define GEN6_MSG_DP_UNALIGNED_OWORD_BLOCK_SIZE_4		(0x3 << 8)
#define GEN6_MSG_DP_UNALIGNED_OWORD_BLOCK_SIZE_8		(0x4 << 8)
#define GEN6_MSG_DP_OWORD_DUAL_BLOCK_SIZE__MASK			0x00000300
#define GEN6_MSG_DP_OWORD_DUAL_BLOCK_SIZE__SHIFT		8
#define GEN6_MSG_DP_OWORD_DUAL_BLOCK_SIZE_1			(0x0 << 8)
#define GEN6_MSG_DP_OWORD_DUAL_BLOCK_SIZE_4			(0x2 << 8)
#define GEN7_MSG_DP_DWORD_SCATTERED_READ_INVALIDATE		(0x1 << 13)
#define GEN6_MSG_DP_DWORD_SCATTERED_SIZE__MASK			0x00000300
#define GEN6_MSG_DP_DWORD_SCATTERED_SIZE__SHIFT			8
#define GEN6_MSG_DP_DWORD_SCATTERED_SIZE_8			(0x2 << 8)
#define GEN6_MSG_DP_DWORD_SCATTERED_SIZE_16			(0x3 << 8)
#define GEN6_MSG_DP_RT_LAST					(0x1 << 12)
#define GEN6_MSG_DP_SLOTGRP_HI					(0x1 << 11)
#define GEN6_MSG_DP_RT_MODE__MASK				0x00000700
#define GEN6_MSG_DP_RT_MODE__SHIFT				8
#define GEN6_MSG_DP_RT_MODE_SIMD16				(0x0 << 8)
#define GEN6_MSG_DP_RT_MODE_SIMD16_REPDATA			(0x1 << 8)
#define GEN6_MSG_DP_RT_MODE_SIMD8_DUALSRC_LO			(0x2 << 8)
#define GEN6_MSG_DP_RT_MODE_SIMD8_DUALSRC_HI			(0x3 << 8)
#define GEN6_MSG_DP_RT_MODE_SIMD8_LO				(0x4 << 8)
#define GEN6_MSG_DP_RT_MODE_SIMD8_IMAGE_WR			(0x5 << 8)
#define GEN7_MSG_DP_UNTYPED_MODE__MASK				0x00003000
#define GEN7_MSG_DP_UNTYPED_MODE__SHIFT				12
#define GEN7_MSG_DP_UNTYPED_MODE_SIMD4X2			(0x0 << 12)
#define GEN7_MSG_DP_UNTYPED_MODE_SIMD16				(0x1 << 12)
#define GEN7_MSG_DP_UNTYPED_MODE_SIMD8				(0x2 << 12)
#define GEN7_MSG_DP_UNTYPED_MASK__MASK				0x00000f00
#define GEN7_MSG_DP_UNTYPED_MASK__SHIFT				8
#define GEN7_MSG_DP_UNTYPED_MASK_R				(0x0 << 8)
#define GEN7_MSG_DP_UNTYPED_MASK_G				(0x1 << 8)
#define GEN7_MSG_DP_UNTYPED_MASK_B				(0x2 << 8)
#define GEN7_MSG_DP_UNTYPED_MASK_A				(0x4 << 8)
#define GEN6_MSG_DP_SURFACE__MASK				0x000000ff
#define GEN6_MSG_DP_SURFACE__SHIFT				0
#define GEN6_MSG_TS_RESOURCE_SELECT__MASK			0x00000010
#define GEN6_MSG_TS_RESOURCE_SELECT__SHIFT			4
#define GEN6_MSG_TS_RESOURCE_SELECT_CHILD			(0x0 << 4)
#define GEN6_MSG_TS_RESOURCE_SELECT_ROOT			(0x1 << 4)
#define GEN6_MSG_TS_RESOURCE_SELECT_DEREF			(0x0 << 4)
#define GEN6_MSG_TS_RESOURCE_SELECT_NO_DEREF			(0x1 << 4)
#define GEN6_MSG_TS_REQUESTER_TYPE__MASK			0x00000002
#define GEN6_MSG_TS_REQUESTER_TYPE__SHIFT			1
#define GEN6_MSG_TS_REQUESTER_TYPE_ROOT				(0x0 << 1)
#define GEN6_MSG_TS_REQUESTER_TYPE_CHILD			(0x1 << 1)
#define GEN6_MSG_TS_OPCODE__MASK				0x00000001
#define GEN6_MSG_TS_OPCODE__SHIFT				0
#define GEN6_MSG_TS_OPCODE_DEREF				0x0
#define GEN6_MSG_TS_OPCODE_SPAWN				0x1

#endif /* GEN_EU_MESSAGE_XML */