Merge remote branch 'origin/master' into nvc0-new
[mesa.git] / src / mesa / drivers / dri / nouveau / nv_object.xml.h
1 #ifndef NV_OBJECT_XML
2 #define NV_OBJECT_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 - nv_object.xml ( 11547 bytes, from 2010-11-13 23:32:57)
12 - copyright.xml ( 6452 bytes, from 2010-11-15 15:10:58)
13 - nvchipsets.xml ( 3074 bytes, from 2010-11-13 23:32:57)
14 - nv_defs.xml ( 4437 bytes, from 2010-11-01 00:28:46)
15
16 Copyright (C) 2006-2010 by the following authors:
17 - Artur Huillet <arthur.huillet@free.fr> (ahuillet)
18 - Ben Skeggs (darktama, darktama_)
19 - B. R. <koala_br@users.sourceforge.net> (koala_br)
20 - Carlos Martin <carlosmn@users.sf.net> (carlosmn)
21 - Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr)
22 - Dawid Gajownik <gajownik@users.sf.net> (gajownik)
23 - Dmitry Baryshkov
24 - Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag)
25 - EdB <edb_@users.sf.net> (edb_)
26 - Erik Waling <erikwailing@users.sf.net> (erikwaling)
27 - Francisco Jerez <currojerez@riseup.net> (curro)
28 - imirkin <imirkin@users.sf.net> (imirkin)
29 - jb17bsome <jb17bsome@bellsouth.net> (jb17bsome)
30 - Jeremy Kolb <kjeremy@users.sf.net> (kjeremy)
31 - Laurent Carlier <lordheavym@gmail.com> (lordheavy)
32 - Luca Barbieri <luca@luca-barbieri.com> (lb, lb1)
33 - Maarten Maathuis <madman2003@gmail.com> (stillunknown)
34 - Marcin Koƛcielnicki <koriakin@0x04.net> (mwk, koriakin)
35 - Mark Carey <mark.carey@gmail.com> (careym)
36 - Matthieu Castet <matthieu.castet@parrot.com> (mat-c)
37 - nvidiaman <nvidiaman@users.sf.net> (nvidiaman)
38 - Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata)
39 - Pekka Paalanen <pq@iki.fi> (pq, ppaalanen)
40 - Peter Popov <ironpeter@users.sf.net> (ironpeter)
41 - Richard Hughes <hughsient@users.sf.net> (hughsient)
42 - Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar)
43 - Serge Martin
44 - Simon Raffeiner
45 - Stephane Loeuillet <leroutier@users.sf.net> (leroutier)
46 - Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu)
47 - sturmflut <sturmflut@users.sf.net> (sturmflut)
48 - Sylvain Munaut <tnt@246tNt.com>
49 - Victor Stinner <victor.stinner@haypocalc.com> (haypo)
50 - Wladmir van der Laan <laanwj@gmail.com> (miathan6)
51 - Younes Manton <younes.m@gmail.com> (ymanton)
52
53 Permission is hereby granted, free of charge, to any person obtaining
54 a copy of this software and associated documentation files (the
55 "Software"), to deal in the Software without restriction, including
56 without limitation the rights to use, copy, modify, merge, publish,
57 distribute, sublicense, and/or sell copies of the Software, and to
58 permit persons to whom the Software is furnished to do so, subject to
59 the following conditions:
60
61 The above copyright notice and this permission notice (including the
62 next paragraph) shall be included in all copies or substantial
63 portions of the Software.
64
65 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
66 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
67 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
68 IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
69 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
70 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
71 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
72 */
73
74
75 #define NV01_ROOT 0x00000001
76 #define NV01_CONTEXT_DMA 0x00000002
77 #define NV01_DEVICE 0x00000003
78 #define NV01_TIMER 0x00000004
79 #define NV01_NULL 0x00000030
80 #define NV01_MEMORY_LOCAL_BANKED 0x0000003d
81 #define NV01_MAPPING_SYSTEM 0x0000003e
82 #define NV03_MEMORY_LOCAL_CURSOR 0x0000003f
83 #define NV01_MEMORY_LOCAL_LINEAR 0x00000040
84 #define NV01_MAPPING_LOCAL 0x00000041
85 #define NV03_VIDEO_LUT_CURSOR_DAC 0x00000046
86 #define NV03_CHANNEL_PIO 0x0000006a
87 #define NV03_CHANNEL_DMA 0x0000006b
88 #define NV10_VIDEO_DISPLAY 0x0000007c
89 #define NV01_CONTEXT_BETA1 0x00000012
90 #define NV04_BETA_SOLID 0x00000072
91 #define NV01_CONTEXT_COLOR_KEY 0x00000017
92 #define NV04_CONTEXT_COLOR_KEY 0x00000057
93 #define NV01_CONTEXT_PATTERN 0x00000018
94 #define NV01_CONTEXT_CLIP_RECTANGLE 0x00000019
95 #define NV03_CONTEXT_ROP 0x00000043
96 #define NV04_IMAGE_PATTERN 0x00000044
97 #define NV01_RENDER_SOLID_LINE 0x0000001c
98 #define NV04_RENDER_SOLID_LINE 0x0000005c
99 #define NV30_RENDER_SOLID_LINE 0x0000035c
100 #define NV40_RENDER_SOLID_LINE 0x0000305c
101 #define NV01_RENDER_SOLID_TRIANGLE 0x0000001d
102 #define NV04_RENDER_SOLID_TRIANGLE 0x0000005d
103 #define NV01_RENDER_SOLID_RECTANGLE 0x0000001e
104 #define NV04_RENDER_SOLID_RECTANGLE 0x0000005e
105 #define NV01_IMAGE_BLIT 0x0000001f
106 #define NV04_IMAGE_BLIT 0x0000005f
107 #define NV11_IMAGE_BLIT 0x0000009f
108 #define NV01_IMAGE_FROM_CPU 0x00000021
109 #define NV04_IMAGE_FROM_CPU 0x00000061
110 #define NV05_IMAGE_FROM_CPU 0x00000065
111 #define NV10_IMAGE_FROM_CPU 0x0000008a
112 #define NV30_IMAGE_FROM_CPU 0x0000038a
113 #define NV40_IMAGE_FROM_CPU 0x0000308a
114 #define NV03_STRETCHED_IMAGE_FROM_CPU 0x00000036
115 #define NV04_STRETCHED_IMAGE_FROM_CPU 0x00000076
116 #define NV05_STRETCHED_IMAGE_FROM_CPU 0x00000066
117 #define NV30_STRETCHED_IMAGE_FROM_CPU 0x00000366
118 #define NV40_STRETCHED_IMAGE_FROM_CPU 0x00003066
119 #define NV03_SCALED_IMAGE_FROM_MEMORY 0x00000037
120 #define NV04_SCALED_IMAGE_FROM_MEMORY 0x00000077
121 #define NV05_SCALED_IMAGE_FROM_MEMORY 0x00000063
122 #define NV10_SCALED_IMAGE_FROM_MEMORY 0x00000089
123 #define NV30_SCALED_IMAGE_FROM_MEMORY 0x00000389
124 #define NV40_SCALED_IMAGE_FROM_MEMORY 0x00003089
125 #define NV50_SCALED_IMAGE_FROM_MEMORY 0x00005089
126 #define NV04_DVD_SUBPICTURE 0x00000038
127 #define NV10_DVD_SUBPICTURE 0x00000088
128 #define NV03_GDI_RECTANGLE_TEXT 0x0000004b
129 #define NV04_GDI_RECTANGLE_TEXT 0x0000004a
130 #define NV04_SWIZZLED_SURFACE 0x00000052
131 #define NV20_SWIZZLED_SURFACE 0x0000009e
132 #define NV30_SWIZZLED_SURFACE 0x0000039e
133 #define NV40_SWIZZLED_SURFACE 0x0000309e
134 #define NV03_CONTEXT_SURFACE_DST 0x00000058
135 #define NV03_CONTEXT_SURFACE_SRC 0x00000059
136 #define NV04_CONTEXT_SURFACES_2D 0x00000042
137 #define NV10_CONTEXT_SURFACES_2D 0x00000062
138 #define NV30_CONTEXT_SURFACES_2D 0x00000362
139 #define NV40_CONTEXT_SURFACES_2D 0x00003062
140 #define NV50_CONTEXT_SURFACES_2D 0x00005062
141 #define NV04_INDEXED_IMAGE_FROM_CPU 0x00000060
142 #define NV05_INDEXED_IMAGE_FROM_CPU 0x00000064
143 #define NV30_INDEXED_IMAGE_FROM_CPU 0x00000364
144 #define NV40_INDEXED_IMAGE_FROM_CPU 0x00003064
145 #define NV10_TEXTURE_FROM_CPU 0x0000007b
146 #define NV30_TEXTURE_FROM_CPU 0x0000037b
147 #define NV40_TEXTURE_FROM_CPU 0x0000307b
148 #define NV04_M2MF 0x00000039
149 #define NV50_M2MF 0x00005039
150 #define NVC0_M2MF 0x00009039
151 #define NV03_TEXTURED_TRIANGLE 0x00000048
152 #define NV04_TEXTURED_TRIANGLE 0x00000054
153 #define NV10_TEXTURED_TRIANGLE 0x00000094
154 #define NV04_MULTITEX_TRIANGLE 0x00000055
155 #define NV10_MULTITEX_TRIANGLE 0x00000095
156 #define NV03_CONTEXT_SURFACE_COLOR 0x0000005a
157 #define NV03_CONTEXT_SURFACE_ZETA 0x0000005b
158 #define NV04_CONTEXT_SURFACES_3D 0x00000053
159 #define NV10_CONTEXT_SURFACES_3D 0x00000093
160 #define NV10_3D 0x00000056
161 #define NV11_3D 0x00000096
162 #define NV17_3D 0x00000099
163 #define NV20_3D 0x00000097
164 #define NV25_3D 0x00000597
165 #define NV30_3D 0x00000397
166 #define NV35_3D 0x00000497
167 #define NV34_3D 0x00000697
168 #define NV40_3D 0x00004097
169 #define NV44_3D 0x00004497
170 #define NV50_3D 0x00005097
171 #define NV84_3D 0x00008297
172 #define NVA0_3D 0x00008397
173 #define NVA3_3D 0x00008597
174 #define NVAF_3D 0x00008697
175 #define NVC0_3D 0x00009097
176 #define NV50_2D 0x0000502d
177 #define NVC0_2D 0x0000902d
178 #define NV50_COMPUTE 0x000050c0
179 #define NVA3_COMPUTE 0x000085c0
180 #define NVC0_COMPUTE 0x000090c0
181 #define NV84_CRYPT 0x000074c1
182 #define NV01_SUBCHAN__SIZE 0x00002000
183 #define NV01_SUBCHAN 0x00000000
184
185 #define NV01_SUBCHAN_OBJECT 0x00000000
186
187
188 #define NV84_SUBCHAN_QUERY_ADDRESS_HIGH 0x00000010
189
190 #define NV84_SUBCHAN_QUERY_ADDRESS_LOW 0x00000014
191
192 #define NV84_SUBCHAN_QUERY_COUNTER 0x00000018
193
194 #define NV84_SUBCHAN_QUERY_GET 0x0000001c
195
196 #define NV84_SUBCHAN_QUERY_INTR 0x00000020
197
198 #define NV84_SUBCHAN_WRCACHE_FLUSH 0x00000024
199
200 #define NV10_SUBCHAN_REF_CNT 0x00000050
201
202
203 #define NV11_SUBCHAN_DMA_SEMAPHORE 0x00000060
204
205 #define NV11_SUBCHAN_SEMAPHORE_OFFSET 0x00000064
206
207 #define NV11_SUBCHAN_SEMAPHORE_ACQUIRE 0x00000068
208
209 #define NV11_SUBCHAN_SEMAPHORE_RELEASE 0x0000006c
210
211 #define NV40_SUBCHAN_YIELD 0x00000080
212
213 #define NV01_GRAPH 0x00000000
214
215 #define NV04_GRAPH_NOP 0x00000100
216
217 #define NV01_GRAPH_NOTIFY 0x00000104
218 #define NV01_GRAPH_NOTIFY_WRITE 0x00000000
219 #define NV01_GRAPH_NOTIFY_WRITE_AND_AWAKEN 0x00000001
220
221 #define NV50_GRAPH_WAIT_FOR_IDLE 0x00000110
222
223 #define NVA3_GRAPH_UNK0120 0x00000120
224
225 #define NVA3_GRAPH_UNK0124 0x00000124
226
227 #define NV40_GRAPH_PM_TRIGGER 0x00000140
228
229 #define NVC0_SUBCHAN__SIZE 0x00008000
230 #define NVC0_SUBCHAN 0x00000000
231
232 #define NVC0_SUBCHAN_OBJECT 0x00000000
233
234
235 #define NVC0_SUBCHAN_QUERY_ADDRESS_HIGH 0x00000010
236
237 #define NVC0_SUBCHAN_QUERY_ADDRESS_LOW 0x00000014
238
239 #define NVC0_SUBCHAN_QUERY_SEQUENCE 0x00000018
240
241 #define NVC0_SUBCHAN_QUERY_GET 0x0000001c
242
243 #define NVC0_SUBCHAN_REF_CNT 0x00000050
244
245 #define NVC0_GRAPH 0x00000000
246
247 #define NVC0_GRAPH_NOP 0x00000100
248
249 #define NVC0_GRAPH_NOTIFY_ADDRESS_HIGH 0x00000104
250
251 #define NVC0_GRAPH_NOTIFY_ADDRESS_LOW 0x00000108
252
253 #define NVC0_GRAPH_NOTIFY 0x0000010c
254 #define NVC0_GRAPH_NOTIFY_WRITE 0x00000000
255 #define NVC0_GRAPH_NOTIFY_WRITE_AND_AWAKEN 0x00000001
256
257 #define NVC0_GRAPH_SERIALIZE 0x00000110
258
259 #define NVC0_GRAPH_MACRO_UPLOAD_POS 0x00000114
260
261 #define NVC0_GRAPH_MACRO_UPLOAD_DATA 0x00000118
262
263 #define NVC0_GRAPH_MACRO_ID 0x0000011c
264
265 #define NVC0_GRAPH_MACRO_POS 0x00000120
266
267
268 #endif /* NV_OBJECT_XML */