1#ifndef NVC0_M2MF_XML
2#define NVC0_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://github.com/envytools/envytools/
8git clone https://github.com/envytools/envytools.git
9
10The rules-ng-ng source files this header was generated from are:
11- rnndb/graph/gf100_m2mf.xml (   2783 bytes, from 2014-09-25 06:32:11)
12- rnndb/copyright.xml        (   6456 bytes, from 2014-12-31 02:13:31)
13- rnndb/fifo/nv_object.xml   (  15326 bytes, from 2014-09-25 06:32:11)
14- rnndb/nvchipsets.xml       (   2759 bytes, from 2014-10-05 01:51:02)
15- rnndb/g80_defs.xml         (  18175 bytes, from 2014-09-25 06:32:11)
16
17Copyright (C) 2006-2014 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- Ilia Mirkin <imirkin@alum.mit.edu> (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 NVC0_M2MF_TILING_MODE_IN				0x00000204
78
79#define NVC0_M2MF_TILING_PITCH_IN				0x00000208
80
81#define NVC0_M2MF_TILING_HEIGHT_IN				0x0000020c
82
83#define NVC0_M2MF_TILING_DEPTH_IN				0x00000210
84
85#define NVC0_M2MF_TILING_POSITION_IN_Z				0x00000214
86
87#define NVC0_M2MF_TILING_MODE_OUT				0x00000220
88
89#define NVC0_M2MF_TILING_PITCH_OUT				0x00000224
90
91#define NVC0_M2MF_TILING_HEIGHT_OUT				0x00000228
92
93#define NVC0_M2MF_TILING_DEPTH_OUT				0x0000022c
94
95#define NVC0_M2MF_TILING_POSITION_OUT_Z			0x00000230
96
97#define NVC0_M2MF_OFFSET_OUT_HIGH				0x00000238
98
99#define NVC0_M2MF_OFFSET_OUT_LOW				0x0000023c
100
101#define NVC0_M2MF_UNK0240(i0)				       (0x00000240 + 0x4*(i0))
102#define NVC0_M2MF_UNK0240__ESIZE				0x00000004
103#define NVC0_M2MF_UNK0240__LEN					0x0000000f
104
105#define NVC0_M2MF_FIRMWARE(i0)				       (0x0000027c + 0x4*(i0))
106#define NVC0_M2MF_FIRMWARE__ESIZE				0x00000004
107#define NVC0_M2MF_FIRMWARE__LEN				0x00000020
108
109#define NVC0_M2MF_UNK02FC					0x000002fc
110
111#define NVC0_M2MF_EXEC						0x00000300
112#define NVC0_M2MF_EXEC_PUSH					0x00000001
113#define NVC0_M2MF_EXEC_LINEAR_IN				0x00000010
114#define NVC0_M2MF_EXEC_LINEAR_OUT				0x00000100
115#define NVC0_M2MF_EXEC_QUERY__MASK				0x00003000
116#define NVC0_M2MF_EXEC_QUERY__SHIFT				12
117#define NVC0_M2MF_EXEC_QUERY_NO				0x00000000
118#define NVC0_M2MF_EXEC_QUERY_UNK1				0x00001000
119#define NVC0_M2MF_EXEC_QUERY_YES				0x00002000
120#define NVC0_M2MF_EXEC_BUF_NOTIFY				0x00030000
121#define NVC0_M2MF_EXEC_QUERY_SHORT				0x00100000
122
123#define NVC0_M2MF_DATA						0x00000304
124
125#define NVC0_M2MF_UNK308					0x00000308
126
127#define NVC0_M2MF_OFFSET_IN_HIGH				0x0000030c
128
129#define NVC0_M2MF_OFFSET_IN_LOW				0x00000310
130
131#define NVC0_M2MF_PITCH_IN					0x00000314
132
133#define NVC0_M2MF_PITCH_OUT					0x00000318
134
135#define NVC0_M2MF_LINE_LENGTH_IN				0x0000031c
136
137#define NVC0_M2MF_LINE_COUNT					0x00000320
138
139#define NVC0_M2MF_QUERY_ADDRESS_HIGH				0x0000032c
140
141#define NVC0_M2MF_QUERY_ADDRESS_LOW				0x00000330
142
143#define NVC0_M2MF_QUERY_SEQUENCE				0x00000334
144
145#define NVC0_M2MF_COND_ADDRESS_HIGH				0x00000338
146
147#define NVC0_M2MF_COND_ADDRESS_LOW				0x0000033c
148
149#define NVC0_M2MF_COND_MODE					0x00000340
150#define NVC0_M2MF_COND_MODE_NEVER				0x00000000
151#define NVC0_M2MF_COND_MODE_ALWAYS				0x00000001
152#define NVC0_M2MF_COND_MODE_RES_NON_ZERO			0x00000002
153#define NVC0_M2MF_COND_MODE_EQUAL				0x00000003
154#define NVC0_M2MF_COND_MODE_NOT_EQUAL				0x00000004
155
156#define NVC0_M2MF_TILING_POSITION_IN_X				0x00000344
157
158#define NVC0_M2MF_TILING_POSITION_IN_Y				0x00000348
159
160#define NVC0_M2MF_TILING_POSITION_OUT_X			0x0000034c
161
162#define NVC0_M2MF_TILING_POSITION_OUT_Y			0x00000350
163
164
165#endif /* NVC0_M2MF_XML */
166