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