1#ifndef RNNDB_NV_M2MF_XML
2#define RNNDB_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- rnndb/nv_m2mf.xml      (   2696 bytes, from 2011-07-09 13:43:58)
12- ./rnndb/copyright.xml  (   6452 bytes, from 2011-07-09 13:43:58)
13- ./rnndb/nv_object.xml  (  12672 bytes, from 2011-07-17 12:14:32)
14- ./rnndb/nvchipsets.xml (   3701 bytes, from 2012-04-06 13:21:15)
15- ./rnndb/nv_defs.xml    (   4437 bytes, from 2011-07-09 13:43:58)
16- ./rnndb/nv50_defs.xml  (   5468 bytes, from 2011-07-09 13:43:58)
17
18Copyright (C) 2006-2011 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)
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 <patmandin@gmail.com> (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
55Permission is hereby granted, free of charge, to any person obtaining
56a copy of this software and associated documentation files (the
57"Software"), to deal in the Software without restriction, including
58without limitation the rights to use, copy, modify, merge, publish,
59distribute, sublicense, and/or sell copies of the Software, and to
60permit persons to whom the Software is furnished to do so, subject to
61the following conditions:
62
63The above copyright notice and this permission notice (including the
64next paragraph) shall be included in all copies or substantial
65portions of the Software.
66
67THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
68EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
69MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
70IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
71LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
72OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
73WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
74*/
75
76
77
78#define NV03_M2MF_DMA_NOTIFY					0x00000180
79
80#define NV03_M2MF_DMA_BUFFER_IN					0x00000184
81
82#define NV03_M2MF_DMA_BUFFER_OUT				0x00000188
83
84
85#define NV50_M2MF_LINEAR_IN					0x00000200
86
87#define NV50_M2MF_TILING_MODE_IN				0x00000204
88
89#define NV50_M2MF_TILING_PITCH_IN				0x00000208
90
91#define NV50_M2MF_TILING_HEIGHT_IN				0x0000020c
92
93#define NV50_M2MF_TILING_DEPTH_IN				0x00000210
94
95#define NV50_M2MF_TILING_POSITION_IN_Z				0x00000214
96
97#define NV50_M2MF_TILING_POSITION_IN				0x00000218
98#define NV50_M2MF_TILING_POSITION_IN_X__MASK			0x0000ffff
99#define NV50_M2MF_TILING_POSITION_IN_X__SHIFT			0
100#define NV50_M2MF_TILING_POSITION_IN_Y__MASK			0xffff0000
101#define NV50_M2MF_TILING_POSITION_IN_Y__SHIFT			16
102
103#define NV50_M2MF_LINEAR_OUT					0x0000021c
104
105#define NV50_M2MF_TILING_MODE_OUT				0x00000220
106
107#define NV50_M2MF_TILING_PITCH_OUT				0x00000224
108
109#define NV50_M2MF_TILING_HEIGHT_OUT				0x00000228
110
111#define NV50_M2MF_TILING_DEPTH_OUT				0x0000022c
112
113#define NV50_M2MF_TILING_POSITION_OUT_Z				0x00000230
114
115#define NV50_M2MF_TILING_POSITION_OUT				0x00000234
116#define NV50_M2MF_TILING_POSITION_OUT_X__MASK			0x0000ffff
117#define NV50_M2MF_TILING_POSITION_OUT_X__SHIFT			0
118#define NV50_M2MF_TILING_POSITION_OUT_Y__MASK			0xffff0000
119#define NV50_M2MF_TILING_POSITION_OUT_Y__SHIFT			16
120
121#define NV50_M2MF_OFFSET_IN_HIGH				0x00000238
122
123#define NV50_M2MF_OFFSET_OUT_HIGH				0x0000023c
124
125#define NV03_M2MF_OFFSET_IN					0x0000030c
126
127#define NV03_M2MF_OFFSET_OUT					0x00000310
128
129#define NV03_M2MF_PITCH_IN					0x00000314
130
131#define NV03_M2MF_PITCH_OUT					0x00000318
132
133#define NV03_M2MF_LINE_LENGTH_IN				0x0000031c
134
135#define NV03_M2MF_LINE_COUNT					0x00000320
136
137#define NV03_M2MF_FORMAT					0x00000324
138#define NV03_M2MF_FORMAT_INPUT_INC__MASK			0x000000ff
139#define NV03_M2MF_FORMAT_INPUT_INC__SHIFT			0
140#define NV03_M2MF_FORMAT_INPUT_INC_1				0x00000001
141#define NV03_M2MF_FORMAT_INPUT_INC_2				0x00000002
142#define NV03_M2MF_FORMAT_INPUT_INC_4				0x00000004
143#define NV50_M2MF_FORMAT_INPUT_INC_8				0x00000008
144#define NV50_M2MF_FORMAT_INPUT_INC_16				0x00000010
145#define NV03_M2MF_FORMAT_OUTPUT_INC__MASK			0x0000ff00
146#define NV03_M2MF_FORMAT_OUTPUT_INC__SHIFT			8
147#define NV03_M2MF_FORMAT_OUTPUT_INC_1				0x00000100
148#define NV03_M2MF_FORMAT_OUTPUT_INC_2				0x00000200
149#define NV03_M2MF_FORMAT_OUTPUT_INC_4				0x00000400
150#define NV50_M2MF_FORMAT_OUTPUT_INC_8				0x00000800
151#define NV50_M2MF_FORMAT_OUTPUT_INC_16				0x00001000
152
153#define NV03_M2MF_BUF_NOTIFY					0x00000328
154
155
156#endif /* RNNDB_NV_M2MF_XML */
157