• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef COMMON_XML
2 #define COMMON_XML
3 
4 /* Autogenerated file, DO NOT EDIT manually!
5 
6 This file was generated by the rules-ng-ng headergen tool in this git repository:
7 http://0x04.net/cgit/index.cgi/rules-ng-ng
8 git clone git://0x04.net/rules-ng-ng
9 
10 The rules-ng-ng source files this header was generated from are:
11 - texdesc_3d.xml (   3183 bytes, from 2017-10-31 19:05:01)
12 - copyright.xml  (   1597 bytes, from 2016-10-29 07:29:22)
13 - common.xml     (  26187 bytes, from 2017-10-31 19:05:01)
14 - common_3d.xml  (  14615 bytes, from 2017-11-04 14:03:35)
15 
16 Copyright (C) 2012-2017 by the following authors:
17 - Wladimir J. van der Laan <laanwj@gmail.com>
18 - Christian Gmeiner <christian.gmeiner@gmail.com>
19 - Lucas Stach <l.stach@pengutronix.de>
20 - Russell King <rmk@arm.linux.org.uk>
21 
22 Permission is hereby granted, free of charge, to any person obtaining a
23 copy of this software and associated documentation files (the "Software"),
24 to deal in the Software without restriction, including without limitation
25 the rights to use, copy, modify, merge, publish, distribute, sub license,
26 and/or sell copies of the Software, and to permit persons to whom the
27 Software is furnished to do so, subject to the following conditions:
28 
29 The above copyright notice and this permission notice (including the
30 next paragraph) shall be included in all copies or substantial portions
31 of the Software.
32 
33 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
34 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
35 FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
36 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
38 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
39 DEALINGS IN THE SOFTWARE.
40 */
41 
42 
43 #define PIPE_ID_PIPE_3D						0x00000000
44 #define PIPE_ID_PIPE_2D						0x00000001
45 #define SYNC_RECIPIENT_FE					0x00000001
46 #define SYNC_RECIPIENT_RA					0x00000005
47 #define SYNC_RECIPIENT_PE					0x00000007
48 #define SYNC_RECIPIENT_DE					0x0000000b
49 #define SYNC_RECIPIENT_BLT					0x00000010
50 #define ENDIAN_MODE_NO_SWAP					0x00000000
51 #define ENDIAN_MODE_SWAP_16					0x00000001
52 #define ENDIAN_MODE_SWAP_32					0x00000002
53 #define chipModel_GC200						0x00000200
54 #define chipModel_GC300						0x00000300
55 #define chipModel_GC320						0x00000320
56 #define chipModel_GC328						0x00000328
57 #define chipModel_GC350						0x00000350
58 #define chipModel_GC355						0x00000355
59 #define chipModel_GC400						0x00000400
60 #define chipModel_GC410						0x00000410
61 #define chipModel_GC420						0x00000420
62 #define chipModel_GC428						0x00000428
63 #define chipModel_GC450						0x00000450
64 #define chipModel_GC500						0x00000500
65 #define chipModel_GC520						0x00000520
66 #define chipModel_GC530						0x00000530
67 #define chipModel_GC600						0x00000600
68 #define chipModel_GC700						0x00000700
69 #define chipModel_GC800						0x00000800
70 #define chipModel_GC860						0x00000860
71 #define chipModel_GC880						0x00000880
72 #define chipModel_GC900						0x00000900
73 #define chipModel_GC1000					0x00001000
74 #define chipModel_GC1500					0x00001500
75 #define chipModel_GC2000					0x00002000
76 #define chipModel_GC2100					0x00002100
77 #define chipModel_GC2200					0x00002200
78 #define chipModel_GC2500					0x00002500
79 #define chipModel_GC3000					0x00003000
80 #define chipModel_GC4000					0x00004000
81 #define chipModel_GC5000					0x00005000
82 #define chipModel_GC5200					0x00005200
83 #define chipModel_GC6400					0x00006400
84 #define chipModel_GC7000					0x00007000
85 #define chipModel_GC7400					0x00007400
86 #define chipModel_GC8000					0x00008000
87 #define chipModel_GC8100					0x00008100
88 #define chipModel_GC8200					0x00008200
89 #define chipModel_GC8400					0x00008400
90 #define RGBA_BITS_R						0x00000001
91 #define RGBA_BITS_G						0x00000002
92 #define RGBA_BITS_B						0x00000004
93 #define RGBA_BITS_A						0x00000008
94 #define chipFeatures_FAST_CLEAR					0x00000001
95 #define chipFeatures_SPECIAL_ANTI_ALIASING			0x00000002
96 #define chipFeatures_PIPE_3D					0x00000004
97 #define chipFeatures_DXT_TEXTURE_COMPRESSION			0x00000008
98 #define chipFeatures_DEBUG_MODE					0x00000010
99 #define chipFeatures_Z_COMPRESSION				0x00000020
100 #define chipFeatures_YUV420_SCALER				0x00000040
101 #define chipFeatures_MSAA					0x00000080
102 #define chipFeatures_DC						0x00000100
103 #define chipFeatures_PIPE_2D					0x00000200
104 #define chipFeatures_ETC1_TEXTURE_COMPRESSION			0x00000400
105 #define chipFeatures_FAST_SCALER				0x00000800
106 #define chipFeatures_HIGH_DYNAMIC_RANGE				0x00001000
107 #define chipFeatures_YUV420_TILER				0x00002000
108 #define chipFeatures_MODULE_CG					0x00004000
109 #define chipFeatures_MIN_AREA					0x00008000
110 #define chipFeatures_NO_EARLY_Z					0x00010000
111 #define chipFeatures_NO_422_TEXTURE				0x00020000
112 #define chipFeatures_BUFFER_INTERLEAVING			0x00040000
113 #define chipFeatures_BYTE_WRITE_2D				0x00080000
114 #define chipFeatures_NO_SCALER					0x00100000
115 #define chipFeatures_YUY2_AVERAGING				0x00200000
116 #define chipFeatures_HALF_PE_CACHE				0x00400000
117 #define chipFeatures_HALF_TX_CACHE				0x00800000
118 #define chipFeatures_YUY2_RENDER_TARGET				0x01000000
119 #define chipFeatures_MEM32					0x02000000
120 #define chipFeatures_PIPE_VG					0x04000000
121 #define chipFeatures_VGTS					0x08000000
122 #define chipFeatures_FE20					0x10000000
123 #define chipFeatures_BYTE_WRITE_3D				0x20000000
124 #define chipFeatures_RS_YUV_TARGET				0x40000000
125 #define chipFeatures_32_BIT_INDICES				0x80000000
126 #define chipMinorFeatures0_FLIP_Y				0x00000001
127 #define chipMinorFeatures0_DUAL_RETURN_BUS			0x00000002
128 #define chipMinorFeatures0_ENDIANNESS_CONFIG			0x00000004
129 #define chipMinorFeatures0_TEXTURE_8K				0x00000008
130 #define chipMinorFeatures0_CORRECT_TEXTURE_CONVERTER		0x00000010
131 #define chipMinorFeatures0_SPECIAL_MSAA_LOD			0x00000020
132 #define chipMinorFeatures0_FAST_CLEAR_FLUSH			0x00000040
133 #define chipMinorFeatures0_2DPE20				0x00000080
134 #define chipMinorFeatures0_CORRECT_AUTO_DISABLE			0x00000100
135 #define chipMinorFeatures0_RENDERTARGET_8K			0x00000200
136 #define chipMinorFeatures0_2BITPERTILE				0x00000400
137 #define chipMinorFeatures0_SEPARATE_TILE_STATUS_WHEN_INTERLEAVED	0x00000800
138 #define chipMinorFeatures0_SUPER_TILED				0x00001000
139 #define chipMinorFeatures0_VG_20				0x00002000
140 #define chipMinorFeatures0_TS_EXTENDED_COMMANDS			0x00004000
141 #define chipMinorFeatures0_COMPRESSION_FIFO_FIXED		0x00008000
142 #define chipMinorFeatures0_HAS_SIGN_FLOOR_CEIL			0x00010000
143 #define chipMinorFeatures0_VG_FILTER				0x00020000
144 #define chipMinorFeatures0_VG_21				0x00040000
145 #define chipMinorFeatures0_SHADER_HAS_W				0x00080000
146 #define chipMinorFeatures0_HAS_SQRT_TRIG			0x00100000
147 #define chipMinorFeatures0_MORE_MINOR_FEATURES			0x00200000
148 #define chipMinorFeatures0_MC20					0x00400000
149 #define chipMinorFeatures0_MSAA_SIDEBAND			0x00800000
150 #define chipMinorFeatures0_BUG_FIXES0				0x01000000
151 #define chipMinorFeatures0_VAA					0x02000000
152 #define chipMinorFeatures0_BYPASS_IN_MSAA			0x04000000
153 #define chipMinorFeatures0_HZ					0x08000000
154 #define chipMinorFeatures0_NEW_TEXTURE				0x10000000
155 #define chipMinorFeatures0_2D_A8_TARGET				0x20000000
156 #define chipMinorFeatures0_CORRECT_STENCIL			0x40000000
157 #define chipMinorFeatures0_ENHANCE_VR				0x80000000
158 #define chipMinorFeatures1_RSUV_SWIZZLE				0x00000001
159 #define chipMinorFeatures1_V2_COMPRESSION			0x00000002
160 #define chipMinorFeatures1_VG_DOUBLE_BUFFER			0x00000004
161 #define chipMinorFeatures1_EXTRA_EVENT_STATES			0x00000008
162 #define chipMinorFeatures1_NO_STRIPING_NEEDED			0x00000010
163 #define chipMinorFeatures1_TEXTURE_STRIDE			0x00000020
164 #define chipMinorFeatures1_BUG_FIXES3				0x00000040
165 #define chipMinorFeatures1_AUTO_DISABLE				0x00000080
166 #define chipMinorFeatures1_AUTO_RESTART_TS			0x00000100
167 #define chipMinorFeatures1_DISABLE_PE_GATING			0x00000200
168 #define chipMinorFeatures1_L2_WINDOWING				0x00000400
169 #define chipMinorFeatures1_HALF_FLOAT				0x00000800
170 #define chipMinorFeatures1_PIXEL_DITHER				0x00001000
171 #define chipMinorFeatures1_TWO_STENCIL_REFERENCE		0x00002000
172 #define chipMinorFeatures1_EXTENDED_PIXEL_FORMAT		0x00004000
173 #define chipMinorFeatures1_CORRECT_MIN_MAX_DEPTH		0x00008000
174 #define chipMinorFeatures1_2D_DITHER				0x00010000
175 #define chipMinorFeatures1_BUG_FIXES5				0x00020000
176 #define chipMinorFeatures1_NEW_2D				0x00040000
177 #define chipMinorFeatures1_NEW_FP				0x00080000
178 #define chipMinorFeatures1_TEXTURE_HALIGN			0x00100000
179 #define chipMinorFeatures1_NON_POWER_OF_TWO			0x00200000
180 #define chipMinorFeatures1_LINEAR_TEXTURE_SUPPORT		0x00400000
181 #define chipMinorFeatures1_HALTI0				0x00800000
182 #define chipMinorFeatures1_CORRECT_OVERFLOW_VG			0x01000000
183 #define chipMinorFeatures1_NEGATIVE_LOG_FIX			0x02000000
184 #define chipMinorFeatures1_RESOLVE_OFFSET			0x04000000
185 #define chipMinorFeatures1_OK_TO_GATE_AXI_CLOCK			0x08000000
186 #define chipMinorFeatures1_MMU_VERSION				0x10000000
187 #define chipMinorFeatures1_WIDE_LINE				0x20000000
188 #define chipMinorFeatures1_BUG_FIXES6				0x40000000
189 #define chipMinorFeatures1_FC_FLUSH_STALL			0x80000000
190 #define chipMinorFeatures2_LINE_LOOP				0x00000001
191 #define chipMinorFeatures2_LOGIC_OP				0x00000002
192 #define chipMinorFeatures2_SEAMLESS_CUBE_MAP			0x00000004
193 #define chipMinorFeatures2_SUPERTILED_TEXTURE			0x00000008
194 #define chipMinorFeatures2_LINEAR_PE				0x00000010
195 #define chipMinorFeatures2_RECT_PRIMITIVE			0x00000020
196 #define chipMinorFeatures2_COMPOSITION				0x00000040
197 #define chipMinorFeatures2_CORRECT_AUTO_DISABLE_COUNT		0x00000080
198 #define chipMinorFeatures2_PE_SWIZZLE				0x00000100
199 #define chipMinorFeatures2_END_EVENT				0x00000200
200 #define chipMinorFeatures2_S1S8					0x00000400
201 #define chipMinorFeatures2_HALTI1				0x00000800
202 #define chipMinorFeatures2_RGB888				0x00001000
203 #define chipMinorFeatures2_TX__YUV_ASSEMBLER			0x00002000
204 #define chipMinorFeatures2_DYNAMIC_FREQUENCY_SCALING		0x00004000
205 #define chipMinorFeatures2_TX_FILTER				0x00008000
206 #define chipMinorFeatures2_FULL_DIRECTFB			0x00010000
207 #define chipMinorFeatures2_2D_TILING				0x00020000
208 #define chipMinorFeatures2_THREAD_WALKER_IN_PS			0x00040000
209 #define chipMinorFeatures2_TILE_FILLER				0x00080000
210 #define chipMinorFeatures2_YUV_STANDARD				0x00100000
211 #define chipMinorFeatures2_2D_MULTI_SOURCE_BLIT			0x00200000
212 #define chipMinorFeatures2_YUV_CONVERSION			0x00400000
213 #define chipMinorFeatures2_FLUSH_FIXED_2D			0x00800000
214 #define chipMinorFeatures2_INTERLEAVER				0x01000000
215 #define chipMinorFeatures2_MIXED_STREAMS			0x02000000
216 #define chipMinorFeatures2_2D_420_L2CACHE			0x04000000
217 #define chipMinorFeatures2_BUG_FIXES7				0x08000000
218 #define chipMinorFeatures2_2D_NO_INDEX8_BRUSH			0x10000000
219 #define chipMinorFeatures2_TEXTURE_TILED_READ			0x20000000
220 #define chipMinorFeatures2_DECOMPRESS_Z16			0x40000000
221 #define chipMinorFeatures2_BUG_FIXES8				0x80000000
222 #define chipMinorFeatures3_ROTATION_STALL_FIX			0x00000001
223 #define chipMinorFeatures3_OCL_ONLY				0x00000002
224 #define chipMinorFeatures3_2D_MULTI_SOURCE_BLT_EX		0x00000004
225 #define chipMinorFeatures3_INSTRUCTION_CACHE			0x00000008
226 #define chipMinorFeatures3_GEOMETRY_SHADER			0x00000010
227 #define chipMinorFeatures3_TEX_COMPRESSION_SUPERTILED		0x00000020
228 #define chipMinorFeatures3_GENERICS				0x00000040
229 #define chipMinorFeatures3_BUG_FIXES9				0x00000080
230 #define chipMinorFeatures3_FAST_MSAA				0x00000100
231 #define chipMinorFeatures3_WCLIP				0x00000200
232 #define chipMinorFeatures3_BUG_FIXES10				0x00000400
233 #define chipMinorFeatures3_UNIFIED_SAMPLERS			0x00000800
234 #define chipMinorFeatures3_BUG_FIXES11				0x00001000
235 #define chipMinorFeatures3_PERFORMANCE_COUNTERS			0x00002000
236 #define chipMinorFeatures3_HAS_FAST_TRANSCENDENTALS		0x00004000
237 #define chipMinorFeatures3_BUG_FIXES12				0x00008000
238 #define chipMinorFeatures3_BUG_FIXES13				0x00010000
239 #define chipMinorFeatures3_DE_ENHANCEMENTS1			0x00020000
240 #define chipMinorFeatures3_ACE					0x00040000
241 #define chipMinorFeatures3_TX_ENHANCEMENTS1			0x00080000
242 #define chipMinorFeatures3_SH_ENHANCEMENTS1			0x00100000
243 #define chipMinorFeatures3_SH_ENHANCEMENTS2			0x00200000
244 #define chipMinorFeatures3_PE_ENHANCEMENTS1			0x00400000
245 #define chipMinorFeatures3_2D_FC_SOURCE				0x00800000
246 #define chipMinorFeatures3_BUG_FIXES_14				0x01000000
247 #define chipMinorFeatures3_POWER_OPTIMIZATIONS_0		0x02000000
248 #define chipMinorFeatures3_NEW_HZ				0x04000000
249 #define chipMinorFeatures3_PE_DITHER_FIX			0x08000000
250 #define chipMinorFeatures3_DE_ENHANCEMENTS3			0x10000000
251 #define chipMinorFeatures3_SH_ENHANCEMENTS3			0x20000000
252 #define chipMinorFeatures3_SH_ENHANCEMENTS4			0x40000000
253 #define chipMinorFeatures3_TX_ENHANCEMENTS2			0x80000000
254 #define chipMinorFeatures4_FE_ENHANCEMENTS1			0x00000001
255 #define chipMinorFeatures4_PE_ENHANCEMENTS2			0x00000002
256 #define chipMinorFeatures4_FRUSTUM_CLIP_FIX			0x00000004
257 #define chipMinorFeatures4_DE_NO_GAMMA				0x00000008
258 #define chipMinorFeatures4_PA_ENHANCEMENTS_2			0x00000010
259 #define chipMinorFeatures4_2D_GAMMA				0x00000020
260 #define chipMinorFeatures4_SINGLE_BUFFER			0x00000040
261 #define chipMinorFeatures4_HI_ENHANCEMENTS_1			0x00000080
262 #define chipMinorFeatures4_TX_ENHANCEMENTS_3			0x00000100
263 #define chipMinorFeatures4_SH_ENHANCEMENTS_5			0x00000200
264 #define chipMinorFeatures4_FE_ENHANCEMENTS_2			0x00000400
265 #define chipMinorFeatures4_TX_LERP_PRECISION_FIX		0x00000800
266 #define chipMinorFeatures4_2D_COLOR_SPACE_CONVERSION		0x00001000
267 #define chipMinorFeatures4_TEXTURE_ASTC				0x00002000
268 #define chipMinorFeatures4_PE_ENHANCEMENTS_4			0x00004000
269 #define chipMinorFeatures4_MC_ENHANCEMENTS_1			0x00008000
270 #define chipMinorFeatures4_HALTI2				0x00010000
271 #define chipMinorFeatures4_2D_MIRROR_EXTENSION			0x00020000
272 #define chipMinorFeatures4_SMALL_MSAA				0x00040000
273 #define chipMinorFeatures4_BUG_FIXES_17				0x00080000
274 #define chipMinorFeatures4_NEW_RA				0x00100000
275 #define chipMinorFeatures4_2D_OPF_YUV_OUTPUT			0x00200000
276 #define chipMinorFeatures4_2D_MULTI_SOURCE_BLT_EX2		0x00400000
277 #define chipMinorFeatures4_NO_USER_CSC				0x00800000
278 #define chipMinorFeatures4_ZFIXES				0x01000000
279 #define chipMinorFeatures4_BUG_FIXES18				0x02000000
280 #define chipMinorFeatures4_2D_COMPRESSION			0x04000000
281 #define chipMinorFeatures4_PROBE				0x08000000
282 #define chipMinorFeatures4_MEDIUM_PRECISION			0x10000000
283 #define chipMinorFeatures4_2D_SUPER_TILE_VERSION		0x20000000
284 #define chipMinorFeatures4_BUG_FIXES19				0x40000000
285 #define chipMinorFeatures4_SH_ENHANCEMENTS6			0x80000000
286 #define chipMinorFeatures5_SH_ENHANCEMENTS7			0x00000001
287 #define chipMinorFeatures5_BUG_FIXES20				0x00000002
288 #define chipMinorFeatures5_DE_ADDRESS_40			0x00000004
289 #define chipMinorFeatures5_MINI_MMU_FIX				0x00000008
290 #define chipMinorFeatures5_EEZ					0x00000010
291 #define chipMinorFeatures5_BUG_FIXES21				0x00000020
292 #define chipMinorFeatures5_EXTRA_VG_CAPS			0x00000040
293 #define chipMinorFeatures5_MULTI_SRC_V15			0x00000080
294 #define chipMinorFeatures5_BUG_FIXES22				0x00000100
295 #define chipMinorFeatures5_HALTI3				0x00000200
296 #define chipMinorFeatures5_TESSELATION_SHADERS			0x00000400
297 #define chipMinorFeatures5_2D_ONE_PASS_FILTER_TAP		0x00000800
298 #define chipMinorFeatures5_MULTI_SRC_V2_STR_QUAD		0x00001000
299 #define chipMinorFeatures5_SEPARATE_SRC_DST			0x00002000
300 #define chipMinorFeatures5_HALTI4				0x00004000
301 #define chipMinorFeatures5_RA_WRITE_DEPTH			0x00008000
302 #define chipMinorFeatures5_ANDROID_ONLY				0x00010000
303 #define chipMinorFeatures5_HAS_PRODUCTID			0x00020000
304 #define chipMinorFeatures5_TX_SUPPORT_DEC			0x00040000
305 #define chipMinorFeatures5_S8_MSAA_COMPRESSION			0x00080000
306 #define chipMinorFeatures5_PE_DITHER_FIX2			0x00100000
307 #define chipMinorFeatures5_L2_CACHE_REMOVE			0x00200000
308 #define chipMinorFeatures5_FE_ALLOW_RND_VTX_CNT			0x00400000
309 #define chipMinorFeatures5_CUBE_MAP_FL28			0x00800000
310 #define chipMinorFeatures5_TX_6BIT_FRAC				0x01000000
311 #define chipMinorFeatures5_FE_ALLOW_STALL_PREFETCH_ENG		0x02000000
312 #define chipMinorFeatures5_THIRD_PARTY_COMPRESSION		0x04000000
313 #define chipMinorFeatures5_RS_DEPTHSTENCIL_NATIVE_SUPPORT	0x08000000
314 #define chipMinorFeatures5_V2_MSAA_COMP_FIX			0x10000000
315 #define chipMinorFeatures5_HALTI5				0x20000000
316 #define chipMinorFeatures5_EVIS					0x40000000
317 #define chipMinorFeatures5_BLT_ENGINE				0x80000000
318 #define chipMinorFeatures6_BUG_FIXES_23				0x00000001
319 #define chipMinorFeatures6_BUG_FIXES_24				0x00000002
320 #define chipMinorFeatures6_DEC					0x00000004
321 #define chipMinorFeatures6_VS_TILE_NV12				0x00000008
322 #define chipMinorFeatures6_VS_TILE_NV12_10BIT			0x00000010
323 
324 #endif /* COMMON_XML */
325