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
|
#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://0x04.net/cgit/index.cgi/rules-ng-ng
git clone git://0x04.net/rules-ng-ng
The rules-ng-ng source files this header was generated from are:
- rnndb/nv50_defs.xml ( 7783 bytes, from 2013-02-14 13:56:25)
- ./rnndb/copyright.xml ( 6452 bytes, from 2011-08-11 18:25:12)
- ./rnndb/nvchipsets.xml ( 3704 bytes, from 2012-08-18 12:48:55)
Copyright (C) 2006-2013 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_QUERY__SIZE 0x00000010
#define NV50_QUERY_COUNTER 0x00000000
#define NV50_QUERY_RES 0x00000004
#define NV50_QUERY_TIME 0x00000008
#endif /* NV50_DEFS_XML */
|