1#ifndef NV_M2MF_XML
2#define NV_M2MF_XML
3
4/* Autogenerated file, DO NOT EDIT manually!
5
6This file was generated by the rules-ng-ng headergen tool in this git repository:
7http://0x04.net/cgit/index.cgi/rules-ng-ng
8git clone git://0x04.net/rules-ng-ng
9
10The rules-ng-ng source files this header was generated from are:
11- nv_m2mf.xml    (   2710 bytes, from 2010-11-01 00:28:46)
12- copyright.xml  (   6452 bytes, from 2010-11-15 15:10:58)
13- nv_object.xml  (  11547 bytes, from 2010-11-13 23:32:57)
14- nvchipsets.xml (   3074 bytes, from 2010-11-13 23:32:57)
15- nv_defs.xml    (   4437 bytes, from 2010-11-01 00:28:46)
16
17Copyright (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
54Permission is hereby granted, free of charge, to any person obtaining
55a copy of this software and associated documentation files (the
56"Software"), to deal in the Software without restriction, including
57without limitation the rights to use, copy, modify, merge, publish,
58distribute, sublicense, and/or sell copies of the Software, and to
59permit persons to whom the Software is furnished to do so, subject to
60the following conditions:
61
62The above copyright notice and this permission notice (including the
63next paragraph) shall be included in all copies or substantial
64portions of the Software.
65
66THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
67EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
68MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
69IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
70LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
71OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
72WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
73*/
74
75
76
77#define NV04_M2MF_DMA_NOTIFY					0x00000180
78
79#define NV04_M2MF_DMA_BUFFER_IN					0x00000184
80
81#define NV04_M2MF_DMA_BUFFER_OUT				0x00000188
82
83
84#define NV50_M2MF_LINEAR_IN					0x00000200
85
86#define NV50_M2MF_TILING_MODE_IN				0x00000204
87
88#define NV50_M2MF_TILING_PITCH_IN				0x00000208
89
90#define NV50_M2MF_TILING_HEIGHT_IN				0x0000020c
91
92#define NV50_M2MF_TILING_DEPTH_IN				0x00000210
93
94#define NV50_M2MF_TILING_POSITION_IN_Z				0x00000214
95
96#define NV50_M2MF_TILING_POSITION_IN				0x00000218
97#define NV50_M2MF_TILING_POSITION_IN_X__MASK			0x0000ffff
98#define NV50_M2MF_TILING_POSITION_IN_X__SHIFT			0
99#define NV50_M2MF_TILING_POSITION_IN_Y__MASK			0xffff0000
100#define NV50_M2MF_TILING_POSITION_IN_Y__SHIFT			16
101
102#define NV50_M2MF_LINEAR_OUT					0x0000021c
103
104#define NV50_M2MF_TILING_MODE_OUT				0x00000220
105
106#define NV50_M2MF_TILING_PITCH_OUT				0x00000224
107
108#define NV50_M2MF_TILING_HEIGHT_OUT				0x00000228
109
110#define NV50_M2MF_TILING_DEPTH_OUT				0x0000022c
111
112#define NV50_M2MF_TILING_POSITION_OUT_Z				0x00000230
113
114#define NV50_M2MF_TILING_POSITION_OUT				0x00000234
115#define NV50_M2MF_TILING_POSITION_OUT_X__MASK			0x0000ffff
116#define NV50_M2MF_TILING_POSITION_OUT_X__SHIFT			0
117#define NV50_M2MF_TILING_POSITION_OUT_Y__MASK			0xffff0000
118#define NV50_M2MF_TILING_POSITION_OUT_Y__SHIFT			16
119
120#define NV50_M2MF_OFFSET_IN_HIGH				0x00000238
121
122#define NV50_M2MF_OFFSET_OUT_HIGH				0x0000023c
123
124#define NV04_M2MF_OFFSET_IN					0x0000030c
125
126#define NV04_M2MF_OFFSET_OUT					0x00000310
127
128#define NV04_M2MF_PITCH_IN					0x00000314
129
130#define NV04_M2MF_PITCH_OUT					0x00000318
131
132#define NV04_M2MF_LINE_LENGTH_IN				0x0000031c
133
134#define NV04_M2MF_LINE_COUNT					0x00000320
135
136#define NV04_M2MF_FORMAT					0x00000324
137#define NV04_M2MF_FORMAT_INPUT_INC__MASK			0x000000ff
138#define NV04_M2MF_FORMAT_INPUT_INC__SHIFT			0
139#define NV04_M2MF_FORMAT_INPUT_INC_1				0x00000001
140#define NV04_M2MF_FORMAT_INPUT_INC_2				0x00000002
141#define NV04_M2MF_FORMAT_INPUT_INC_4				0x00000004
142#define NV50_M2MF_FORMAT_INPUT_INC_8				0x00000008
143#define NV50_M2MF_FORMAT_INPUT_INC_16				0x00000010
144#define NV04_M2MF_FORMAT_OUTPUT_INC__MASK			0x0000ff00
145#define NV04_M2MF_FORMAT_OUTPUT_INC__SHIFT			8
146#define NV04_M2MF_FORMAT_OUTPUT_INC_1				0x00000100
147#define NV04_M2MF_FORMAT_OUTPUT_INC_2				0x00000200
148#define NV04_M2MF_FORMAT_OUTPUT_INC_4				0x00000400
149#define NV50_M2MF_FORMAT_OUTPUT_INC_8				0x00000800
150#define NV50_M2MF_FORMAT_OUTPUT_INC_16				0x00001000
151
152#define NV04_M2MF_BUF_NOTIFY					0x00000328
153
154
155#endif /* NV_M2MF_XML */
156