• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef NV01_2D_XML
2 #define NV01_2D_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 - nv01_2d.xml    (  33509 bytes, from 2010-11-13 23:32:57)
12 - copyright.xml  (   6452 bytes, from 2010-11-15 15:10:58)
13 - nv_defs.xml    (   4437 bytes, from 2010-11-01 00:28:46)
14 - nv_object.xml  (  11547 bytes, from 2010-11-13 23:32:57)
15 - nvchipsets.xml (   3074 bytes, from 2010-11-13 23:32:57)
16 
17 Copyright (C) 2006-2010 by the following authors:
18 - Artur Huillet <arthur.huillet@free.fr> (ahuillet)
19 - Ben Skeggs (darktama, darktama_)
20 - B. R. <koala_br@users.sourceforge.net> (koala_br)
21 - Carlos Martin <carlosmn@users.sf.net> (carlosmn)
22 - Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr)
23 - Dawid Gajownik <gajownik@users.sf.net> (gajownik)
24 - Dmitry Baryshkov
25 - Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag)
26 - EdB <edb_@users.sf.net> (edb_)
27 - Erik Waling <erikwailing@users.sf.net> (erikwaling)
28 - Francisco Jerez <currojerez@riseup.net> (curro)
29 - imirkin <imirkin@users.sf.net> (imirkin)
30 - jb17bsome <jb17bsome@bellsouth.net> (jb17bsome)
31 - Jeremy Kolb <kjeremy@users.sf.net> (kjeremy)
32 - Laurent Carlier <lordheavym@gmail.com> (lordheavy)
33 - Luca Barbieri <luca@luca-barbieri.com> (lb, lb1)
34 - Maarten Maathuis <madman2003@gmail.com> (stillunknown)
35 - Marcin Kościelnicki <koriakin@0x04.net> (mwk, koriakin)
36 - Mark Carey <mark.carey@gmail.com> (careym)
37 - Matthieu Castet <matthieu.castet@parrot.com> (mat-c)
38 - nvidiaman <nvidiaman@users.sf.net> (nvidiaman)
39 - Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata)
40 - Pekka Paalanen <pq@iki.fi> (pq, ppaalanen)
41 - Peter Popov <ironpeter@users.sf.net> (ironpeter)
42 - Richard Hughes <hughsient@users.sf.net> (hughsient)
43 - Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar)
44 - Serge Martin
45 - Simon Raffeiner
46 - Stephane Loeuillet <leroutier@users.sf.net> (leroutier)
47 - Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu)
48 - sturmflut <sturmflut@users.sf.net> (sturmflut)
49 - Sylvain Munaut <tnt@246tNt.com>
50 - Victor Stinner <victor.stinner@haypocalc.com> (haypo)
51 - Wladmir van der Laan <laanwj@gmail.com> (miathan6)
52 - Younes Manton <younes.m@gmail.com> (ymanton)
53 
54 Permission is hereby granted, free of charge, to any person obtaining
55 a copy of this software and associated documentation files (the
56 "Software"), to deal in the Software without restriction, including
57 without limitation the rights to use, copy, modify, merge, publish,
58 distribute, sublicense, and/or sell copies of the Software, and to
59 permit persons to whom the Software is furnished to do so, subject to
60 the following conditions:
61 
62 The above copyright notice and this permission notice (including the
63 next paragraph) shall be included in all copies or substantial
64 portions of the Software.
65 
66 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
67 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
68 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
69 IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
70 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
71 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
72 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
73 */
74 
75 
76 
77 #define NV01_CONTEXT_BETA1_DMA_NOTIFY				0x00000180
78 
79 #define NV01_CONTEXT_BETA1_BETA_1D31				0x00000300
80 
81 
82 #define NV04_BETA_SOLID_DMA_NOTIFY				0x00000180
83 
84 #define NV04_BETA_SOLID_BETA_FACTOR				0x00000300
85 
86 
87 #define NV01_CONTEXT_COLOR_KEY_DMA_NOTIFY			0x00000180
88 
89 #define NV01_CONTEXT_COLOR_KEY_COLOR_FORMAT			0x00000300
90 #define NV01_CONTEXT_COLOR_KEY_COLOR_FORMAT_A16R5G6B5		0x00000001
91 #define NV01_CONTEXT_COLOR_KEY_COLOR_FORMAT_X16A1R5G5B5		0x00000002
92 #define NV01_CONTEXT_COLOR_KEY_COLOR_FORMAT_A8R8G8B8		0x00000003
93 
94 #define NV01_CONTEXT_COLOR_KEY_COLOR				0x00000304
95 
96 
97 #define NV01_CONTEXT_PATTERN_DMA_NOTIFY				0x00000180
98 
99 #define NV01_CONTEXT_PATTERN_COLOR_FORMAT			0x00000300
100 
101 #define NV01_CONTEXT_PATTERN_MONOCHROME_FORMAT			0x00000304
102 
103 #define NV01_CONTEXT_PATTERN_SHAPE				0x00000308
104 
105 #define NV01_CONTEXT_PATTERN_COLOR(i0)			       (0x00000310 + 0x4*(i0))
106 #define NV01_CONTEXT_PATTERN_COLOR__ESIZE			0x00000004
107 #define NV01_CONTEXT_PATTERN_COLOR__LEN				0x00000002
108 
109 #define NV01_CONTEXT_PATTERN_PATTERN(i0)		       (0x00000318 + 0x4*(i0))
110 #define NV01_CONTEXT_PATTERN_PATTERN__ESIZE			0x00000004
111 #define NV01_CONTEXT_PATTERN_PATTERN__LEN			0x00000002
112 
113 
114 #define NV01_CONTEXT_CLIP_RECTANGLE_DMA_NOTIFY			0x00000180
115 
116 #define NV01_CONTEXT_CLIP_RECTANGLE_POINT			0x00000300
117 #define NV01_CONTEXT_CLIP_RECTANGLE_POINT_X__MASK		0x0000ffff
118 #define NV01_CONTEXT_CLIP_RECTANGLE_POINT_X__SHIFT		0
119 #define NV01_CONTEXT_CLIP_RECTANGLE_POINT_Y__MASK		0xffff0000
120 #define NV01_CONTEXT_CLIP_RECTANGLE_POINT_Y__SHIFT		16
121 
122 #define NV01_CONTEXT_CLIP_RECTANGLE_SIZE			0x00000304
123 #define NV01_CONTEXT_CLIP_RECTANGLE_SIZE_W__MASK		0x0000ffff
124 #define NV01_CONTEXT_CLIP_RECTANGLE_SIZE_W__SHIFT		0
125 #define NV01_CONTEXT_CLIP_RECTANGLE_SIZE_H__MASK		0xffff0000
126 #define NV01_CONTEXT_CLIP_RECTANGLE_SIZE_H__SHIFT		16
127 
128 
129 #define NV04_CONTEXT_SURFACES_2D_DMA_NOTIFY			0x00000180
130 
131 #define NV04_CONTEXT_SURFACES_2D_DMA_IMAGE_SOURCE		0x00000184
132 
133 #define NV04_CONTEXT_SURFACES_2D_DMA_IMAGE_DESTIN		0x00000188
134 
135 
136 #define NV50_CONTEXT_SURFACES_2D_SRC_LINEAR			0x00000200
137 
138 #define NV50_CONTEXT_SURFACES_2D_SRC_TILE_MODE			0x00000204
139 
140 #define NV50_CONTEXT_SURFACES_2D_SRC_WIDTH			0x00000208
141 
142 #define NV50_CONTEXT_SURFACES_2D_SRC_HEIGHT			0x0000020c
143 
144 #define NV50_CONTEXT_SURFACES_2D_UNK0210			0x00000210
145 
146 #define NV50_CONTEXT_SURFACES_2D_UNK0214			0x00000214
147 
148 #define NV50_CONTEXT_SURFACES_2D_DST_LINEAR			0x00000218
149 
150 #define NV50_CONTEXT_SURFACES_2D_DST_TILE_MODE			0x0000021c
151 
152 #define NV50_CONTEXT_SURFACES_2D_DST_WIDTH			0x00000220
153 
154 #define NV50_CONTEXT_SURFACES_2D_DST_HEIGHT			0x00000224
155 
156 #define NV50_CONTEXT_SURFACES_2D_UNK0228			0x00000228
157 
158 #define NV50_CONTEXT_SURFACES_2D_UNK022C			0x0000022c
159 
160 #define NV50_CONTEXT_SURFACES_2D_OFFSET_SOURCE_HIGH		0x00000230
161 
162 #define NV50_CONTEXT_SURFACES_2D_OFFSET_DESTIN_HIGH		0x00000234
163 
164 #define NV04_CONTEXT_SURFACES_2D_FORMAT				0x00000300
165 #define NV04_CONTEXT_SURFACES_2D_FORMAT_Y8			0x00000001
166 #define NV04_CONTEXT_SURFACES_2D_FORMAT_X1R5G5B5_Z1R5G5B5	0x00000002
167 #define NV04_CONTEXT_SURFACES_2D_FORMAT_X1R5G5B5_X1R5G5B5	0x00000003
168 #define NV04_CONTEXT_SURFACES_2D_FORMAT_R5G6B5			0x00000004
169 #define NV04_CONTEXT_SURFACES_2D_FORMAT_Y16			0x00000005
170 #define NV04_CONTEXT_SURFACES_2D_FORMAT_X8R8G8B8_Z8R8G8B8	0x00000006
171 #define NV04_CONTEXT_SURFACES_2D_FORMAT_X8R8G8B8_X8R8G8B8	0x00000007
172 #define NV04_CONTEXT_SURFACES_2D_FORMAT_X1A7R8G8B8_Z1A7R8G8B8	0x00000008
173 #define NV04_CONTEXT_SURFACES_2D_FORMAT_X1A7R8G8B8_X1A7R8G8B8	0x00000009
174 #define NV04_CONTEXT_SURFACES_2D_FORMAT_A8R8G8B8		0x0000000a
175 #define NV04_CONTEXT_SURFACES_2D_FORMAT_Y32			0x0000000b
176 
177 #define NV04_CONTEXT_SURFACES_2D_PITCH				0x00000304
178 #define NV04_CONTEXT_SURFACES_2D_PITCH_SOURCE__MASK		0x0000ffff
179 #define NV04_CONTEXT_SURFACES_2D_PITCH_SOURCE__SHIFT		0
180 #define NV04_CONTEXT_SURFACES_2D_PITCH_DESTIN__MASK		0xffff0000
181 #define NV04_CONTEXT_SURFACES_2D_PITCH_DESTIN__SHIFT		16
182 
183 #define NV04_CONTEXT_SURFACES_2D_OFFSET_SOURCE			0x00000308
184 
185 #define NV04_CONTEXT_SURFACES_2D_OFFSET_DESTIN			0x0000030c
186 
187 
188 #define NV04_SWIZZLED_SURFACE_DMA_NOTIFY			0x00000180
189 
190 #define NV04_SWIZZLED_SURFACE_DMA_IMAGE				0x00000184
191 
192 #define NV04_SWIZZLED_SURFACE_FORMAT				0x00000300
193 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR__MASK		0x000000ff
194 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR__SHIFT		0
195 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_Y8			0x00000001
196 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_X1R5G5B5_Z1R5G5B5	0x00000002
197 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_X1R5G5B5_X1R5G5B5	0x00000003
198 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_R5G6B5		0x00000004
199 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_Y16			0x00000005
200 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_X8R8G8B8_Z8R8G8B8	0x00000006
201 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_X8R8G8B8_X8R8G8B8	0x00000007
202 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_X1A7R8G8B8_Z1A7R8G8B8	0x00000008
203 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_X1A7R8G8B8_X1A7R8G8B8	0x00000009
204 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_A8R8G8B8		0x0000000a
205 #define NV04_SWIZZLED_SURFACE_FORMAT_COLOR_Y32			0x0000000b
206 #define NV04_SWIZZLED_SURFACE_FORMAT_BASE_SIZE_U__MASK		0x00ff0000
207 #define NV04_SWIZZLED_SURFACE_FORMAT_BASE_SIZE_U__SHIFT		16
208 #define NV04_SWIZZLED_SURFACE_FORMAT_BASE_SIZE_V__MASK		0xff000000
209 #define NV04_SWIZZLED_SURFACE_FORMAT_BASE_SIZE_V__SHIFT		24
210 
211 #define NV04_SWIZZLED_SURFACE_OFFSET				0x00000304
212 
213 
214 #define NV03_CONTEXT_ROP_DMA_NOTIFY				0x00000180
215 
216 #define NV03_CONTEXT_ROP_ROP					0x00000300
217 
218 
219 #define NV04_IMAGE_PATTERN_DMA_NOTIFY				0x00000180
220 
221 #define NV04_IMAGE_PATTERN_COLOR_FORMAT				0x00000300
222 #define NV04_IMAGE_PATTERN_COLOR_FORMAT_A16R5G6B5		0x00000001
223 #define NV04_IMAGE_PATTERN_COLOR_FORMAT_X16A1R5G5B5		0x00000002
224 #define NV04_IMAGE_PATTERN_COLOR_FORMAT_A8R8G8B8		0x00000003
225 
226 #define NV04_IMAGE_PATTERN_MONOCHROME_FORMAT			0x00000304
227 #define NV04_IMAGE_PATTERN_MONOCHROME_FORMAT_CGA6		0x00000001
228 #define NV04_IMAGE_PATTERN_MONOCHROME_FORMAT_LE			0x00000002
229 
230 #define NV04_IMAGE_PATTERN_MONOCHROME_SHAPE			0x00000308
231 #define NV04_IMAGE_PATTERN_MONOCHROME_SHAPE_8X8			0x00000000
232 #define NV04_IMAGE_PATTERN_MONOCHROME_SHAPE_64X1		0x00000001
233 #define NV04_IMAGE_PATTERN_MONOCHROME_SHAPE_1X64		0x00000002
234 
235 #define NV04_IMAGE_PATTERN_PATTERN_SELECT			0x0000030c
236 #define NV04_IMAGE_PATTERN_PATTERN_SELECT_MONO			0x00000001
237 #define NV04_IMAGE_PATTERN_PATTERN_SELECT_COLOR			0x00000002
238 
239 #define NV04_IMAGE_PATTERN_MONOCHROME_COLOR0			0x00000310
240 
241 #define NV04_IMAGE_PATTERN_MONOCHROME_COLOR1			0x00000314
242 
243 #define NV04_IMAGE_PATTERN_MONOCHROME_PATTERN0			0x00000318
244 
245 #define NV04_IMAGE_PATTERN_MONOCHROME_PATTERN1			0x0000031c
246 
247 #define NV04_IMAGE_PATTERN_PATTERN_Y8(i0)		       (0x00000400 + 0x4*(i0))
248 #define NV04_IMAGE_PATTERN_PATTERN_Y8__ESIZE			0x00000004
249 #define NV04_IMAGE_PATTERN_PATTERN_Y8__LEN			0x00000010
250 #define NV04_IMAGE_PATTERN_PATTERN_Y8_Y0__MASK			0x000000ff
251 #define NV04_IMAGE_PATTERN_PATTERN_Y8_Y0__SHIFT			0
252 #define NV04_IMAGE_PATTERN_PATTERN_Y8_Y1__MASK			0x0000ff00
253 #define NV04_IMAGE_PATTERN_PATTERN_Y8_Y1__SHIFT			8
254 #define NV04_IMAGE_PATTERN_PATTERN_Y8_Y2__MASK			0x00ff0000
255 #define NV04_IMAGE_PATTERN_PATTERN_Y8_Y2__SHIFT			16
256 #define NV04_IMAGE_PATTERN_PATTERN_Y8_Y3__MASK			0xff000000
257 #define NV04_IMAGE_PATTERN_PATTERN_Y8_Y3__SHIFT			24
258 
259 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5(i0)		       (0x00000500 + 0x4*(i0))
260 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5__ESIZE		0x00000004
261 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5__LEN			0x00000020
262 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_B0__MASK		0x0000001f
263 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_B0__SHIFT		0
264 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_G0__MASK		0x000007e0
265 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_G0__SHIFT		5
266 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_R0__MASK		0x0000f800
267 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_R0__SHIFT		11
268 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_B1__MASK		0x001f0000
269 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_B1__SHIFT		16
270 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_G1__MASK		0x07e00000
271 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_G1__SHIFT		21
272 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_R1__MASK		0xf8000000
273 #define NV04_IMAGE_PATTERN_PATTERN_R5G6B5_R1__SHIFT		27
274 
275 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5(i0)		       (0x00000600 + 0x4*(i0))
276 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5__ESIZE		0x00000004
277 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5__LEN		0x00000020
278 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_B0__MASK		0x0000001f
279 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_B0__SHIFT		0
280 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_G0__MASK		0x000003e0
281 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_G0__SHIFT		5
282 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_R0__MASK		0x00007c00
283 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_R0__SHIFT		10
284 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_B1__MASK		0x001f0000
285 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_B1__SHIFT		16
286 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_G1__MASK		0x03e00000
287 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_G1__SHIFT		21
288 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_R1__MASK		0x7c000000
289 #define NV04_IMAGE_PATTERN_PATTERN_X1R5G5B5_R1__SHIFT		26
290 
291 #define NV04_IMAGE_PATTERN_PATTERN_X8R8G8B8(i0)		       (0x00000700 + 0x4*(i0))
292 #define NV04_IMAGE_PATTERN_PATTERN_X8R8G8B8__ESIZE		0x00000004
293 #define NV04_IMAGE_PATTERN_PATTERN_X8R8G8B8__LEN		0x00000040
294 #define NV04_IMAGE_PATTERN_PATTERN_X8R8G8B8_B__MASK		0x000000ff
295 #define NV04_IMAGE_PATTERN_PATTERN_X8R8G8B8_B__SHIFT		0
296 #define NV04_IMAGE_PATTERN_PATTERN_X8R8G8B8_G__MASK		0x0000ff00
297 #define NV04_IMAGE_PATTERN_PATTERN_X8R8G8B8_G__SHIFT		8
298 #define NV04_IMAGE_PATTERN_PATTERN_X8R8G8B8_R__MASK		0x00ff0000
299 #define NV04_IMAGE_PATTERN_PATTERN_X8R8G8B8_R__SHIFT		16
300 
301 
302 #define NV01_RENDER_SOLID_LINE_PATCH				0x0000010c
303 
304 #define NV01_RENDER_SOLID_LINE_DMA_NOTIFY			0x00000180
305 
306 #define NV01_RENDER_SOLID_LINE_CLIP_RECTANGLE			0x00000184
307 
308 #define NV01_RENDER_SOLID_LINE_PATTERN				0x00000188
309 
310 #define NV04_RENDER_SOLID_LINE_PATTERN				0x00000188
311 
312 #define NV01_RENDER_SOLID_LINE_ROP				0x0000018c
313 
314 #define NV01_RENDER_SOLID_LINE_BETA1				0x00000190
315 
316 #define NV01_RENDER_SOLID_LINE_SURFACE_DST			0x00000194
317 
318 
319 #define NV04_RENDER_SOLID_LINE_BETA4				0x00000194
320 
321 #define NV04_RENDER_SOLID_LINE_SURFACE				0x00000198
322 
323 #define NV01_RENDER_SOLID_LINE_OPERATION			0x000002fc
324 #define NV01_RENDER_SOLID_LINE_OPERATION_SRCCOPY_AND		0x00000000
325 #define NV01_RENDER_SOLID_LINE_OPERATION_ROP_AND		0x00000001
326 #define NV01_RENDER_SOLID_LINE_OPERATION_BLEND_AND		0x00000002
327 #define NV01_RENDER_SOLID_LINE_OPERATION_SRCCOPY		0x00000003
328 #define NV01_RENDER_SOLID_LINE_OPERATION_SRCCOPY_PREMULT	0x00000004
329 #define NV01_RENDER_SOLID_LINE_OPERATION_BLEND_PREMULT		0x00000005
330 
331 #define NV01_RENDER_SOLID_LINE_COLOR_FORMAT			0x00000300
332 #define NV01_RENDER_SOLID_LINE_COLOR_FORMAT_A16R5G6B5		0x00000001
333 #define NV01_RENDER_SOLID_LINE_COLOR_FORMAT_X16A1R5G5B5		0x00000002
334 #define NV01_RENDER_SOLID_LINE_COLOR_FORMAT_A8R8G8B8		0x00000003
335 
336 #define NV01_RENDER_SOLID_LINE_COLOR				0x00000304
337 
338 #define NV01_RENDER_SOLID_LINE_LINE_POINT0(i0)		       (0x00000400 + 0x8*(i0))
339 #define NV01_RENDER_SOLID_LINE_LINE_POINT0__ESIZE		0x00000008
340 #define NV01_RENDER_SOLID_LINE_LINE_POINT0__LEN			0x00000010
341 #define NV01_RENDER_SOLID_LINE_LINE_POINT0_X__MASK		0x0000ffff
342 #define NV01_RENDER_SOLID_LINE_LINE_POINT0_X__SHIFT		0
343 #define NV01_RENDER_SOLID_LINE_LINE_POINT0_Y__MASK		0xffff0000
344 #define NV01_RENDER_SOLID_LINE_LINE_POINT0_Y__SHIFT		16
345 
346 #define NV01_RENDER_SOLID_LINE_LINE_POINT1(i0)		       (0x00000404 + 0x8*(i0))
347 #define NV01_RENDER_SOLID_LINE_LINE_POINT1__ESIZE		0x00000008
348 #define NV01_RENDER_SOLID_LINE_LINE_POINT1__LEN			0x00000010
349 #define NV01_RENDER_SOLID_LINE_LINE_POINT1_X__MASK		0x0000ffff
350 #define NV01_RENDER_SOLID_LINE_LINE_POINT1_X__SHIFT		0
351 #define NV01_RENDER_SOLID_LINE_LINE_POINT1_Y__MASK		0xffff0000
352 #define NV01_RENDER_SOLID_LINE_LINE_POINT1_Y__SHIFT		16
353 
354 #define NV01_RENDER_SOLID_LINE_LINE32_POINT0_X(i0)	       (0x00000480 + 0x10*(i0))
355 #define NV01_RENDER_SOLID_LINE_LINE32_POINT0_X__ESIZE		0x00000010
356 #define NV01_RENDER_SOLID_LINE_LINE32_POINT0_X__LEN		0x00000010
357 
358 #define NV01_RENDER_SOLID_LINE_LINE32_POINT0_Y(i0)	       (0x00000484 + 0x10*(i0))
359 #define NV01_RENDER_SOLID_LINE_LINE32_POINT0_Y__ESIZE		0x00000010
360 #define NV01_RENDER_SOLID_LINE_LINE32_POINT0_Y__LEN		0x00000010
361 
362 #define NV01_RENDER_SOLID_LINE_LINE32_POINT1_X(i0)	       (0x00000488 + 0x10*(i0))
363 #define NV01_RENDER_SOLID_LINE_LINE32_POINT1_X__ESIZE		0x00000010
364 #define NV01_RENDER_SOLID_LINE_LINE32_POINT1_X__LEN		0x00000010
365 
366 #define NV01_RENDER_SOLID_LINE_LINE32_POINT1_Y(i0)	       (0x0000048c + 0x10*(i0))
367 #define NV01_RENDER_SOLID_LINE_LINE32_POINT1_Y__ESIZE		0x00000010
368 #define NV01_RENDER_SOLID_LINE_LINE32_POINT1_Y__LEN		0x00000010
369 
370 #define NV01_RENDER_SOLID_LINE_POLYLINE(i0)		       (0x00000500 + 0x4*(i0))
371 #define NV01_RENDER_SOLID_LINE_POLYLINE__ESIZE			0x00000004
372 #define NV01_RENDER_SOLID_LINE_POLYLINE__LEN			0x00000020
373 #define NV01_RENDER_SOLID_LINE_POLYLINE_X__MASK			0x0000ffff
374 #define NV01_RENDER_SOLID_LINE_POLYLINE_X__SHIFT		0
375 #define NV01_RENDER_SOLID_LINE_POLYLINE_Y__MASK			0xffff0000
376 #define NV01_RENDER_SOLID_LINE_POLYLINE_Y__SHIFT		16
377 
378 #define NV01_RENDER_SOLID_LINE_POLYLINE32_POINT_X(i0)	       (0x00000580 + 0x8*(i0))
379 #define NV01_RENDER_SOLID_LINE_POLYLINE32_POINT_X__ESIZE	0x00000008
380 #define NV01_RENDER_SOLID_LINE_POLYLINE32_POINT_X__LEN		0x00000010
381 
382 #define NV01_RENDER_SOLID_LINE_POLYLINE32_POINT_Y(i0)	       (0x00000584 + 0x8*(i0))
383 #define NV01_RENDER_SOLID_LINE_POLYLINE32_POINT_Y__ESIZE	0x00000008
384 #define NV01_RENDER_SOLID_LINE_POLYLINE32_POINT_Y__LEN		0x00000010
385 
386 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_COLOR(i0)	       (0x00000600 + 0x8*(i0))
387 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_COLOR__ESIZE		0x00000008
388 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_COLOR__LEN		0x00000010
389 
390 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_POINT(i0)	       (0x00000604 + 0x8*(i0))
391 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_POINT__ESIZE		0x00000008
392 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_POINT__LEN		0x00000010
393 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_POINT_X__MASK		0x0000ffff
394 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_POINT_X__SHIFT		0
395 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_POINT_Y__MASK		0xffff0000
396 #define NV01_RENDER_SOLID_LINE_CPOLYLINE_POINT_Y__SHIFT		16
397 
398 
399 #define NV01_RENDER_SOLID_TRIANGLE_PATCH			0x0000010c
400 
401 #define NV01_RENDER_SOLID_TRIANGLE_DMA_NOTIFY			0x00000180
402 
403 #define NV01_RENDER_SOLID_TRIANGLE_CLIP_RECTANGLE		0x00000184
404 
405 #define NV01_RENDER_SOLID_TRIANGLE_PATTERN			0x00000188
406 
407 #define NV04_RENDER_SOLID_TRIANGLE_PATTERN			0x00000188
408 
409 #define NV01_RENDER_SOLID_TRIANGLE_ROP				0x0000018c
410 
411 #define NV01_RENDER_SOLID_TRIANGLE_BETA1			0x00000190
412 
413 #define NV01_RENDER_SOLID_TRIANGLE_SURFACE_DST			0x00000194
414 
415 
416 #define NV04_RENDER_SOLID_TRIANGLE_BETA4			0x00000194
417 
418 #define NV04_RENDER_SOLID_TRIANGLE_SURFACE			0x00000198
419 
420 #define NV01_RENDER_SOLID_TRIANGLE_OPERATION			0x000002fc
421 #define NV01_RENDER_SOLID_TRIANGLE_OPERATION_SRCCOPY_AND	0x00000000
422 #define NV01_RENDER_SOLID_TRIANGLE_OPERATION_ROP_AND		0x00000001
423 #define NV01_RENDER_SOLID_TRIANGLE_OPERATION_BLEND_AND		0x00000002
424 #define NV01_RENDER_SOLID_TRIANGLE_OPERATION_SRCCOPY		0x00000003
425 #define NV01_RENDER_SOLID_TRIANGLE_OPERATION_SRCCOPY_PREMULT	0x00000004
426 #define NV01_RENDER_SOLID_TRIANGLE_OPERATION_BLEND_PREMULT	0x00000005
427 
428 #define NV01_RENDER_SOLID_TRIANGLE_COLOR_FORMAT			0x00000300
429 #define NV01_RENDER_SOLID_TRIANGLE_COLOR_FORMAT_A16R5G6B5	0x00000001
430 #define NV01_RENDER_SOLID_TRIANGLE_COLOR_FORMAT_X16A1R5G5B5	0x00000002
431 #define NV01_RENDER_SOLID_TRIANGLE_COLOR_FORMAT_A8R8G8B8	0x00000003
432 
433 #define NV01_RENDER_SOLID_TRIANGLE_COLOR			0x00000304
434 
435 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT0		0x00000310
436 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT0_X__MASK	0x0000ffff
437 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT0_X__SHIFT	0
438 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT0_Y__MASK	0xffff0000
439 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT0_Y__SHIFT	16
440 
441 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT1		0x00000314
442 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT1_X__MASK	0x0000ffff
443 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT1_X__SHIFT	0
444 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT1_Y__MASK	0xffff0000
445 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT1_Y__SHIFT	16
446 
447 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT2		0x00000318
448 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT2_X__MASK	0x0000ffff
449 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT2_X__SHIFT	0
450 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT2_Y__MASK	0xffff0000
451 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE_POINT2_Y__SHIFT	16
452 
453 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE32_POINT0_X		0x00000320
454 
455 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE32_POINT0_Y		0x00000324
456 
457 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE32_POINT1_X		0x00000328
458 
459 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE32_POINT1_Y		0x0000032c
460 
461 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE32_POINT2_X		0x00000330
462 
463 #define NV01_RENDER_SOLID_TRIANGLE_TRIANGLE32_POINT2_Y		0x00000334
464 
465 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH(i0)		       (0x00000400 + 0x4*(i0))
466 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH__ESIZE		0x00000004
467 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH__LEN			0x00000020
468 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH_X__MASK		0x0000ffff
469 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH_X__SHIFT		0
470 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH_Y__MASK		0xffff0000
471 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH_Y__SHIFT		16
472 
473 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH32_POINT_X(i0)       (0x00000480 + 0x8*(i0))
474 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH32_POINT_X__ESIZE	0x00000008
475 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH32_POINT_X__LEN	0x00000010
476 
477 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH32_POINT_Y(i0)       (0x00000484 + 0x8*(i0))
478 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH32_POINT_Y__ESIZE	0x00000008
479 #define NV01_RENDER_SOLID_TRIANGLE_TRIMESH32_POINT_Y__LEN	0x00000010
480 
481 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_COLOR(i0)	       (0x00000500 + 0x10*(i0))
482 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_COLOR__ESIZE	0x00000010
483 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_COLOR__LEN		0x00000008
484 
485 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT0(i0)	       (0x00000504 + 0x10*(i0))
486 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT0__ESIZE	0x00000010
487 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT0__LEN	0x00000008
488 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT0_X__MASK	0x0000ffff
489 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT0_X__SHIFT	0
490 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT0_Y__MASK	0xffff0000
491 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT0_Y__SHIFT	16
492 
493 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT1(i0)	       (0x00000508 + 0x10*(i0))
494 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT1__ESIZE	0x00000010
495 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT1__LEN	0x00000008
496 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT1_X__MASK	0x0000ffff
497 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT1_X__SHIFT	0
498 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT1_Y__MASK	0xffff0000
499 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT1_Y__SHIFT	16
500 
501 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT2(i0)	       (0x0000050c + 0x10*(i0))
502 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT2__ESIZE	0x00000010
503 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT2__LEN	0x00000008
504 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT2_X__MASK	0x0000ffff
505 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT2_X__SHIFT	0
506 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT2_Y__MASK	0xffff0000
507 #define NV01_RENDER_SOLID_TRIANGLE_CTRIANGLE_POINT2_Y__SHIFT	16
508 
509 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_COLOR(i0)	       (0x00000580 + 0x8*(i0))
510 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_COLOR__ESIZE	0x00000008
511 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_COLOR__LEN		0x00000010
512 
513 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_POINT(i0)	       (0x00000584 + 0x8*(i0))
514 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_POINT__ESIZE	0x00000008
515 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_POINT__LEN		0x00000010
516 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_POINT_X__MASK	0x0000ffff
517 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_POINT_X__SHIFT	0
518 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_POINT_Y__MASK	0xffff0000
519 #define NV01_RENDER_SOLID_TRIANGLE_CTRIMESH_POINT_Y__SHIFT	16
520 
521 
522 #define NV01_RENDER_SOLID_RECTANGLE_PATCH			0x0000010c
523 
524 #define NV01_RENDER_SOLID_RECTANGLE_DMA_NOTIFY			0x00000180
525 
526 #define NV01_RENDER_SOLID_RECTANGLE_CLIP_RECTANGLE		0x00000184
527 
528 #define NV01_RENDER_SOLID_RECTANGLE_PATTERN			0x00000188
529 
530 #define NV04_RENDER_SOLID_RECTANGLE_PATTERN			0x00000188
531 
532 #define NV01_RENDER_SOLID_RECTANGLE_ROP				0x0000018c
533 
534 #define NV01_RENDER_SOLID_RECTANGLE_BETA1			0x00000190
535 
536 #define NV01_RENDER_SOLID_RECTANGLE_SURFACE_DST			0x00000194
537 
538 
539 #define NV04_RENDER_SOLID_RECTANGLE_BETA4			0x00000194
540 
541 #define NV04_RENDER_SOLID_RECTANGLE_SURFACE			0x00000198
542 
543 #define NV01_RENDER_SOLID_RECTANGLE_OPERATION			0x000002fc
544 #define NV01_RENDER_SOLID_RECTANGLE_OPERATION_SRCCOPY_AND	0x00000000
545 #define NV01_RENDER_SOLID_RECTANGLE_OPERATION_ROP_AND		0x00000001
546 #define NV01_RENDER_SOLID_RECTANGLE_OPERATION_BLEND_AND		0x00000002
547 #define NV01_RENDER_SOLID_RECTANGLE_OPERATION_SRCCOPY		0x00000003
548 #define NV01_RENDER_SOLID_RECTANGLE_OPERATION_SRCCOPY_PREMULT	0x00000004
549 #define NV01_RENDER_SOLID_RECTANGLE_OPERATION_BLEND_PREMULT	0x00000005
550 
551 #define NV01_RENDER_SOLID_RECTANGLE_COLOR_FORMAT		0x00000300
552 #define NV01_RENDER_SOLID_RECTANGLE_COLOR_FORMAT_A16R5G6B5	0x00000001
553 #define NV01_RENDER_SOLID_RECTANGLE_COLOR_FORMAT_X16A1R5G5B5	0x00000002
554 #define NV01_RENDER_SOLID_RECTANGLE_COLOR_FORMAT_A8R8G8B8	0x00000003
555 
556 #define NV01_RENDER_SOLID_RECTANGLE_COLOR			0x00000304
557 
558 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_POINT(i0)	       (0x00000400 + 0x8*(i0))
559 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_POINT__ESIZE	0x00000008
560 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_POINT__LEN	0x00000010
561 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_POINT_X__MASK	0x0000ffff
562 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_POINT_X__SHIFT	0
563 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_POINT_Y__MASK	0xffff0000
564 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_POINT_Y__SHIFT	16
565 
566 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_SIZE(i0)	       (0x00000404 + 0x8*(i0))
567 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_SIZE__ESIZE	0x00000008
568 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_SIZE__LEN		0x00000010
569 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_SIZE_W__MASK	0x0000ffff
570 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_SIZE_W__SHIFT	0
571 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_SIZE_H__MASK	0xffff0000
572 #define NV01_RENDER_SOLID_RECTANGLE_RECTANGLE_SIZE_H__SHIFT	16
573 
574 
575 #define NV01_IMAGE_BLIT_PATCH					0x0000010c
576 
577 
578 #define NV11_IMAGE_BLIT_WAIT_FOR_IDLE				0x00000108
579 
580 #define NV11_IMAGE_BLIT_FLIP_SET_READ				0x00000120
581 
582 #define NV11_IMAGE_BLIT_FLIP_SET_WRITE				0x00000124
583 
584 #define NV11_IMAGE_BLIT_FLIP_MAX				0x00000128
585 
586 #define NV11_IMAGE_BLIT_FLIP_INCR_WRITE				0x0000012c
587 
588 #define NV11_IMAGE_BLIT_FLIP_WAIT				0x00000130
589 
590 #define NV11_IMAGE_BLIT_FLIP_CRTC_INCR_READ			0x00000134
591 
592 #define NV01_IMAGE_BLIT_DMA_NOTIFY				0x00000180
593 
594 #define NV01_IMAGE_BLIT_COLOR_KEY				0x00000184
595 
596 #define NV04_IMAGE_BLIT_COLOR_KEY				0x00000184
597 
598 #define NV01_IMAGE_BLIT_CLIP_RECTANGLE				0x00000188
599 
600 #define NV01_IMAGE_BLIT_PATTERN					0x0000018c
601 
602 #define NV04_IMAGE_BLIT_PATTERN					0x0000018c
603 
604 #define NV01_IMAGE_BLIT_ROP					0x00000190
605 
606 #define NV01_IMAGE_BLIT_BETA1					0x00000194
607 
608 
609 #define NV01_IMAGE_BLIT_SURFACE_SRC				0x00000198
610 
611 #define NV01_IMAGE_BLIT_SURFACE_DST				0x0000019c
612 
613 
614 #define NV04_IMAGE_BLIT_BETA4					0x00000198
615 
616 #define NV04_IMAGE_BLIT_SURFACES				0x0000019c
617 
618 #define NV01_IMAGE_BLIT_OPERATION				0x000002fc
619 #define NV01_IMAGE_BLIT_OPERATION_SRCCOPY_AND			0x00000000
620 #define NV01_IMAGE_BLIT_OPERATION_ROP_AND			0x00000001
621 #define NV01_IMAGE_BLIT_OPERATION_BLEND_AND			0x00000002
622 #define NV01_IMAGE_BLIT_OPERATION_SRCCOPY			0x00000003
623 #define NV01_IMAGE_BLIT_OPERATION_SRCCOPY_PREMULT		0x00000004
624 #define NV01_IMAGE_BLIT_OPERATION_BLEND_PREMULT			0x00000005
625 
626 #define NV01_IMAGE_BLIT_POINT_IN				0x00000300
627 #define NV01_IMAGE_BLIT_POINT_IN_X__MASK			0x0000ffff
628 #define NV01_IMAGE_BLIT_POINT_IN_X__SHIFT			0
629 #define NV01_IMAGE_BLIT_POINT_IN_Y__MASK			0xffff0000
630 #define NV01_IMAGE_BLIT_POINT_IN_Y__SHIFT			16
631 
632 #define NV01_IMAGE_BLIT_POINT_OUT				0x00000304
633 #define NV01_IMAGE_BLIT_POINT_OUT_X__MASK			0x0000ffff
634 #define NV01_IMAGE_BLIT_POINT_OUT_X__SHIFT			0
635 #define NV01_IMAGE_BLIT_POINT_OUT_Y__MASK			0xffff0000
636 #define NV01_IMAGE_BLIT_POINT_OUT_Y__SHIFT			16
637 
638 #define NV01_IMAGE_BLIT_SIZE					0x00000308
639 #define NV01_IMAGE_BLIT_SIZE_W__MASK				0x0000ffff
640 #define NV01_IMAGE_BLIT_SIZE_W__SHIFT				0
641 #define NV01_IMAGE_BLIT_SIZE_H__MASK				0xffff0000
642 #define NV01_IMAGE_BLIT_SIZE_H__SHIFT				16
643 
644 
645 #define NV04_INDEXED_IMAGE_FROM_CPU_PATCH			0x0000010c
646 
647 #define NV04_INDEXED_IMAGE_FROM_CPU_DMA_NOTIFY			0x00000180
648 
649 #define NV04_INDEXED_IMAGE_FROM_CPU_DMA_LUT			0x00000184
650 
651 #define NV04_INDEXED_IMAGE_FROM_CPU_COLOR_KEY			0x00000188
652 
653 #define NV04_INDEXED_IMAGE_FROM_CPU_CLIP_RECTANGLE		0x0000018c
654 
655 #define NV04_INDEXED_IMAGE_FROM_CPU_PATTERN			0x00000190
656 
657 #define NV04_INDEXED_IMAGE_FROM_CPU_ROP				0x00000194
658 
659 #define NV04_INDEXED_IMAGE_FROM_CPU_BETA1			0x00000198
660 
661 #define NV04_INDEXED_IMAGE_FROM_CPU_BETA4			0x0000019c
662 
663 #define NV04_INDEXED_IMAGE_FROM_CPU_SURFACE			0x000001a0
664 
665 #define NV05_INDEXED_IMAGE_FROM_CPU_SURFACE			0x000001a0
666 
667 #define NV05_INDEXED_IMAGE_FROM_CPU_COLOR_CONVERSION		0x000003e0
668 
669 #define NV04_INDEXED_IMAGE_FROM_CPU_OPERATION			0x000003e4
670 
671 #define NV04_INDEXED_IMAGE_FROM_CPU_COLOR_FORMAT		0x000003e8
672 
673 #define NV04_INDEXED_IMAGE_FROM_CPU_INDEX_FORMAT		0x000003ec
674 
675 #define NV04_INDEXED_IMAGE_FROM_CPU_LUT_OFFSET			0x000003f0
676 
677 #define NV04_INDEXED_IMAGE_FROM_CPU_POINT			0x000003f4
678 
679 #define NV04_INDEXED_IMAGE_FROM_CPU_SIZE_OUT			0x000003f8
680 
681 #define NV04_INDEXED_IMAGE_FROM_CPU_SIZE_IN			0x000003fc
682 
683 #define NV04_INDEXED_IMAGE_FROM_CPU_COLOR(i0)		       (0x00000400 + 0x4*(i0))
684 #define NV04_INDEXED_IMAGE_FROM_CPU_COLOR__ESIZE		0x00000004
685 #define NV04_INDEXED_IMAGE_FROM_CPU_COLOR__LEN			0x00000700
686 
687 
688 #define NV10_IMAGE_FROM_CPU_WAIT_FOR_IDLE			0x00000108
689 
690 #define NV01_IMAGE_FROM_CPU_PATCH				0x0000010c
691 
692 #define NV01_IMAGE_FROM_CPU_DMA_NOTIFY				0x00000180
693 
694 #define NV01_IMAGE_FROM_CPU_COLOR_KEY				0x00000184
695 
696 #define NV04_IMAGE_FROM_CPU_COLOR_KEY				0x00000184
697 
698 #define NV01_IMAGE_FROM_CPU_CLIP_RECTANGLE			0x00000188
699 
700 #define NV01_IMAGE_FROM_CPU_PATTERN				0x0000018c
701 
702 #define NV04_IMAGE_FROM_CPU_PATTERN				0x0000018c
703 
704 #define NV01_IMAGE_FROM_CPU_ROP					0x00000190
705 
706 #define NV01_IMAGE_FROM_CPU_BETA1				0x00000194
707 
708 
709 #define NV01_IMAGE_FROM_CPU_SURFACE_DST				0x00000198
710 
711 
712 #define NV04_IMAGE_FROM_CPU_BETA4				0x00000198
713 
714 #define NV04_IMAGE_FROM_CPU_SURFACE				0x0000019c
715 
716 #define NV05_IMAGE_FROM_CPU_COLOR_CONVERSION			0x000002f8
717 
718 #define NV01_IMAGE_FROM_CPU_OPERATION				0x000002fc
719 #define NV01_IMAGE_FROM_CPU_OPERATION_SRCCOPY_AND		0x00000000
720 #define NV01_IMAGE_FROM_CPU_OPERATION_ROP_AND			0x00000001
721 #define NV01_IMAGE_FROM_CPU_OPERATION_BLEND_AND			0x00000002
722 #define NV01_IMAGE_FROM_CPU_OPERATION_SRCCOPY			0x00000003
723 #define NV01_IMAGE_FROM_CPU_OPERATION_SRCCOPY_PREMULT		0x00000004
724 #define NV01_IMAGE_FROM_CPU_OPERATION_BLEND_PREMULT		0x00000005
725 
726 #define NV01_IMAGE_FROM_CPU_COLOR_FORMAT			0x00000300
727 #define NV01_IMAGE_FROM_CPU_COLOR_FORMAT_R5G6G5			0x00000001
728 #define NV01_IMAGE_FROM_CPU_COLOR_FORMAT_A1R5G5B5		0x00000002
729 #define NV01_IMAGE_FROM_CPU_COLOR_FORMAT_X1R5G5B5		0x00000003
730 #define NV01_IMAGE_FROM_CPU_COLOR_FORMAT_A8R8G8B8		0x00000004
731 #define NV01_IMAGE_FROM_CPU_COLOR_FORMAT_X8R8G8B8		0x00000005
732 
733 #define NV01_IMAGE_FROM_CPU_POINT				0x00000304
734 #define NV01_IMAGE_FROM_CPU_POINT_X__MASK			0x0000ffff
735 #define NV01_IMAGE_FROM_CPU_POINT_X__SHIFT			0
736 #define NV01_IMAGE_FROM_CPU_POINT_Y__MASK			0xffff0000
737 #define NV01_IMAGE_FROM_CPU_POINT_Y__SHIFT			16
738 
739 #define NV01_IMAGE_FROM_CPU_SIZE_OUT				0x00000308
740 #define NV01_IMAGE_FROM_CPU_SIZE_OUT_W__MASK			0x0000ffff
741 #define NV01_IMAGE_FROM_CPU_SIZE_OUT_W__SHIFT			0
742 #define NV01_IMAGE_FROM_CPU_SIZE_OUT_H__MASK			0xffff0000
743 #define NV01_IMAGE_FROM_CPU_SIZE_OUT_H__SHIFT			16
744 
745 #define NV01_IMAGE_FROM_CPU_SIZE_IN				0x0000030c
746 #define NV01_IMAGE_FROM_CPU_SIZE_IN_W__MASK			0x0000ffff
747 #define NV01_IMAGE_FROM_CPU_SIZE_IN_W__SHIFT			0
748 #define NV01_IMAGE_FROM_CPU_SIZE_IN_H__MASK			0xffff0000
749 #define NV01_IMAGE_FROM_CPU_SIZE_IN_H__SHIFT			16
750 
751 #define NV01_IMAGE_FROM_CPU_COLOR(i0)			       (0x00000400 + 0x4*(i0))
752 #define NV01_IMAGE_FROM_CPU_COLOR__ESIZE			0x00000004
753 #define NV01_IMAGE_FROM_CPU_COLOR__LEN				0x00000020
754 
755 #define NV04_IMAGE_FROM_CPU_COLOR(i0)			       (0x00000400 + 0x4*(i0))
756 #define NV04_IMAGE_FROM_CPU_COLOR__ESIZE			0x00000004
757 #define NV04_IMAGE_FROM_CPU_COLOR__LEN				0x00000700
758 
759 
760 #define NV03_STRETCHED_IMAGE_FROM_CPU_PATCH			0x0000010c
761 
762 #define NV03_STRETCHED_IMAGE_FROM_CPU_DMA_NOTIFY		0x00000180
763 
764 #define NV03_STRETCHED_IMAGE_FROM_CPU_COLOR_KEY			0x00000184
765 
766 #define NV04_STRETCHED_IMAGE_FROM_CPU_COLOR_KEY			0x00000184
767 
768 #define NV03_STRETCHED_IMAGE_FROM_CPU_PATTERN			0x00000188
769 
770 #define NV04_STRETCHED_IMAGE_FROM_CPU_PATTERN			0x00000188
771 
772 #define NV03_STRETCHED_IMAGE_FROM_CPU_ROP			0x0000018c
773 
774 #define NV03_STRETCHED_IMAGE_FROM_CPU_BETA1			0x00000190
775 
776 
777 #define NV03_STRETCHED_IMAGE_FROM_CPU_SURFACE_DST		0x00000194
778 
779 
780 #define NV04_STRETCHED_IMAGE_FROM_CPU_BETA4			0x00000194
781 
782 #define NV04_STRETCHED_IMAGE_FROM_CPU_SURFACE			0x00000198
783 
784 #define NV05_STRETCHED_IMAGE_FROM_CPU_COLOR_CONVERSION		0x000002f8
785 
786 #define NV03_STRETCHED_IMAGE_FROM_CPU_OPERATION			0x000002fc
787 
788 #define NV03_STRETCHED_IMAGE_FROM_CPU_COLOR_FORMAT		0x00000300
789 
790 #define NV03_STRETCHED_IMAGE_FROM_CPU_SIZE_IN			0x00000304
791 #define NV03_STRETCHED_IMAGE_FROM_CPU_SIZE_IN_W__MASK		0x0000ffff
792 #define NV03_STRETCHED_IMAGE_FROM_CPU_SIZE_IN_W__SHIFT		0
793 #define NV03_STRETCHED_IMAGE_FROM_CPU_SIZE_IN_H__MASK		0xffff0000
794 #define NV03_STRETCHED_IMAGE_FROM_CPU_SIZE_IN_H__SHIFT		16
795 
796 #define NV03_STRETCHED_IMAGE_FROM_CPU_DX_DU			0x00000308
797 
798 #define NV03_STRETCHED_IMAGE_FROM_CPU_DY_DV			0x0000030c
799 
800 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_POINT		0x00000310
801 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_POINT_X__MASK	0x0000ffff
802 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_POINT_X__SHIFT	0
803 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_POINT_Y__MASK	0xffff0000
804 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_POINT_Y__SHIFT	16
805 
806 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_SIZE			0x00000314
807 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_SIZE_W__MASK		0x0000ffff
808 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_SIZE_W__SHIFT	0
809 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_SIZE_H__MASK		0xffff0000
810 #define NV03_STRETCHED_IMAGE_FROM_CPU_CLIP_SIZE_H__SHIFT	16
811 
812 #define NV03_STRETCHED_IMAGE_FROM_CPU_POINT12D4			0x00000318
813 #define NV03_STRETCHED_IMAGE_FROM_CPU_POINT12D4_X__MASK		0x0000ffff
814 #define NV03_STRETCHED_IMAGE_FROM_CPU_POINT12D4_X__SHIFT	0
815 #define NV03_STRETCHED_IMAGE_FROM_CPU_POINT12D4_Y__MASK		0xffff0000
816 #define NV03_STRETCHED_IMAGE_FROM_CPU_POINT12D4_Y__SHIFT	16
817 
818 #define NV03_STRETCHED_IMAGE_FROM_CPU_COLOR(i0)		       (0x00000400 + 0x4*(i0))
819 #define NV03_STRETCHED_IMAGE_FROM_CPU_COLOR__ESIZE		0x00000004
820 #define NV03_STRETCHED_IMAGE_FROM_CPU_COLOR__LEN		0x00000700
821 
822 
823 #define NV10_SCALED_IMAGE_FROM_MEMORY_WAIT_FOR_IDLE		0x00000108
824 
825 #define NV03_SCALED_IMAGE_FROM_MEMORY_DMA_NOTIFY		0x00000180
826 
827 #define NV03_SCALED_IMAGE_FROM_MEMORY_DMA_IMAGE			0x00000184
828 
829 #define NV03_SCALED_IMAGE_FROM_MEMORY_PATTERN			0x00000188
830 
831 #define NV04_SCALED_IMAGE_FROM_MEMORY_PATTERN			0x00000188
832 
833 #define NV03_SCALED_IMAGE_FROM_MEMORY_ROP			0x0000018c
834 
835 #define NV03_SCALED_IMAGE_FROM_MEMORY_BETA1			0x00000190
836 
837 
838 #define NV03_SCALED_IMAGE_FROM_MEMORY_SURFACE_DST		0x00000194
839 
840 
841 #define NV04_SCALED_IMAGE_FROM_MEMORY_BETA4			0x00000194
842 
843 #define NV04_SCALED_IMAGE_FROM_MEMORY_SURFACE			0x00000198
844 
845 #define NV05_SCALED_IMAGE_FROM_MEMORY_SURFACE			0x00000198
846 
847 #define NV05_SCALED_IMAGE_FROM_MEMORY_COLOR_CONVERSION		0x000002fc
848 #define NV05_SCALED_IMAGE_FROM_MEMORY_COLOR_CONVERSION_DITHER	0x00000000
849 #define NV05_SCALED_IMAGE_FROM_MEMORY_COLOR_CONVERSION_TRUNCATE	0x00000001
850 #define NV05_SCALED_IMAGE_FROM_MEMORY_COLOR_CONVERSION_SUBTR_TRUNCATE	0x00000002
851 
852 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT		0x00000300
853 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT_A1R5G5B5	0x00000001
854 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT_X1R5G5B5	0x00000002
855 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT_A8R8G8B8	0x00000003
856 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT_X8R8G8B8	0x00000004
857 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT_V8YB8U8YA8	0x00000005
858 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT_YB8V8YA8U8	0x00000006
859 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT_R5G6B5	0x00000007
860 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT_Y8		0x00000008
861 #define NV03_SCALED_IMAGE_FROM_MEMORY_COLOR_FORMAT_AY8		0x00000009
862 
863 #define NV03_SCALED_IMAGE_FROM_MEMORY_OPERATION			0x00000304
864 #define NV03_SCALED_IMAGE_FROM_MEMORY_OPERATION_SRCCOPY_AND	0x00000000
865 #define NV03_SCALED_IMAGE_FROM_MEMORY_OPERATION_ROP_AND		0x00000001
866 #define NV03_SCALED_IMAGE_FROM_MEMORY_OPERATION_BLEND_AND	0x00000002
867 #define NV03_SCALED_IMAGE_FROM_MEMORY_OPERATION_SRCCOPY		0x00000003
868 #define NV03_SCALED_IMAGE_FROM_MEMORY_OPERATION_SRCCOPY_PREMULT	0x00000004
869 #define NV03_SCALED_IMAGE_FROM_MEMORY_OPERATION_BLEND_PREMULT	0x00000005
870 
871 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_POINT		0x00000308
872 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_POINT_X__MASK	0x0000ffff
873 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_POINT_X__SHIFT	0
874 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_POINT_Y__MASK	0xffff0000
875 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_POINT_Y__SHIFT	16
876 
877 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_SIZE			0x0000030c
878 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_SIZE_W__MASK		0x0000ffff
879 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_SIZE_W__SHIFT	0
880 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_SIZE_H__MASK		0xffff0000
881 #define NV03_SCALED_IMAGE_FROM_MEMORY_CLIP_SIZE_H__SHIFT	16
882 
883 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_POINT			0x00000310
884 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_POINT_X__MASK		0x0000ffff
885 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_POINT_X__SHIFT	0
886 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_POINT_Y__MASK		0xffff0000
887 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_POINT_Y__SHIFT	16
888 
889 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_SIZE			0x00000314
890 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_SIZE_W__MASK		0x0000ffff
891 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_SIZE_W__SHIFT		0
892 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_SIZE_H__MASK		0xffff0000
893 #define NV03_SCALED_IMAGE_FROM_MEMORY_OUT_SIZE_H__SHIFT		16
894 
895 #define NV03_SCALED_IMAGE_FROM_MEMORY_DU_DX			0x00000318
896 
897 #define NV03_SCALED_IMAGE_FROM_MEMORY_DV_DY			0x0000031c
898 
899 #define NV03_SCALED_IMAGE_FROM_MEMORY_SIZE			0x00000400
900 #define NV03_SCALED_IMAGE_FROM_MEMORY_SIZE_W__MASK		0x0000ffff
901 #define NV03_SCALED_IMAGE_FROM_MEMORY_SIZE_W__SHIFT		0
902 #define NV03_SCALED_IMAGE_FROM_MEMORY_SIZE_H__MASK		0xffff0000
903 #define NV03_SCALED_IMAGE_FROM_MEMORY_SIZE_H__SHIFT		16
904 
905 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT			0x00000404
906 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_PITCH__MASK	0x0000ffff
907 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_PITCH__SHIFT	0
908 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_ORIGIN__MASK	0x00ff0000
909 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_ORIGIN__SHIFT	16
910 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_ORIGIN_CENTER	0x00010000
911 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_ORIGIN_CORNER	0x00020000
912 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_FILTER__MASK	0xff000000
913 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_FILTER__SHIFT	24
914 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_FILTER_POINT_SAMPLE	0x00000000
915 #define NV03_SCALED_IMAGE_FROM_MEMORY_FORMAT_FILTER_BILINEAR	0x01000000
916 
917 #define NV03_SCALED_IMAGE_FROM_MEMORY_OFFSET			0x00000408
918 
919 #define NV03_SCALED_IMAGE_FROM_MEMORY_POINT			0x0000040c
920 #define NV03_SCALED_IMAGE_FROM_MEMORY_POINT_U__MASK		0x0000ffff
921 #define NV03_SCALED_IMAGE_FROM_MEMORY_POINT_U__SHIFT		0
922 #define NV03_SCALED_IMAGE_FROM_MEMORY_POINT_V__MASK		0xffff0000
923 #define NV03_SCALED_IMAGE_FROM_MEMORY_POINT_V__SHIFT		16
924 
925 
926 #define NV50_SCALED_IMAGE_FROM_MEMORY_OFFSET_HIGH		0x00000410
927 
928 #define NV50_SCALED_IMAGE_FROM_MEMORY_SRC_LINEAR		0x00000414
929 
930 #define NV50_SCALED_IMAGE_FROM_MEMORY_SRC_TILE_MODE		0x00000418
931 
932 
933 #define NV03_GDI_RECTANGLE_TEXT_DMA_NOTIFY			0x00000180
934 
935 #define NV03_GDI_RECTANGLE_TEXT_PATTERN				0x00000184
936 
937 #define NV03_GDI_RECTANGLE_TEXT_ROP				0x00000188
938 
939 #define NV03_GDI_RECTANGLE_TEXT_BETA1				0x0000019c
940 
941 #define NV03_GDI_RECTANGLE_TEXT_SURFACE_DST			0x00000190
942 
943 #define NV03_GDI_RECTANGLE_TEXT_OPERATION			0x000002fc
944 
945 #define NV03_GDI_RECTANGLE_TEXT_COLOR_FORMAT			0x00000300
946 
947 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_FORMAT		0x00000304
948 
949 #define NV03_GDI_RECTANGLE_TEXT_COLOR1_A			0x000003fc
950 
951 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT	0x00000400
952 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT_Y__MASK	0x0000ffff
953 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT_Y__SHIFT	0
954 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT_X__MASK	0xffff0000
955 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT_X__SHIFT	16
956 
957 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE	0x00000404
958 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE_H__MASK	0x0000ffff
959 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE_H__SHIFT	0
960 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE_W__MASK	0xffff0000
961 #define NV03_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE_W__SHIFT	16
962 
963 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT0_B			0x000007f4
964 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT0_B_L__MASK		0x0000ffff
965 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT0_B_L__SHIFT		0
966 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT0_B_T__MASK		0xffff0000
967 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT0_B_T__SHIFT		16
968 
969 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT1_B			0x000007f8
970 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT1_B_R__MASK		0x0000ffff
971 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT1_B_R__SHIFT		0
972 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT1_B_B__MASK		0xffff0000
973 #define NV03_GDI_RECTANGLE_TEXT_CLIP_POINT1_B_B__SHIFT		16
974 
975 #define NV03_GDI_RECTANGLE_TEXT_COLOR1_B			0x000007fc
976 
977 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0	0x00000800
978 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0_L__MASK	0x0000ffff
979 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0_L__SHIFT	0
980 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0_T__MASK	0xffff0000
981 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0_T__SHIFT	16
982 
983 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1	0x00000804
984 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1_R__MASK	0x0000ffff
985 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1_R__SHIFT	0
986 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1_B__MASK	0xffff0000
987 #define NV03_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1_B__SHIFT	16
988 
989 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT0			0x00000bec
990 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT0_L__MASK		0x0000ffff
991 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT0_L__SHIFT		0
992 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT0_T__MASK		0xffff0000
993 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT0_T__SHIFT		16
994 
995 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT1			0x00000bf0
996 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT1_R__MASK		0x0000ffff
997 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT1_R__SHIFT		0
998 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT1_B__MASK		0xffff0000
999 #define NV03_GDI_RECTANGLE_TEXT_CLIP_C_POINT1_B__SHIFT		16
1000 
1001 #define NV03_GDI_RECTANGLE_TEXT_COLOR1_C			0x00000bf4
1002 
1003 #define NV03_GDI_RECTANGLE_TEXT_SIZE_C				0x00000bf8
1004 #define NV03_GDI_RECTANGLE_TEXT_SIZE_C_W__MASK			0x0000ffff
1005 #define NV03_GDI_RECTANGLE_TEXT_SIZE_C_W__SHIFT			0
1006 #define NV03_GDI_RECTANGLE_TEXT_SIZE_C_H__MASK			0xffff0000
1007 #define NV03_GDI_RECTANGLE_TEXT_SIZE_C_H__SHIFT			16
1008 
1009 #define NV03_GDI_RECTANGLE_TEXT_POINT_C				0x00000bfc
1010 #define NV03_GDI_RECTANGLE_TEXT_POINT_C_X__MASK			0x0000ffff
1011 #define NV03_GDI_RECTANGLE_TEXT_POINT_C_X__SHIFT		0
1012 #define NV03_GDI_RECTANGLE_TEXT_POINT_C_Y__MASK			0xffff0000
1013 #define NV03_GDI_RECTANGLE_TEXT_POINT_C_Y__SHIFT		16
1014 
1015 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR1_C(i0)	       (0x00000c00 + 0x4*(i0))
1016 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR1_C__ESIZE	0x00000004
1017 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR1_C__LEN	0x00000020
1018 
1019 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT0			0x00000fe8
1020 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT0_L__MASK		0x0000ffff
1021 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT0_L__SHIFT		0
1022 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT0_T__MASK		0xffff0000
1023 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT0_T__SHIFT		16
1024 
1025 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT1			0x00000fec
1026 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT1_R__MASK		0x0000ffff
1027 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT1_R__SHIFT		0
1028 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT1_B__MASK		0xffff0000
1029 #define NV03_GDI_RECTANGLE_TEXT_CLIP_D_POINT1_B__SHIFT		16
1030 
1031 #define NV03_GDI_RECTANGLE_TEXT_COLOR1_D			0x00000ff0
1032 
1033 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_D			0x00000ff4
1034 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_D_W__MASK		0x0000ffff
1035 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_D_W__SHIFT		0
1036 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_D_H__MASK		0xffff0000
1037 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_D_H__SHIFT		16
1038 
1039 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_D			0x00000ff8
1040 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_D_W__MASK		0x0000ffff
1041 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_D_W__SHIFT		0
1042 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_D_H__MASK		0xffff0000
1043 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_D_H__SHIFT		16
1044 
1045 #define NV03_GDI_RECTANGLE_TEXT_POINT_D				0x00000ffc
1046 #define NV03_GDI_RECTANGLE_TEXT_POINT_D_X__MASK			0x0000ffff
1047 #define NV03_GDI_RECTANGLE_TEXT_POINT_D_X__SHIFT		0
1048 #define NV03_GDI_RECTANGLE_TEXT_POINT_D_Y__MASK			0xffff0000
1049 #define NV03_GDI_RECTANGLE_TEXT_POINT_D_Y__SHIFT		16
1050 
1051 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR1_D(i0)	       (0x00001000 + 0x4*(i0))
1052 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR1_D__ESIZE	0x00000004
1053 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR1_D__LEN	0x00000020
1054 
1055 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT0			0x000013e4
1056 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT0_L__MASK		0x0000ffff
1057 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT0_L__SHIFT		0
1058 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT0_T__MASK		0xffff0000
1059 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT0_T__SHIFT		16
1060 
1061 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT1			0x000013e8
1062 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT1_R__MASK		0x0000ffff
1063 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT1_R__SHIFT		0
1064 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT1_B__MASK		0xffff0000
1065 #define NV03_GDI_RECTANGLE_TEXT_CLIP_E_POINT1_B__SHIFT		16
1066 
1067 #define NV03_GDI_RECTANGLE_TEXT_COLOR0_E			0x000013ec
1068 
1069 #define NV03_GDI_RECTANGLE_TEXT_COLOR1_E			0x000013f0
1070 
1071 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_E			0x000013f4
1072 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_E_W__MASK		0x0000ffff
1073 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_E_W__SHIFT		0
1074 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_E_H__MASK		0xffff0000
1075 #define NV03_GDI_RECTANGLE_TEXT_SIZE_IN_E_H__SHIFT		16
1076 
1077 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_E			0x000013f8
1078 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_E_W__MASK		0x0000ffff
1079 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_E_W__SHIFT		0
1080 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_E_H__MASK		0xffff0000
1081 #define NV03_GDI_RECTANGLE_TEXT_SIZE_OUT_E_H__SHIFT		16
1082 
1083 #define NV03_GDI_RECTANGLE_TEXT_POINT_E				0x000013fc
1084 #define NV03_GDI_RECTANGLE_TEXT_POINT_E_X__MASK			0x0000ffff
1085 #define NV03_GDI_RECTANGLE_TEXT_POINT_E_X__SHIFT		0
1086 #define NV03_GDI_RECTANGLE_TEXT_POINT_E_Y__MASK			0xffff0000
1087 #define NV03_GDI_RECTANGLE_TEXT_POINT_E_Y__SHIFT		16
1088 
1089 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR01_E(i0)       (0x00001400 + 0x4*(i0))
1090 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR01_E__ESIZE	0x00000004
1091 #define NV03_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR01_E__LEN	0x00000020
1092 
1093 
1094 #define NV04_GDI_RECTANGLE_TEXT_PATCH				0x0000010c
1095 
1096 #define NV04_GDI_RECTANGLE_TEXT_DMA_NOTIFY			0x00000180
1097 
1098 #define NV04_GDI_RECTANGLE_TEXT_DMA_FONTS			0x00000184
1099 
1100 #define NV04_GDI_RECTANGLE_TEXT_PATTERN				0x00000188
1101 
1102 #define NV04_GDI_RECTANGLE_TEXT_ROP				0x0000018c
1103 
1104 #define NV04_GDI_RECTANGLE_TEXT_BETA1				0x00000190
1105 
1106 #define NV04_GDI_RECTANGLE_TEXT_BETA4				0x00000194
1107 
1108 #define NV04_GDI_RECTANGLE_TEXT_SURFACE				0x00000198
1109 
1110 #define NV04_GDI_RECTANGLE_TEXT_OPERATION			0x000002fc
1111 #define NV04_GDI_RECTANGLE_TEXT_OPERATION_SRCCOPY_AND		0x00000000
1112 #define NV04_GDI_RECTANGLE_TEXT_OPERATION_ROP_AND		0x00000001
1113 #define NV04_GDI_RECTANGLE_TEXT_OPERATION_BLEND_AND		0x00000002
1114 #define NV04_GDI_RECTANGLE_TEXT_OPERATION_SRCCOPY		0x00000003
1115 #define NV04_GDI_RECTANGLE_TEXT_OPERATION_SRCCOPY_PREMULT	0x00000004
1116 #define NV04_GDI_RECTANGLE_TEXT_OPERATION_BLEND_PREMULT		0x00000005
1117 
1118 #define NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT			0x00000300
1119 #define NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT_A16R5G6B5		0x00000001
1120 #define NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT_X16A1R5G5B5	0x00000002
1121 #define NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT_A8R8G8B8		0x00000003
1122 
1123 #define NV04_GDI_RECTANGLE_TEXT_MONOCHROME_FORMAT		0x00000304
1124 #define NV04_GDI_RECTANGLE_TEXT_MONOCHROME_FORMAT_CGA6		0x00000001
1125 #define NV04_GDI_RECTANGLE_TEXT_MONOCHROME_FORMAT_LE		0x00000002
1126 
1127 #define NV04_GDI_RECTANGLE_TEXT_COLOR1_A			0x000003fc
1128 
1129 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT(i0)  (0x00000400 + 0x8*(i0))
1130 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT__ESIZE	0x00000008
1131 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT__LEN	0x00000020
1132 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT_Y__MASK	0x0000ffff
1133 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT_Y__SHIFT	0
1134 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT_X__MASK	0xffff0000
1135 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_POINT_X__SHIFT	16
1136 
1137 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE(i0)   (0x00000404 + 0x8*(i0))
1138 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE__ESIZE	0x00000008
1139 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE__LEN	0x00000020
1140 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE_H__MASK	0x0000ffff
1141 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE_H__SHIFT	0
1142 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE_W__MASK	0xffff0000
1143 #define NV04_GDI_RECTANGLE_TEXT_UNCLIPPED_RECTANGLE_SIZE_W__SHIFT	16
1144 
1145 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT0			0x000005f4
1146 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT0_L__MASK		0x0000ffff
1147 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT0_L__SHIFT		0
1148 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT0_T__MASK		0xffff0000
1149 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT0_T__SHIFT		16
1150 
1151 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT1			0x000005f8
1152 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT1_R__MASK		0x0000ffff
1153 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT1_R__SHIFT		0
1154 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT1_B__MASK		0xffff0000
1155 #define NV04_GDI_RECTANGLE_TEXT_CLIP_B_POINT1_B__SHIFT		16
1156 
1157 #define NV04_GDI_RECTANGLE_TEXT_COLOR1_B			0x000005fc
1158 
1159 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0(i0)  (0x00000600 + 0x8*(i0))
1160 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0__ESIZE	0x00000008
1161 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0__LEN	0x00000020
1162 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0_L__MASK	0x0000ffff
1163 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0_L__SHIFT	0
1164 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0_T__MASK	0xffff0000
1165 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_0_T__SHIFT	16
1166 
1167 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1(i0)  (0x00000604 + 0x8*(i0))
1168 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1__ESIZE	0x00000008
1169 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1__LEN	0x00000020
1170 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1_R__MASK	0x0000ffff
1171 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1_R__SHIFT	0
1172 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1_B__MASK	0xffff0000
1173 #define NV04_GDI_RECTANGLE_TEXT_CLIPPED_RECTANGLE_POINT_1_B__SHIFT	16
1174 
1175 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT0			0x000007ec
1176 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT0_L__MASK		0x0000ffff
1177 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT0_L__SHIFT		0
1178 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT0_T__MASK		0xffff0000
1179 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT0_T__SHIFT		16
1180 
1181 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT1			0x000007f0
1182 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT1_R__MASK		0x0000ffff
1183 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT1_R__SHIFT		0
1184 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT1_B__MASK		0xffff0000
1185 #define NV04_GDI_RECTANGLE_TEXT_CLIP_C_POINT1_B__SHIFT		16
1186 
1187 #define NV04_GDI_RECTANGLE_TEXT_COLOR1_C			0x000007f4
1188 
1189 #define NV04_GDI_RECTANGLE_TEXT_SIZE_C				0x000007f8
1190 #define NV04_GDI_RECTANGLE_TEXT_SIZE_C_W__MASK			0x0000ffff
1191 #define NV04_GDI_RECTANGLE_TEXT_SIZE_C_W__SHIFT			0
1192 #define NV04_GDI_RECTANGLE_TEXT_SIZE_C_H__MASK			0xffff0000
1193 #define NV04_GDI_RECTANGLE_TEXT_SIZE_C_H__SHIFT			16
1194 
1195 #define NV04_GDI_RECTANGLE_TEXT_POINT_C				0x000007fc
1196 #define NV04_GDI_RECTANGLE_TEXT_POINT_C_X__MASK			0x0000ffff
1197 #define NV04_GDI_RECTANGLE_TEXT_POINT_C_X__SHIFT		0
1198 #define NV04_GDI_RECTANGLE_TEXT_POINT_C_Y__MASK			0xffff0000
1199 #define NV04_GDI_RECTANGLE_TEXT_POINT_C_Y__SHIFT		16
1200 
1201 #define NV04_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR1_C(i0)	       (0x00000800 + 0x4*(i0))
1202 #define NV04_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR1_C__ESIZE	0x00000004
1203 #define NV04_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR1_C__LEN	0x00000080
1204 
1205 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT0			0x00000be4
1206 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT0_L__MASK		0x0000ffff
1207 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT0_L__SHIFT		0
1208 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT0_T__MASK		0xffff0000
1209 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT0_T__SHIFT		16
1210 
1211 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT1			0x00000be8
1212 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT1_R__MASK		0x0000ffff
1213 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT1_R__SHIFT		0
1214 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT1_B__MASK		0xffff0000
1215 #define NV04_GDI_RECTANGLE_TEXT_CLIP_E_POINT1_B__SHIFT		16
1216 
1217 #define NV04_GDI_RECTANGLE_TEXT_COLOR0_E			0x00000bec
1218 
1219 #define NV04_GDI_RECTANGLE_TEXT_COLOR1_E			0x00000bf0
1220 
1221 #define NV04_GDI_RECTANGLE_TEXT_SIZE_IN_E			0x00000bf4
1222 #define NV04_GDI_RECTANGLE_TEXT_SIZE_IN_E_W__MASK		0x0000ffff
1223 #define NV04_GDI_RECTANGLE_TEXT_SIZE_IN_E_W__SHIFT		0
1224 #define NV04_GDI_RECTANGLE_TEXT_SIZE_IN_E_H__MASK		0xffff0000
1225 #define NV04_GDI_RECTANGLE_TEXT_SIZE_IN_E_H__SHIFT		16
1226 
1227 #define NV04_GDI_RECTANGLE_TEXT_SIZE_OUT_E			0x00000bf8
1228 #define NV04_GDI_RECTANGLE_TEXT_SIZE_OUT_E_W__MASK		0x0000ffff
1229 #define NV04_GDI_RECTANGLE_TEXT_SIZE_OUT_E_W__SHIFT		0
1230 #define NV04_GDI_RECTANGLE_TEXT_SIZE_OUT_E_H__MASK		0xffff0000
1231 #define NV04_GDI_RECTANGLE_TEXT_SIZE_OUT_E_H__SHIFT		16
1232 
1233 #define NV04_GDI_RECTANGLE_TEXT_POINT_E				0x00000bfc
1234 #define NV04_GDI_RECTANGLE_TEXT_POINT_E_X__MASK			0x0000ffff
1235 #define NV04_GDI_RECTANGLE_TEXT_POINT_E_X__SHIFT		0
1236 #define NV04_GDI_RECTANGLE_TEXT_POINT_E_Y__MASK			0xffff0000
1237 #define NV04_GDI_RECTANGLE_TEXT_POINT_E_Y__SHIFT		16
1238 
1239 #define NV04_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR01_E(i0)       (0x00000c00 + 0x4*(i0))
1240 #define NV04_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR01_E__ESIZE	0x00000004
1241 #define NV04_GDI_RECTANGLE_TEXT_MONOCHROME_COLOR01_E__LEN	0x00000080
1242 
1243 #define NV04_GDI_RECTANGLE_TEXT_FONT_F				0x00000ff0
1244 #define NV04_GDI_RECTANGLE_TEXT_FONT_F_OFFSET__MASK		0x0fffffff
1245 #define NV04_GDI_RECTANGLE_TEXT_FONT_F_OFFSET__SHIFT		0
1246 #define NV04_GDI_RECTANGLE_TEXT_FONT_F_PITCH__MASK		0xf0000000
1247 #define NV04_GDI_RECTANGLE_TEXT_FONT_F_PITCH__SHIFT		28
1248 
1249 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT0			0x00000ff4
1250 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT0_L__MASK		0x0000ffff
1251 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT0_L__SHIFT		0
1252 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT0_T__MASK		0xffff0000
1253 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT0_T__SHIFT		16
1254 
1255 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT1			0x00000ff8
1256 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT1_R__MASK		0x0000ffff
1257 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT1_R__SHIFT		0
1258 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT1_B__MASK		0xffff0000
1259 #define NV04_GDI_RECTANGLE_TEXT_CLIP_F_POINT1_B__SHIFT		16
1260 
1261 #define NV04_GDI_RECTANGLE_TEXT_COLOR1_F			0x00000ffc
1262 
1263 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_F(i0)	       (0x00001000 + 0x4*(i0))
1264 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_F__ESIZE	0x00000004
1265 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_F__LEN		0x00000100
1266 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_F_INDEX__MASK	0x000000ff
1267 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_F_INDEX__SHIFT	0
1268 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_F_X__MASK	0x000fff00
1269 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_F_X__SHIFT	8
1270 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_F_Y__MASK	0xfff00000
1271 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_F_Y__SHIFT	20
1272 
1273 #define NV04_GDI_RECTANGLE_TEXT_FONT_G				0x000017f0
1274 #define NV04_GDI_RECTANGLE_TEXT_FONT_G_OFFSET__MASK		0x0fffffff
1275 #define NV04_GDI_RECTANGLE_TEXT_FONT_G_OFFSET__SHIFT		0
1276 #define NV04_GDI_RECTANGLE_TEXT_FONT_G_PITCH__MASK		0xf0000000
1277 #define NV04_GDI_RECTANGLE_TEXT_FONT_G_PITCH__SHIFT		28
1278 
1279 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT0			0x000017f4
1280 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT0_L__MASK		0x0000ffff
1281 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT0_L__SHIFT		0
1282 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT0_T__MASK		0xffff0000
1283 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT0_T__SHIFT		16
1284 
1285 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT1			0x000017f8
1286 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT1_R__MASK		0x0000ffff
1287 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT1_R__SHIFT		0
1288 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT1_B__MASK		0xffff0000
1289 #define NV04_GDI_RECTANGLE_TEXT_CLIP_G_POINT1_B__SHIFT		16
1290 
1291 #define NV04_GDI_RECTANGLE_TEXT_COLOR1_G			0x000017fc
1292 
1293 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_POINT(i0)   (0x00001800 + 0x8*(i0))
1294 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_POINT__ESIZE	0x00000008
1295 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_POINT__LEN	0x00000100
1296 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_POINT_X__MASK	0x0000ffff
1297 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_POINT_X__SHIFT	0
1298 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_POINT_Y__MASK	0xffff0000
1299 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_POINT_Y__SHIFT	16
1300 
1301 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_INDEX(i0)   (0x00001804 + 0x8*(i0))
1302 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_INDEX__ESIZE	0x00000008
1303 #define NV04_GDI_RECTANGLE_TEXT_CHARACTER_COLOR1_G_INDEX__LEN	0x00000100
1304 
1305 
1306 #define NV10_TEXTURE_FROM_CPU_WAIT_FOR_IDLE			0x00000108
1307 
1308 #define NV10_TEXTURE_FROM_CPU_DMA_NOTIFY			0x00000180
1309 
1310 #define NV10_TEXTURE_FROM_CPU_SURFACE				0x00000184
1311 
1312 #define NV10_TEXTURE_FROM_CPU_COLOR_FORMAT			0x00000300
1313 
1314 #define NV10_TEXTURE_FROM_CPU_POINT				0x00000304
1315 #define NV10_TEXTURE_FROM_CPU_POINT_X__MASK			0x0000ffff
1316 #define NV10_TEXTURE_FROM_CPU_POINT_X__SHIFT			0
1317 #define NV10_TEXTURE_FROM_CPU_POINT_Y__MASK			0xffff0000
1318 #define NV10_TEXTURE_FROM_CPU_POINT_Y__SHIFT			16
1319 
1320 #define NV10_TEXTURE_FROM_CPU_SIZE				0x00000308
1321 #define NV10_TEXTURE_FROM_CPU_SIZE_W__MASK			0x0000ffff
1322 #define NV10_TEXTURE_FROM_CPU_SIZE_W__SHIFT			0
1323 #define NV10_TEXTURE_FROM_CPU_SIZE_H__MASK			0xffff0000
1324 #define NV10_TEXTURE_FROM_CPU_SIZE_H__SHIFT			16
1325 
1326 #define NV10_TEXTURE_FROM_CPU_CLIP_HORIZONTAL			0x0000030c
1327 #define NV10_TEXTURE_FROM_CPU_CLIP_HORIZONTAL_X__MASK		0x0000ffff
1328 #define NV10_TEXTURE_FROM_CPU_CLIP_HORIZONTAL_X__SHIFT		0
1329 #define NV10_TEXTURE_FROM_CPU_CLIP_HORIZONTAL_W__MASK		0xffff0000
1330 #define NV10_TEXTURE_FROM_CPU_CLIP_HORIZONTAL_W__SHIFT		16
1331 
1332 #define NV10_TEXTURE_FROM_CPU_CLIP_VERTICAL			0x00000310
1333 #define NV10_TEXTURE_FROM_CPU_CLIP_VERTICAL_Y__MASK		0x0000ffff
1334 #define NV10_TEXTURE_FROM_CPU_CLIP_VERTICAL_Y__SHIFT		0
1335 #define NV10_TEXTURE_FROM_CPU_CLIP_VERTICAL_H__MASK		0xffff0000
1336 #define NV10_TEXTURE_FROM_CPU_CLIP_VERTICAL_H__SHIFT		16
1337 
1338 #define NV10_TEXTURE_FROM_CPU_COLOR(i0)			       (0x00000400 + 0x4*(i0))
1339 #define NV10_TEXTURE_FROM_CPU_COLOR__ESIZE			0x00000004
1340 #define NV10_TEXTURE_FROM_CPU_COLOR__LEN			0x00000700
1341 
1342 
1343 #endif /* NV01_2D_XML */
1344