• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef NVE4_COPY_XML
2 #define NVE4_COPY_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 https://github.com/envytools/envytools/
8 git clone https://github.com/envytools/envytools.git
9 
10 The rules-ng-ng source files this header was generated from are:
11 - envytools/rnndb/fifo/gk104_copy.xml      (   4903 bytes, from 2020-07-19 06:15:26)
12 - envytools/rnndb/copyright.xml            (   6431 bytes, from 2020-07-11 09:17:41)
13 - envytools/rnndb-generated/nvchipsets.xml (   3335 bytes, from 2020-06-09 15:36:30)
14 - envytools/rnndb/fifo/nv_object.xml       (  16105 bytes, from 2020-07-11 09:17:37)
15 - envytools/rnndb/g80_defs.xml             (  21768 bytes, from 2018-06-10 18:06:54)
16 - envytools/rnndb/nv_defs.xml              (   5522 bytes, from 2020-07-19 05:54:01)
17 
18 Copyright (C) 2006-2020 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 - Ilia Mirkin <imirkin@alum.mit.edu> (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 - Marcelina Kościelnicka <mwk@0x04.net> (mwk)
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 
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 
78 #define NVE4_COPY_NOP						0x00000100
79 
80 #define NVE4_COPY_PM_TRIGGER					0x00000140
81 
82 #define NVE4_COPY_QUERY_ADDRESS_HIGH				0x00000240
83 
84 #define NVE4_COPY_QUERY_ADDRESS_LOW				0x00000244
85 
86 #define NVE4_COPY_QUERY_COUNTER				0x00000248
87 
88 #define NVE4_COPY_COND_ADDRESS_HIGH				0x00000254
89 
90 #define NVE4_COPY_COND_ADDRESS_LOW				0x00000258
91 
92 #define NVE4_COPY_COND_MODE					0x0000025c
93 #define NVE4_COPY_COND_MODE_NEVER				0x00000000
94 #define NVE4_COPY_COND_MODE_ALWAYS				0x00000001
95 #define NVE4_COPY_COND_MODE_RES_NON_ZERO			0x00000002
96 #define NVE4_COPY_COND_MODE_EQUAL				0x00000003
97 #define NVE4_COPY_COND_MODE_NOT_EQUAL				0x00000004
98 
99 #define NVE4_COPY_SRC_PHYS_MODE				0x00000260
100 #define NVE4_COPY_SRC_PHYS_MODE_TARGET__MASK			0x00000003
101 #define NVE4_COPY_SRC_PHYS_MODE_TARGET__SHIFT			0
102 #define NVE4_COPY_SRC_PHYS_MODE_TARGET_LOCAL_FB		0x00000000
103 #define NVE4_COPY_SRC_PHYS_MODE_TARGET_COHERENT_SYSMEM		0x00000001
104 #define NVE4_COPY_SRC_PHYS_MODE_TARGET_NONCOHERENT_SYSMEM	0x00000002
105 
106 #define NVE4_COPY_DST_PHYS_MODE				0x00000264
107 #define NVE4_COPY_DST_PHYS_MODE_TARGET__MASK			0x00000003
108 #define NVE4_COPY_DST_PHYS_MODE_TARGET__SHIFT			0
109 #define NVE4_COPY_DST_PHYS_MODE_TARGET_LOCAL_FB		0x00000000
110 #define NVE4_COPY_DST_PHYS_MODE_TARGET_COHERENT_SYSMEM		0x00000001
111 #define NVE4_COPY_DST_PHYS_MODE_TARGET_NONCOHERENT_SYSMEM	0x00000002
112 
113 #define NVE4_COPY_EXEC						0x00000300
114 #define NVE4_COPY_EXEC_COPY_MODE__MASK				0x00000003
115 #define NVE4_COPY_EXEC_COPY_MODE__SHIFT			0
116 #define NVE4_COPY_EXEC_COPY_MODE_NONE				0x00000000
117 #define NVE4_COPY_EXEC_COPY_MODE_PIPELINED			0x00000001
118 #define NVE4_COPY_EXEC_COPY_MODE_NON_PIPELINED			0x00000002
119 #define NVE4_COPY_EXEC_FLUSH					0x00000004
120 #define NVE4_COPY_EXEC_QUERY__MASK				0x00000018
121 #define NVE4_COPY_EXEC_QUERY__SHIFT				3
122 #define NVE4_COPY_EXEC_QUERY_NONE				0x00000000
123 #define NVE4_COPY_EXEC_QUERY_SHORT				0x00000008
124 #define NVE4_COPY_EXEC_QUERY_LONG				0x00000010
125 #define NVE4_COPY_EXEC_INTR__MASK				0x00000060
126 #define NVE4_COPY_EXEC_INTR__SHIFT				5
127 #define NVE4_COPY_EXEC_INTR_NONE				0x00000000
128 #define NVE4_COPY_EXEC_INTR_BLOCK				0x00000020
129 #define NVE4_COPY_EXEC_INTR_NONBLOCK				0x00000040
130 #define NVE4_COPY_EXEC_SRC_LAYOUT__MASK			0x00000080
131 #define NVE4_COPY_EXEC_SRC_LAYOUT__SHIFT			7
132 #define NVE4_COPY_EXEC_SRC_LAYOUT_PITCH			0x00000000
133 #define NVE4_COPY_EXEC_SRC_LAYOUT_BLOCKLINEAR			0x00000080
134 #define NVE4_COPY_EXEC_DST_LAYOUT__MASK			0x00000100
135 #define NVE4_COPY_EXEC_DST_LAYOUT__SHIFT			8
136 #define NVE4_COPY_EXEC_DST_LAYOUT_PITCH			0x00000000
137 #define NVE4_COPY_EXEC_DST_LAYOUT_BLOCKLINEAR			0x00000100
138 #define NVE4_COPY_EXEC_2D_ENABLE				0x00000200
139 #define NVE4_COPY_EXEC_SWIZZLE_ENABLE				0x00000400
140 #define NVE4_COPY_EXEC_BYPASS_L2__MASK				0x00000800
141 #define NVE4_COPY_EXEC_BYPASS_L2__SHIFT			11
142 #define NVE4_COPY_EXEC_BYPASS_L2_USE_PTE_SETTING		0x00000000
143 #define NVE4_COPY_EXEC_BYPASS_L2_FORCE_VOLATILE		0x00000800
144 #define NVE4_COPY_EXEC_SRC_TYPE__MASK				0x00001000
145 #define NVE4_COPY_EXEC_SRC_TYPE__SHIFT				12
146 #define NVE4_COPY_EXEC_SRC_TYPE_VIRTUAL			0x00000000
147 #define NVE4_COPY_EXEC_SRC_TYPE_PHYSICAL			0x00001000
148 #define NVE4_COPY_EXEC_DST_TYPE__MASK				0x00002000
149 #define NVE4_COPY_EXEC_DST_TYPE__SHIFT				13
150 #define NVE4_COPY_EXEC_DST_TYPE_VIRTUAL			0x00000000
151 #define NVE4_COPY_EXEC_DST_TYPE_PHYSICAL			0x00002000
152 #define NVE4_COPY_EXEC_SEMAPHORE_REDUCTION__MASK		0x0003c000
153 #define NVE4_COPY_EXEC_SEMAPHORE_REDUCTION__SHIFT		14
154 #define NVE4_COPY_EXEC_SEMAPHORE_REDUCTION_SIGN		0x00040000
155 #define NVE4_COPY_EXEC_SEMAPHORE_REDUCTION			0x00080000
156 
157 #define NVE4_COPY_SRC_ADDRESS_HIGH				0x00000400
158 
159 #define NVE4_COPY_SRC_ADDRESS_LOW				0x00000404
160 
161 #define NVE4_COPY_DST_ADDRESS_HIGH				0x00000408
162 
163 #define NVE4_COPY_DST_ADDRESS_LOW				0x0000040c
164 
165 #define NVE4_COPY_SRC_PITCH					0x00000410
166 
167 #define NVE4_COPY_DST_PITCH					0x00000414
168 
169 #define NVE4_COPY_X_COUNT					0x00000418
170 
171 #define NVE4_COPY_Y_COUNT					0x0000041c
172 
173 #define NVE4_COPY_CONST0					0x00000700
174 
175 #define NVE4_COPY_CONST1					0x00000704
176 
177 #define NVE4_COPY_SWIZZLE					0x00000708
178 #define NVE4_COPY_SWIZZLE_COMPONENT0__MASK			0x0000000f
179 #define NVE4_COPY_SWIZZLE_COMPONENT0__SHIFT			0
180 #define NVE4_COPY_SWIZZLE_COMPONENT0_SRC0			0x00000000
181 #define NVE4_COPY_SWIZZLE_COMPONENT0_SRC1			0x00000001
182 #define NVE4_COPY_SWIZZLE_COMPONENT0_SRC2			0x00000002
183 #define NVE4_COPY_SWIZZLE_COMPONENT0_SRC3			0x00000003
184 #define NVE4_COPY_SWIZZLE_COMPONENT0_CONST0			0x00000004
185 #define NVE4_COPY_SWIZZLE_COMPONENT0_CONST1			0x00000005
186 #define NVE4_COPY_SWIZZLE_COMPONENT0_ZERO			0x00000006
187 #define NVE4_COPY_SWIZZLE_COMPONENT1__MASK			0x000000f0
188 #define NVE4_COPY_SWIZZLE_COMPONENT1__SHIFT			4
189 #define NVE4_COPY_SWIZZLE_COMPONENT1_SRC0			0x00000000
190 #define NVE4_COPY_SWIZZLE_COMPONENT1_SRC1			0x00000010
191 #define NVE4_COPY_SWIZZLE_COMPONENT1_SRC2			0x00000020
192 #define NVE4_COPY_SWIZZLE_COMPONENT1_SRC3			0x00000030
193 #define NVE4_COPY_SWIZZLE_COMPONENT1_CONST0			0x00000040
194 #define NVE4_COPY_SWIZZLE_COMPONENT1_CONST1			0x00000050
195 #define NVE4_COPY_SWIZZLE_COMPONENT1_ZERO			0x00000060
196 #define NVE4_COPY_SWIZZLE_COMPONENT2__MASK			0x00000f00
197 #define NVE4_COPY_SWIZZLE_COMPONENT2__SHIFT			8
198 #define NVE4_COPY_SWIZZLE_COMPONENT2_SRC0			0x00000000
199 #define NVE4_COPY_SWIZZLE_COMPONENT2_SRC1			0x00000100
200 #define NVE4_COPY_SWIZZLE_COMPONENT2_SRC2			0x00000200
201 #define NVE4_COPY_SWIZZLE_COMPONENT2_SRC3			0x00000300
202 #define NVE4_COPY_SWIZZLE_COMPONENT2_CONST0			0x00000400
203 #define NVE4_COPY_SWIZZLE_COMPONENT2_CONST1			0x00000500
204 #define NVE4_COPY_SWIZZLE_COMPONENT2_ZERO			0x00000600
205 #define NVE4_COPY_SWIZZLE_COMPONENT3__MASK			0x0000f000
206 #define NVE4_COPY_SWIZZLE_COMPONENT3__SHIFT			12
207 #define NVE4_COPY_SWIZZLE_COMPONENT3_SRC0			0x00000000
208 #define NVE4_COPY_SWIZZLE_COMPONENT3_SRC1			0x00001000
209 #define NVE4_COPY_SWIZZLE_COMPONENT3_SRC2			0x00002000
210 #define NVE4_COPY_SWIZZLE_COMPONENT3_SRC3			0x00003000
211 #define NVE4_COPY_SWIZZLE_COMPONENT3_CONST0			0x00004000
212 #define NVE4_COPY_SWIZZLE_COMPONENT3_CONST1			0x00005000
213 #define NVE4_COPY_SWIZZLE_COMPONENT3_ZERO			0x00006000
214 #define NVE4_COPY_SWIZZLE_COMPONENT_SIZE_M1__MASK		0x00030000
215 #define NVE4_COPY_SWIZZLE_COMPONENT_SIZE_M1__SHIFT		16
216 #define NVE4_COPY_SWIZZLE_SRC_NUM_COMPONENTS_M1__MASK		0x00700000
217 #define NVE4_COPY_SWIZZLE_SRC_NUM_COMPONENTS_M1__SHIFT		20
218 #define NVE4_COPY_SWIZZLE_DST_NUM_COMPONENTS_M1__MASK		0x07000000
219 #define NVE4_COPY_SWIZZLE_DST_NUM_COMPONENTS_M1__SHIFT		24
220 
221 #define NVE4_COPY_DST_BLOCK_DIMENSIONS				0x0000070c
222 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_GOB_HEIGHT__MASK	0x0000f000
223 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_GOB_HEIGHT__SHIFT	12
224 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_GOB_HEIGHT_TESLA_4	0x00000000
225 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_GOB_HEIGHT_FERMI_8	0x00001000
226 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_DEPTH__MASK		0x00000f00
227 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_DEPTH__SHIFT		8
228 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_HEIGHT__MASK		0x000000f0
229 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_HEIGHT__SHIFT		4
230 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_WIDTH__MASK		0x0000000f
231 #define NVE4_COPY_DST_BLOCK_DIMENSIONS_WIDTH__SHIFT		0
232 
233 #define NVE4_COPY_DST_SIZE_X					0x00000710
234 
235 #define NVE4_COPY_DST_SIZE_Y					0x00000714
236 
237 #define NVE4_COPY_DST_SIZE_Z					0x00000718
238 
239 #define NVE4_COPY_DST_POS_Z					0x0000071c
240 
241 #define NVE4_COPY_DST_POS_XY					0x00000720
242 #define NVE4_COPY_DST_POS_XY_X__MASK				0x0000ffff
243 #define NVE4_COPY_DST_POS_XY_X__SHIFT				0
244 #define NVE4_COPY_DST_POS_XY_Y__MASK				0xffff0000
245 #define NVE4_COPY_DST_POS_XY_Y__SHIFT				16
246 
247 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS				0x00000728
248 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_GOB_HEIGHT__MASK	0x0000f000
249 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_GOB_HEIGHT__SHIFT	12
250 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_GOB_HEIGHT_TESLA_4	0x00000000
251 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_GOB_HEIGHT_FERMI_8	0x00001000
252 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_DEPTH__MASK		0x00000f00
253 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_DEPTH__SHIFT		8
254 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_HEIGHT__MASK		0x000000f0
255 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_HEIGHT__SHIFT		4
256 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_WIDTH__MASK		0x0000000f
257 #define NVE4_COPY_SRC_BLOCK_DIMENSIONS_WIDTH__SHIFT		0
258 
259 #define NVE4_COPY_SRC_SIZE_X					0x0000072c
260 
261 #define NVE4_COPY_SRC_SIZE_Y					0x00000730
262 
263 #define NVE4_COPY_SRC_SIZE_Z					0x00000734
264 
265 #define NVE4_COPY_SRC_POS_Z					0x00000738
266 
267 #define NVE4_COPY_SRC_POS_XY					0x0000073c
268 #define NVE4_COPY_SRC_POS_XY_X__MASK				0x0000ffff
269 #define NVE4_COPY_SRC_POS_XY_X__SHIFT				0
270 #define NVE4_COPY_SRC_POS_XY_Y__MASK				0xffff0000
271 #define NVE4_COPY_SRC_POS_XY_Y__SHIFT				16
272 
273 #define NVE4_COPY_WRCACHE_FLUSH				0x00001114
274 
275 
276 #endif /* NVE4_COPY_XML */
277