aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nv50/nv50_defs.xml.h
blob: aad2a85169109e94dca957aeadccec830e9466aa (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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
#ifndef NV50_DEFS_XML
#define NV50_DEFS_XML

/* Autogenerated file, DO NOT EDIT manually!

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

The rules-ng-ng source files this header was generated from are:
- rnndb/g80_defs.xml   (  18175 bytes, from 2014-09-25 06:32:11)
- rnndb/copyright.xml  (   6452 bytes, from 2013-05-14 03:57:49)
- rnndb/nvchipsets.xml (   2759 bytes, from 2014-10-05 01:51:02)

Copyright (C) 2006-2014 by the following authors:
- Artur Huillet <arthur.huillet@free.fr> (ahuillet)
- Ben Skeggs (darktama, darktama_)
- B. R. <koala_br@users.sourceforge.net> (koala_br)
- Carlos Martin <carlosmn@users.sf.net> (carlosmn)
- Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr)
- Dawid Gajownik <gajownik@users.sf.net> (gajownik)
- Dmitry Baryshkov
- Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag)
- EdB <edb_@users.sf.net> (edb_)
- Erik Waling <erikwailing@users.sf.net> (erikwaling)
- Francisco Jerez <currojerez@riseup.net> (curro)
- imirkin <imirkin@users.sf.net> (imirkin)
- jb17bsome <jb17bsome@bellsouth.net> (jb17bsome)
- Jeremy Kolb <kjeremy@users.sf.net> (kjeremy)
- Laurent Carlier <lordheavym@gmail.com> (lordheavy)
- Luca Barbieri <luca@luca-barbieri.com> (lb, lb1)
- Maarten Maathuis <madman2003@gmail.com> (stillunknown)
- Marcin Kościelnicki <koriakin@0x04.net> (mwk, koriakin)
- Mark Carey <mark.carey@gmail.com> (careym)
- Matthieu Castet <matthieu.castet@parrot.com> (mat-c)
- nvidiaman <nvidiaman@users.sf.net> (nvidiaman)
- Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata)
- Pekka Paalanen <pq@iki.fi> (pq, ppaalanen)
- Peter Popov <ironpeter@users.sf.net> (ironpeter)
- Richard Hughes <hughsient@users.sf.net> (hughsient)
- Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar)
- Serge Martin
- Simon Raffeiner
- Stephane Loeuillet <leroutier@users.sf.net> (leroutier)
- Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu)
- sturmflut <sturmflut@users.sf.net> (sturmflut)
- Sylvain Munaut <tnt@246tNt.com>
- Victor Stinner <victor.stinner@haypocalc.com> (haypo)
- Wladmir van der Laan <laanwj@gmail.com> (miathan6)
- Younes Manton <younes.m@gmail.com> (ymanton)

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 NV50_VSTATUS_IDLE					0x00000000
#define NV50_VSTATUS_BUSY					0x00000001
#define NV50_VSTATUS_UNK2					0x00000002
#define NV50_VSTATUS_WAITING					0x00000003
#define NV50_VSTATUS_BLOCKED					0x00000005
#define NV50_VSTATUS_FAULTED					0x00000006
#define NV50_VSTATUS_PAUSED					0x00000007
#define NV50_SURFACE_FORMAT_BITMAP				0x0000001c
#define NV50_SURFACE_FORMAT_UNK1D				0x0000001d
#define NV50_SURFACE_FORMAT_RGBA32_FLOAT				0x000000c0
#define NV50_SURFACE_FORMAT_RGBA32_SINT				0x000000c1
#define NV50_SURFACE_FORMAT_RGBA32_UINT				0x000000c2
#define NV50_SURFACE_FORMAT_RGBX32_FLOAT				0x000000c3
#define NV50_SURFACE_FORMAT_RGBX32_SINT				0x000000c4
#define NV50_SURFACE_FORMAT_RGBX32_UINT				0x000000c5
#define NV50_SURFACE_FORMAT_RGBA16_UNORM				0x000000c6
#define NV50_SURFACE_FORMAT_RGBA16_SNORM				0x000000c7
#define NV50_SURFACE_FORMAT_RGBA16_SINT				0x000000c8
#define NV50_SURFACE_FORMAT_RGBA16_UINT				0x000000c9
#define NV50_SURFACE_FORMAT_RGBA16_FLOAT				0x000000ca
#define NV50_SURFACE_FORMAT_RG32_FLOAT				0x000000cb
#define NV50_SURFACE_FORMAT_RG32_SINT				0x000000cc
#define NV50_SURFACE_FORMAT_RG32_UINT				0x000000cd
#define NV50_SURFACE_FORMAT_RGBX16_FLOAT				0x000000ce
#define NV50_SURFACE_FORMAT_BGRA8_UNORM				0x000000cf
#define NV50_SURFACE_FORMAT_BGRA8_SRGB				0x000000d0
#define NV50_SURFACE_FORMAT_RGB10_A2_UNORM			0x000000d1
#define NV50_SURFACE_FORMAT_RGB10_A2_UINT			0x000000d2
#define NV50_SURFACE_FORMAT_RGBA8_UNORM				0x000000d5
#define NV50_SURFACE_FORMAT_RGBA8_SRGB				0x000000d6
#define NV50_SURFACE_FORMAT_RGBA8_SNORM				0x000000d7
#define NV50_SURFACE_FORMAT_RGBA8_SINT				0x000000d8
#define NV50_SURFACE_FORMAT_RGBA8_UINT				0x000000d9
#define NV50_SURFACE_FORMAT_RG16_UNORM				0x000000da
#define NV50_SURFACE_FORMAT_RG16_SNORM				0x000000db
#define NV50_SURFACE_FORMAT_RG16_SINT				0x000000dc
#define NV50_SURFACE_FORMAT_RG16_UINT				0x000000dd
#define NV50_SURFACE_FORMAT_RG16_FLOAT				0x000000de
#define NV50_SURFACE_FORMAT_BGR10_A2_UNORM			0x000000df
#define NV50_SURFACE_FORMAT_R11G11B10_FLOAT			0x000000e0
#define NV50_SURFACE_FORMAT_R32_SINT				0x000000e3
#define NV50_SURFACE_FORMAT_R32_UINT				0x000000e4
#define NV50_SURFACE_FORMAT_R32_FLOAT				0x000000e5
#define NV50_SURFACE_FORMAT_BGRX8_UNORM				0x000000e6
#define NV50_SURFACE_FORMAT_BGRX8_SRGB				0x000000e7
#define NV50_SURFACE_FORMAT_B5G6R5_UNORM				0x000000e8
#define NV50_SURFACE_FORMAT_BGR5_A1_UNORM			0x000000e9
#define NV50_SURFACE_FORMAT_RG8_UNORM				0x000000ea
#define NV50_SURFACE_FORMAT_RG8_SNORM				0x000000eb
#define NV50_SURFACE_FORMAT_RG8_SINT				0x000000ec
#define NV50_SURFACE_FORMAT_RG8_UINT				0x000000ed
#define NV50_SURFACE_FORMAT_R16_UNORM				0x000000ee
#define NV50_SURFACE_FORMAT_R16_SNORM				0x000000ef
#define NV50_SURFACE_FORMAT_R16_SINT				0x000000f0
#define NV50_SURFACE_FORMAT_R16_UINT				0x000000f1
#define NV50_SURFACE_FORMAT_R16_FLOAT				0x000000f2
#define NV50_SURFACE_FORMAT_R8_UNORM				0x000000f3
#define NV50_SURFACE_FORMAT_R8_SNORM				0x000000f4
#define NV50_SURFACE_FORMAT_R8_SINT				0x000000f5
#define NV50_SURFACE_FORMAT_R8_UINT				0x000000f6
#define NV50_SURFACE_FORMAT_A8_UNORM				0x000000f7
#define NV50_SURFACE_FORMAT_BGR5_X1_UNORM			0x000000f8
#define NV50_SURFACE_FORMAT_RGBX8_UNORM				0x000000f9
#define NV50_SURFACE_FORMAT_RGBX8_SRGB				0x000000fa
#define NV50_SURFACE_FORMAT_BGR5_X1_UNORM_UNKFB			0x000000fb
#define NV50_SURFACE_FORMAT_BGR5_X1_UNORM_UNKFC			0x000000fc
#define NV50_SURFACE_FORMAT_BGRX8_UNORM_UNKFD			0x000000fd
#define NV50_SURFACE_FORMAT_BGRX8_UNORM_UNKFE			0x000000fe
#define NV50_SURFACE_FORMAT_Y32_UINT_UNKFF			0x000000ff
#define NV50_ZETA_FORMAT_Z32_FLOAT				0x0000000a
#define NV50_ZETA_FORMAT_Z16_UNORM				0x00000013
#define NV50_ZETA_FORMAT_S8_Z24_UNORM				0x00000014
#define NV50_ZETA_FORMAT_Z24_X8_UNORM				0x00000015
#define NV50_ZETA_FORMAT_Z24_S8_UNORM				0x00000016
#define NV50_ZETA_FORMAT_Z24_C8_UNORM				0x00000018
#define NV50_ZETA_FORMAT_Z32_S8_X24_FLOAT			0x00000019
#define NV50_ZETA_FORMAT_Z24_X8_S8_C8_X16_UNORM			0x0000001d
#define NV50_ZETA_FORMAT_Z32_X8_C8_X16_FLOAT			0x0000001e
#define NV50_ZETA_FORMAT_Z32_S8_C8_X16_FLOAT			0x0000001f
#define NVE4_IMAGE_FORMAT_RGBA32_FLOAT				0x00000002
#define NVE4_IMAGE_FORMAT_RGBA32_SINT				0x00000003
#define NVE4_IMAGE_FORMAT_RGBA32_UINT				0x00000004
#define NVE4_IMAGE_FORMAT_RGBA16_UNORM				0x00000008
#define NVE4_IMAGE_FORMAT_RGBA16_SNORM				0x00000009
#define NVE4_IMAGE_FORMAT_RGBA16_SINT				0x0000000a
#define NVE4_IMAGE_FORMAT_RGBA16_UINT				0x0000000b
#define NVE4_IMAGE_FORMAT_RGBA16_FLOAT				0x0000000c
#define NVE4_IMAGE_FORMAT_RG32_FLOAT				0x0000000d
#define NVE4_IMAGE_FORMAT_RG32_SINT				0x0000000e
#define NVE4_IMAGE_FORMAT_RG32_UINT				0x0000000f
#define NVE4_IMAGE_FORMAT_RGB10_A2_UNORM			0x00000013
#define NVE4_IMAGE_FORMAT_RGB10_A2_UINT			0x00000015
#define NVE4_IMAGE_FORMAT_RGBA8_UNORM				0x00000018
#define NVE4_IMAGE_FORMAT_RGBA8_SNORM				0x0000001a
#define NVE4_IMAGE_FORMAT_RGBA8_SINT				0x0000001b
#define NVE4_IMAGE_FORMAT_RGBA8_UINT				0x0000001c
#define NVE4_IMAGE_FORMAT_RG16_UNORM				0x0000001d
#define NVE4_IMAGE_FORMAT_RG16_SNORM				0x0000001e
#define NVE4_IMAGE_FORMAT_RG16_SINT				0x0000001f
#define NVE4_IMAGE_FORMAT_RG16_UINT				0x00000020
#define NVE4_IMAGE_FORMAT_RG16_FLOAT				0x00000021
#define NVE4_IMAGE_FORMAT_R11G11B10_FLOAT			0x00000024
#define NVE4_IMAGE_FORMAT_R32_SINT				0x00000027
#define NVE4_IMAGE_FORMAT_R32_UINT				0x00000028
#define NVE4_IMAGE_FORMAT_R32_FLOAT				0x00000029
#define NVE4_IMAGE_FORMAT_RG8_UNORM				0x0000002e
#define NVE4_IMAGE_FORMAT_RG8_SNORM				0x0000002f
#define NVE4_IMAGE_FORMAT_RG8_SINT				0x00000030
#define NVE4_IMAGE_FORMAT_RG8_UINT				0x00000031
#define NVE4_IMAGE_FORMAT_R16_UNORM				0x00000032
#define NVE4_IMAGE_FORMAT_R16_SNORM				0x00000033
#define NVE4_IMAGE_FORMAT_R16_SINT				0x00000034
#define NVE4_IMAGE_FORMAT_R16_UINT				0x00000035
#define NVE4_IMAGE_FORMAT_R16_FLOAT				0x00000036
#define NVE4_IMAGE_FORMAT_R8_UNORM				0x00000037
#define NVE4_IMAGE_FORMAT_R8_SNORM				0x00000038
#define NVE4_IMAGE_FORMAT_R8_SINT				0x00000039
#define NVE4_IMAGE_FORMAT_R8_UINT				0x0000003a
#define NV50_PGRAPH_DATA_ERROR_INVALID_OPERATION			0x00000003
#define NV50_PGRAPH_DATA_ERROR_INVALID_VALUE			0x00000004
#define NV50_PGRAPH_DATA_ERROR_INVALID_ENUM			0x00000005
#define NV50_PGRAPH_DATA_ERROR_INVALID_OBJECT			0x00000008
#define NV50_PGRAPH_DATA_ERROR_READ_ONLY_OBJECT			0x00000009
#define NV50_PGRAPH_DATA_ERROR_SUPERVISOR_OBJECT			0x0000000a
#define NV50_PGRAPH_DATA_ERROR_INVALID_ADDRESS_ALIGNMENT		0x0000000b
#define NV50_PGRAPH_DATA_ERROR_INVALID_BITFIELD			0x0000000c
#define NV50_PGRAPH_DATA_ERROR_BEGIN_END_ACTIVE			0x0000000d
#define NV50_PGRAPH_DATA_ERROR_SEMANTIC_COLOR_BACK_OVER_LIMIT	0x0000000e
#define NV50_PGRAPH_DATA_ERROR_VIEWPORT_ID_NEEDS_GP		0x0000000f
#define NV50_PGRAPH_DATA_ERROR_RT_DOUBLE_BIND			0x00000010
#define NV50_PGRAPH_DATA_ERROR_RT_TYPES_MISMATCH			0x00000011
#define NV50_PGRAPH_DATA_ERROR_RT_LINEAR_WITH_ZETA		0x00000012
#define NV50_PGRAPH_DATA_ERROR_FP_TOO_FEW_REGS			0x00000015
#define NV50_PGRAPH_DATA_ERROR_ZETA_FORMAT_CSAA_MISMATCH		0x00000016
#define NV50_PGRAPH_DATA_ERROR_RT_LINEAR_WITH_MSAA		0x00000017
#define NV50_PGRAPH_DATA_ERROR_FP_INTERPOLANT_START_OVER_LIMIT	0x00000018
#define NV50_PGRAPH_DATA_ERROR_SEMANTIC_LAYER_OVER_LIMIT		0x00000019
#define NV50_PGRAPH_DATA_ERROR_RT_INVALID_ALIGNMENT		0x0000001a
#define NV50_PGRAPH_DATA_ERROR_SAMPLER_OVER_LIMIT		0x0000001b
#define NV50_PGRAPH_DATA_ERROR_TEXTURE_OVER_LIMIT		0x0000001c
#define NV50_PGRAPH_DATA_ERROR_GP_TOO_MANY_OUTPUTS		0x0000001e
#define NV50_PGRAPH_DATA_ERROR_RT_BPP128_WITH_MS8		0x0000001f
#define NV50_PGRAPH_DATA_ERROR_Z_OUT_OF_BOUNDS			0x00000021
#define NV50_PGRAPH_DATA_ERROR_XY_OUT_OF_BOUNDS			0x00000023
#define NV50_PGRAPH_DATA_ERROR_VP_ZERO_INPUTS			0x00000024
#define NV50_PGRAPH_DATA_ERROR_CP_MORE_PARAMS_THAN_SHARED	0x00000027
#define NV50_PGRAPH_DATA_ERROR_CP_NO_REG_SPACE_STRIPED		0x00000028
#define NV50_PGRAPH_DATA_ERROR_CP_NO_REG_SPACE_PACKED		0x00000029
#define NV50_PGRAPH_DATA_ERROR_CP_NOT_ENOUGH_WARPS		0x0000002a
#define NV50_PGRAPH_DATA_ERROR_CP_BLOCK_SIZE_MISMATCH		0x0000002b
#define NV50_PGRAPH_DATA_ERROR_CP_NOT_ENOUGH_LOCAL_WARPS		0x0000002c
#define NV50_PGRAPH_DATA_ERROR_CP_NOT_ENOUGH_STACK_WARPS		0x0000002d
#define NV50_PGRAPH_DATA_ERROR_CP_NO_BLOCKDIM_LATCH		0x0000002e
#define NV50_PGRAPH_DATA_ERROR_ENG2D_FORMAT_MISMATCH		0x00000031
#define NV50_PGRAPH_DATA_ERROR_ENG2D_OPERATION_ILLEGAL_FOR_DST_FORMAT	0x00000033
#define NV50_PGRAPH_DATA_ERROR_ENG2D_FORMAT_MISMATCH_B		0x00000034
#define NV50_PGRAPH_DATA_ERROR_PRIMITIVE_ID_NEEDS_GP		0x0000003f
#define NV50_PGRAPH_DATA_ERROR_SEMANTIC_VIEWPORT_OVER_LIMIT	0x00000044
#define NV50_PGRAPH_DATA_ERROR_SEMANTIC_COLOR_FRONT_OVER_LIMIT	0x00000045
#define NV50_PGRAPH_DATA_ERROR_LAYER_ID_NEEDS_GP			0x00000046
#define NV50_PGRAPH_DATA_ERROR_SEMANTIC_CLIP_OVER_LIMIT		0x00000047
#define NV50_PGRAPH_DATA_ERROR_SEMANTIC_PTSZ_OVER_LIMIT		0x00000048
#define NV50_PGRAPH_DATA_ERROR_M2MF_LINE_LENGTH_EXCEEDS_PITCH_IN	0x00000051
#define NV50_PGRAPH_DATA_ERROR_M2MF_LINE_LENGTH_EXCEEDS_PITCH_OUT	0x00000053
#define NV50_PGRAPH_DATA_ERROR_RT_LINEAR_WITH_ZETA_GF100		0x00000098
#define NV50_PGRAPH_DATA_ERROR_ENG2D_UNALIGNED_PITCH_GF100	0x000000a5
#define NV50_CG_IDLE_TIMEOUT__MASK				0x0000003f
#define NV50_CG_IDLE_TIMEOUT__SHIFT				0
#define NV50_CG_IDLE_TIMEOUT_ENABLE				0x00000040
#define NV50_CG_INTERFACE_REENABLE_TIME__MASK			0x000f0000
#define NV50_CG_INTERFACE_REENABLE_TIME__SHIFT			16
#define NV50_CG_THROTTLE_DUTY_M1__MASK				0x00f00000
#define NV50_CG_THROTTLE_DUTY_M1__SHIFT				20
#define NV50_CG_DELAY__MASK					0x0f000000
#define NV50_CG_DELAY__SHIFT					24
#define NV50_CG_CLOCK_THROTTLE_ENABLE				0x10000000
#define NV50_CG_THROTTLE_MODE__MASK				0x20000000
#define NV50_CG_THROTTLE_MODE__SHIFT				29
#define NV50_CG_THROTTLE_MODE_AUTO				0x00000000
#define NV50_CG_THROTTLE_MODE_MANUAL				0x20000000
#define NV50_CG_INTERFACE_THROTTLE_ENABLE			0x40000000
#define NV50_QUERY__SIZE						0x00000010
#define NV50_QUERY_COUNTER					0x00000000

#define NV50_QUERY_RES						0x00000004

#define NV50_QUERY_TIME						0x00000008


#endif /* NV50_DEFS_XML */