1bf215546Sopenharmony_ci#ifndef NVC0_COMPUTE_XML
2bf215546Sopenharmony_ci#define NVC0_COMPUTE_XML
3bf215546Sopenharmony_ci
4bf215546Sopenharmony_ci/* Autogenerated file, DO NOT EDIT manually!
5bf215546Sopenharmony_ci
6bf215546Sopenharmony_ciThis file was generated by the rules-ng-ng headergen tool in this git repository:
7bf215546Sopenharmony_cihttp://github.com/envytools/envytools/
8bf215546Sopenharmony_cigit clone https://github.com/envytools/envytools.git
9bf215546Sopenharmony_ci
10bf215546Sopenharmony_ciThe rules-ng-ng source files this header was generated from are:
11bf215546Sopenharmony_ci- rnndb/graph/gf100_compute.xml (  11143 bytes, from 2014-09-25 06:32:11)
12bf215546Sopenharmony_ci- rnndb/copyright.xml           (   6456 bytes, from 2014-12-31 02:13:31)
13bf215546Sopenharmony_ci- rnndb/nvchipsets.xml          (   2759 bytes, from 2014-10-05 01:51:02)
14bf215546Sopenharmony_ci- rnndb/fifo/nv_object.xml      (  15326 bytes, from 2014-09-25 06:32:11)
15bf215546Sopenharmony_ci- rnndb/g80_defs.xml            (  18175 bytes, from 2014-09-25 06:32:11)
16bf215546Sopenharmony_ci
17bf215546Sopenharmony_ciCopyright (C) 2006-2014 by the following authors:
18bf215546Sopenharmony_ci- Artur Huillet <arthur.huillet@free.fr> (ahuillet)
19bf215546Sopenharmony_ci- Ben Skeggs (darktama, darktama_)
20bf215546Sopenharmony_ci- B. R. <koala_br@users.sourceforge.net> (koala_br)
21bf215546Sopenharmony_ci- Carlos Martin <carlosmn@users.sf.net> (carlosmn)
22bf215546Sopenharmony_ci- Christoph Bumiller <e0425955@student.tuwien.ac.at> (calim, chrisbmr)
23bf215546Sopenharmony_ci- Dawid Gajownik <gajownik@users.sf.net> (gajownik)
24bf215546Sopenharmony_ci- Dmitry Baryshkov
25bf215546Sopenharmony_ci- Dmitry Eremin-Solenikov <lumag@users.sf.net> (lumag)
26bf215546Sopenharmony_ci- EdB <edb_@users.sf.net> (edb_)
27bf215546Sopenharmony_ci- Erik Waling <erikwailing@users.sf.net> (erikwaling)
28bf215546Sopenharmony_ci- Francisco Jerez <currojerez@riseup.net> (curro)
29bf215546Sopenharmony_ci- Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
30bf215546Sopenharmony_ci- jb17bsome <jb17bsome@bellsouth.net> (jb17bsome)
31bf215546Sopenharmony_ci- Jeremy Kolb <kjeremy@users.sf.net> (kjeremy)
32bf215546Sopenharmony_ci- Laurent Carlier <lordheavym@gmail.com> (lordheavy)
33bf215546Sopenharmony_ci- Luca Barbieri <luca@luca-barbieri.com> (lb, lb1)
34bf215546Sopenharmony_ci- Maarten Maathuis <madman2003@gmail.com> (stillunknown)
35bf215546Sopenharmony_ci- Marcin Kościelnicki <koriakin@0x04.net> (mwk, koriakin)
36bf215546Sopenharmony_ci- Mark Carey <mark.carey@gmail.com> (careym)
37bf215546Sopenharmony_ci- Matthieu Castet <matthieu.castet@parrot.com> (mat-c)
38bf215546Sopenharmony_ci- nvidiaman <nvidiaman@users.sf.net> (nvidiaman)
39bf215546Sopenharmony_ci- Patrice Mandin <patmandin@gmail.com> (pmandin, pmdata)
40bf215546Sopenharmony_ci- Pekka Paalanen <pq@iki.fi> (pq, ppaalanen)
41bf215546Sopenharmony_ci- Peter Popov <ironpeter@users.sf.net> (ironpeter)
42bf215546Sopenharmony_ci- Richard Hughes <hughsient@users.sf.net> (hughsient)
43bf215546Sopenharmony_ci- Rudi Cilibrasi <cilibrar@users.sf.net> (cilibrar)
44bf215546Sopenharmony_ci- Serge Martin
45bf215546Sopenharmony_ci- Simon Raffeiner
46bf215546Sopenharmony_ci- Stephane Loeuillet <leroutier@users.sf.net> (leroutier)
47bf215546Sopenharmony_ci- Stephane Marchesin <stephane.marchesin@gmail.com> (marcheu)
48bf215546Sopenharmony_ci- sturmflut <sturmflut@users.sf.net> (sturmflut)
49bf215546Sopenharmony_ci- Sylvain Munaut <tnt@246tNt.com>
50bf215546Sopenharmony_ci- Victor Stinner <victor.stinner@haypocalc.com> (haypo)
51bf215546Sopenharmony_ci- Wladmir van der Laan <laanwj@gmail.com> (miathan6)
52bf215546Sopenharmony_ci- Younes Manton <younes.m@gmail.com> (ymanton)
53bf215546Sopenharmony_ci
54bf215546Sopenharmony_ciPermission is hereby granted, free of charge, to any person obtaining
55bf215546Sopenharmony_cia copy of this software and associated documentation files (the
56bf215546Sopenharmony_ci"Software"), to deal in the Software without restriction, including
57bf215546Sopenharmony_ciwithout limitation the rights to use, copy, modify, merge, publish,
58bf215546Sopenharmony_cidistribute, sublicense, and/or sell copies of the Software, and to
59bf215546Sopenharmony_cipermit persons to whom the Software is furnished to do so, subject to
60bf215546Sopenharmony_cithe following conditions:
61bf215546Sopenharmony_ci
62bf215546Sopenharmony_ciThe above copyright notice and this permission notice (including the
63bf215546Sopenharmony_cinext paragraph) shall be included in all copies or substantial
64bf215546Sopenharmony_ciportions of the Software.
65bf215546Sopenharmony_ci
66bf215546Sopenharmony_ciTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
67bf215546Sopenharmony_ciEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
68bf215546Sopenharmony_ciMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
69bf215546Sopenharmony_ciIN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
70bf215546Sopenharmony_ciLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
71bf215546Sopenharmony_ciOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
72bf215546Sopenharmony_ciWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
73bf215546Sopenharmony_ci*/
74bf215546Sopenharmony_ci
75bf215546Sopenharmony_ci
76bf215546Sopenharmony_ci
77bf215546Sopenharmony_ci#define NVC0_COMPUTE_LOCAL_POS_ALLOC				0x00000204
78bf215546Sopenharmony_ci
79bf215546Sopenharmony_ci#define NVC0_COMPUTE_LOCAL_NEG_ALLOC				0x00000208
80bf215546Sopenharmony_ci
81bf215546Sopenharmony_ci#define NVC0_COMPUTE_WARP_CSTACK_SIZE				0x0000020c
82bf215546Sopenharmony_ci
83bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_LIMITS				0x00000210
84bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_LIMITS_SAMPLERS_LOG2__MASK		0x0000000f
85bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_LIMITS_SAMPLERS_LOG2__SHIFT		0
86bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_LIMITS_SAMPLERS_LOG2__MIN		0x00000000
87bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_LIMITS_SAMPLERS_LOG2__MAX		0x00000004
88bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_LIMITS_TEXTURES_LOG2__MASK		0x000000f0
89bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_LIMITS_TEXTURES_LOG2__SHIFT		4
90bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_LIMITS_TEXTURES_LOG2__MIN		0x00000000
91bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_LIMITS_TEXTURES_LOG2__MAX		0x00000007
92bf215546Sopenharmony_ci
93bf215546Sopenharmony_ci#define NVC0_COMPUTE_SHARED_BASE				0x00000214
94bf215546Sopenharmony_ci
95bf215546Sopenharmony_ci#define NVC0_COMPUTE_MEM_BARRIER				0x0000021c
96bf215546Sopenharmony_ci#define NVC0_COMPUTE_MEM_BARRIER_UNK0				0x00000001
97bf215546Sopenharmony_ci#define NVC0_COMPUTE_MEM_BARRIER_UNK1				0x00000002
98bf215546Sopenharmony_ci#define NVC0_COMPUTE_MEM_BARRIER_UNK2				0x00000004
99bf215546Sopenharmony_ci#define NVC0_COMPUTE_MEM_BARRIER_UNK4				0x00000010
100bf215546Sopenharmony_ci#define NVC0_COMPUTE_MEM_BARRIER_UNK8				0x00000100
101bf215546Sopenharmony_ci#define NVC0_COMPUTE_MEM_BARRIER_UNK12				0x00001000
102bf215546Sopenharmony_ci
103bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC					0x00000228
104bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC_ACTIVE				0x00000001
105bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC_SAMPLER__MASK			0x00000ff0
106bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC_SAMPLER__SHIFT			4
107bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC_TSC__MASK			0x01fff000
108bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC_TSC__SHIFT			12
109bf215546Sopenharmony_ci
110bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC					0x0000022c
111bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC_ACTIVE				0x00000001
112bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC_TEXTURE__MASK			0x000001fe
113bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC_TEXTURE__SHIFT			1
114bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC_TIC__MASK			0x7ffffe00
115bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC_TIC__SHIFT			9
116bf215546Sopenharmony_ci
117bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC2					0x00000230
118bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC2_ACTIVE				0x00000001
119bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC2_SAMPLER__MASK			0x00000010
120bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC2_SAMPLER__SHIFT			4
121bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC2_TSC__MASK			0x01fff000
122bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TSC2_TSC__SHIFT			12
123bf215546Sopenharmony_ci
124bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC2					0x00000234
125bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC2_ACTIVE				0x00000001
126bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC2_TEXTURE__MASK			0x00000002
127bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC2_TEXTURE__SHIFT			1
128bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC2_TIC__MASK			0x7ffffe00
129bf215546Sopenharmony_ci#define NVC0_COMPUTE_BIND_TIC2_TIC__SHIFT			9
130bf215546Sopenharmony_ci
131bf215546Sopenharmony_ci#define NVC0_COMPUTE_GRIDDIM_YX				0x00000238
132bf215546Sopenharmony_ci#define NVC0_COMPUTE_GRIDDIM_YX_X__MASK			0x0000ffff
133bf215546Sopenharmony_ci#define NVC0_COMPUTE_GRIDDIM_YX_X__SHIFT			0
134bf215546Sopenharmony_ci#define NVC0_COMPUTE_GRIDDIM_YX_Y__MASK			0xffff0000
135bf215546Sopenharmony_ci#define NVC0_COMPUTE_GRIDDIM_YX_Y__SHIFT			16
136bf215546Sopenharmony_ci
137bf215546Sopenharmony_ci#define NVC0_COMPUTE_GRIDDIM_Z					0x0000023c
138bf215546Sopenharmony_ci
139bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK244_TIC_FLUSH				0x00000244
140bf215546Sopenharmony_ci
141bf215546Sopenharmony_ci#define NVC0_COMPUTE_SHARED_SIZE				0x0000024c
142bf215546Sopenharmony_ci
143bf215546Sopenharmony_ci#define NVC0_COMPUTE_THREADS_ALLOC				0x00000250
144bf215546Sopenharmony_ci
145bf215546Sopenharmony_ci#define NVC0_COMPUTE_BARRIER_ALLOC				0x00000254
146bf215546Sopenharmony_ci
147bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK028C					0x0000028c
148bf215546Sopenharmony_ci
149bf215546Sopenharmony_ci#define NVC0_COMPUTE_COMPUTE_BEGIN				0x0000029c
150bf215546Sopenharmony_ci#define NVC0_COMPUTE_COMPUTE_BEGIN_UNK0			0x00000001
151bf215546Sopenharmony_ci
152bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK02A0					0x000002a0
153bf215546Sopenharmony_ci
154bf215546Sopenharmony_ci#define NVC0_COMPUTE_CP_GPR_ALLOC				0x000002c0
155bf215546Sopenharmony_ci
156bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK02C4					0x000002c4
157bf215546Sopenharmony_ci
158bf215546Sopenharmony_ci#define NVC0_COMPUTE_GLOBAL_BASE				0x000002c8
159bf215546Sopenharmony_ci#define NVC0_COMPUTE_GLOBAL_BASE_HIGH__MASK			0x000000ff
160bf215546Sopenharmony_ci#define NVC0_COMPUTE_GLOBAL_BASE_HIGH__SHIFT			0
161bf215546Sopenharmony_ci#define NVC0_COMPUTE_GLOBAL_BASE_INDEX__MASK			0x00ff0000
162bf215546Sopenharmony_ci#define NVC0_COMPUTE_GLOBAL_BASE_INDEX__SHIFT			16
163bf215546Sopenharmony_ci#define NVC0_COMPUTE_GLOBAL_BASE_READ_OK			0x40000000
164bf215546Sopenharmony_ci#define NVC0_COMPUTE_GLOBAL_BASE_WRITE_OK			0x80000000
165bf215546Sopenharmony_ci
166bf215546Sopenharmony_ci#define NVC8_COMPUTE_UNK02E0					0x000002e0
167bf215546Sopenharmony_ci
168bf215546Sopenharmony_ci#define NVC0_COMPUTE_CACHE_SPLIT				0x00000308
169bf215546Sopenharmony_ci#define NVC0_COMPUTE_CACHE_SPLIT_16K_SHARED_48K_L1		0x00000001
170bf215546Sopenharmony_ci#define NVC0_COMPUTE_CACHE_SPLIT_48K_SHARED_16K_L1		0x00000003
171bf215546Sopenharmony_ci
172bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK030C					0x0000030c
173bf215546Sopenharmony_ci
174bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK0360					0x00000360
175bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK0360_UNK0				0x00000001
176bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK0360_UNK8__MASK			0x00000300
177bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK0360_UNK8__SHIFT			8
178bf215546Sopenharmony_ci#define NVC8_COMPUTE_UNK0360_UNK10__MASK			0x00000c00
179bf215546Sopenharmony_ci#define NVC8_COMPUTE_UNK0360_UNK10__SHIFT			10
180bf215546Sopenharmony_ci
181bf215546Sopenharmony_ci#define NVC0_COMPUTE_LAUNCH					0x00000368
182bf215546Sopenharmony_ci
183bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK036C					0x0000036c
184bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK036C_UNK0__MASK			0x00000003
185bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK036C_UNK0__SHIFT			0
186bf215546Sopenharmony_ci#define NVC8_COMPUTE_UNK036C_UNK2__MASK			0x0000000c
187bf215546Sopenharmony_ci#define NVC8_COMPUTE_UNK036C_UNK2__SHIFT			2
188bf215546Sopenharmony_ci
189bf215546Sopenharmony_ci#define NVC0_COMPUTE_BLOCKDIM_YX				0x000003ac
190bf215546Sopenharmony_ci#define NVC0_COMPUTE_BLOCKDIM_YX_X__MASK			0x0000ffff
191bf215546Sopenharmony_ci#define NVC0_COMPUTE_BLOCKDIM_YX_X__SHIFT			0
192bf215546Sopenharmony_ci#define NVC0_COMPUTE_BLOCKDIM_YX_Y__MASK			0xffff0000
193bf215546Sopenharmony_ci#define NVC0_COMPUTE_BLOCKDIM_YX_Y__SHIFT			16
194bf215546Sopenharmony_ci
195bf215546Sopenharmony_ci#define NVC0_COMPUTE_BLOCKDIM_Z				0x000003b0
196bf215546Sopenharmony_ci
197bf215546Sopenharmony_ci#define NVC0_COMPUTE_CP_START_ID				0x000003b4
198bf215546Sopenharmony_ci
199bf215546Sopenharmony_ci#define NVC0_COMPUTE_FIRMWARE(i0)			       (0x00000500 + 0x4*(i0))
200bf215546Sopenharmony_ci#define NVC0_COMPUTE_FIRMWARE__ESIZE				0x00000004
201bf215546Sopenharmony_ci#define NVC0_COMPUTE_FIRMWARE__LEN				0x00000020
202bf215546Sopenharmony_ci
203bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_LIMIT					0x00000758
204bf215546Sopenharmony_ci
205bf215546Sopenharmony_ci#define NVC0_COMPUTE_LOCAL_BASE				0x0000077c
206bf215546Sopenharmony_ci
207bf215546Sopenharmony_ci#define NVC0_COMPUTE_GRIDID					0x00000780
208bf215546Sopenharmony_ci
209bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEMP_ADDRESS_HIGH				0x00000790
210bf215546Sopenharmony_ci
211bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEMP_ADDRESS_LOW				0x00000794
212bf215546Sopenharmony_ci
213bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEMP_SIZE_HIGH				0x00000798
214bf215546Sopenharmony_ci
215bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEMP_SIZE_LOW				0x0000079c
216bf215546Sopenharmony_ci
217bf215546Sopenharmony_ci#define NVC0_COMPUTE_WARP_TEMP_ALLOC				0x000007a0
218bf215546Sopenharmony_ci
219bf215546Sopenharmony_ci#define NVC0_COMPUTE_COMPUTE_END				0x00000a04
220bf215546Sopenharmony_ci#define NVC0_COMPUTE_COMPUTE_END_UNK0				0x00000001
221bf215546Sopenharmony_ci
222bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK0A08					0x00000a08
223bf215546Sopenharmony_ci
224bf215546Sopenharmony_ci#define NVC0_COMPUTE_CALL_LIMIT_LOG				0x00000d64
225bf215546Sopenharmony_ci
226bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK0D94					0x00000d94
227bf215546Sopenharmony_ci
228bf215546Sopenharmony_ci#define NVC0_COMPUTE_WATCHDOG_TIMER				0x00000de4
229bf215546Sopenharmony_ci
230bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK10F4					0x000010f4
231bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK10F4_UNK0				0x00000001
232bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK10F4_UNK4				0x00000010
233bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK10F4_UNK8				0x00000100
234bf215546Sopenharmony_ci
235bf215546Sopenharmony_ci#define NVC0_COMPUTE_LINKED_TSC				0x00001234
236bf215546Sopenharmony_ci
237bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1288_TIC_FLUSH				0x00001288
238bf215546Sopenharmony_ci
239bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK12AC					0x000012ac
240bf215546Sopenharmony_ci
241bf215546Sopenharmony_ci#define NVC0_COMPUTE_TSC_FLUSH					0x00001330
242bf215546Sopenharmony_ci#define NVC0_COMPUTE_TSC_FLUSH_SPECIFIC			0x00000001
243bf215546Sopenharmony_ci#define NVC0_COMPUTE_TSC_FLUSH_ENTRY__MASK			0x03fffff0
244bf215546Sopenharmony_ci#define NVC0_COMPUTE_TSC_FLUSH_ENTRY__SHIFT			4
245bf215546Sopenharmony_ci
246bf215546Sopenharmony_ci#define NVC0_COMPUTE_TIC_FLUSH					0x00001334
247bf215546Sopenharmony_ci#define NVC0_COMPUTE_TIC_FLUSH_SPECIFIC			0x00000001
248bf215546Sopenharmony_ci#define NVC0_COMPUTE_TIC_FLUSH_ENTRY__MASK			0x03fffff0
249bf215546Sopenharmony_ci#define NVC0_COMPUTE_TIC_FLUSH_ENTRY__SHIFT			4
250bf215546Sopenharmony_ci
251bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_CACHE_CTL				0x00001338
252bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_CACHE_CTL_UNK0__MASK			0x00000007
253bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_CACHE_CTL_UNK0__SHIFT			0
254bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_CACHE_CTL_ENTRY__MASK			0x03fffff0
255bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_CACHE_CTL_ENTRY__SHIFT		4
256bf215546Sopenharmony_ci
257bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1354					0x00001354
258bf215546Sopenharmony_ci
259bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1424_TSC_FLUSH				0x00001424
260bf215546Sopenharmony_ci
261bf215546Sopenharmony_ci#define NVC0_COMPUTE_COND_ADDRESS_HIGH				0x00001550
262bf215546Sopenharmony_ci
263bf215546Sopenharmony_ci#define NVC0_COMPUTE_COND_ADDRESS_LOW				0x00001554
264bf215546Sopenharmony_ci
265bf215546Sopenharmony_ci#define NVC0_COMPUTE_COND_MODE					0x00001558
266bf215546Sopenharmony_ci#define NVC0_COMPUTE_COND_MODE_NEVER				0x00000000
267bf215546Sopenharmony_ci#define NVC0_COMPUTE_COND_MODE_ALWAYS				0x00000001
268bf215546Sopenharmony_ci#define NVC0_COMPUTE_COND_MODE_RES_NON_ZERO			0x00000002
269bf215546Sopenharmony_ci#define NVC0_COMPUTE_COND_MODE_EQUAL				0x00000003
270bf215546Sopenharmony_ci#define NVC0_COMPUTE_COND_MODE_NOT_EQUAL			0x00000004
271bf215546Sopenharmony_ci
272bf215546Sopenharmony_ci#define NVC0_COMPUTE_TSC_ADDRESS_HIGH				0x0000155c
273bf215546Sopenharmony_ci
274bf215546Sopenharmony_ci#define NVC0_COMPUTE_TSC_ADDRESS_LOW				0x00001560
275bf215546Sopenharmony_ci
276bf215546Sopenharmony_ci#define NVC0_COMPUTE_TSC_LIMIT					0x00001564
277bf215546Sopenharmony_ci
278bf215546Sopenharmony_ci#define NVC0_COMPUTE_TIC_ADDRESS_HIGH				0x00001574
279bf215546Sopenharmony_ci
280bf215546Sopenharmony_ci#define NVC0_COMPUTE_TIC_ADDRESS_LOW				0x00001578
281bf215546Sopenharmony_ci
282bf215546Sopenharmony_ci#define NVC0_COMPUTE_TIC_LIMIT					0x0000157c
283bf215546Sopenharmony_ci
284bf215546Sopenharmony_ci#define NVC0_COMPUTE_CODE_ADDRESS_HIGH				0x00001608
285bf215546Sopenharmony_ci
286bf215546Sopenharmony_ci#define NVC0_COMPUTE_CODE_ADDRESS_LOW				0x0000160c
287bf215546Sopenharmony_ci
288bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_MISC					0x00001664
289bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_MISC_UNK				0x00000001
290bf215546Sopenharmony_ci#define NVC0_COMPUTE_TEX_MISC_SEAMLESS_CUBE_MAP		0x00000002
291bf215546Sopenharmony_ci
292bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1690					0x00001690
293bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1690_ALWAYS_DERIV			0x00000001
294bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1690_UNK16				0x00010000
295bf215546Sopenharmony_ci
296bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_BIND					0x00001694
297bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_BIND_VALID				0x00000001
298bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_BIND_INDEX__MASK			0x00001f00
299bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_BIND_INDEX__SHIFT			8
300bf215546Sopenharmony_ci
301bf215546Sopenharmony_ci#define NVC0_COMPUTE_FLUSH					0x00001698
302bf215546Sopenharmony_ci#define NVC0_COMPUTE_FLUSH_CODE				0x00000001
303bf215546Sopenharmony_ci#define NVC0_COMPUTE_FLUSH_GLOBAL				0x00000010
304bf215546Sopenharmony_ci#define NVC0_COMPUTE_FLUSH_UNK8				0x00000100
305bf215546Sopenharmony_ci#define NVC0_COMPUTE_FLUSH_CB					0x00001000
306bf215546Sopenharmony_ci
307bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1930					0x00001930
308bf215546Sopenharmony_ci
309bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1944					0x00001944
310bf215546Sopenharmony_ci
311bf215546Sopenharmony_ci#define NVC0_COMPUTE_DELAY					0x00001a24
312bf215546Sopenharmony_ci
313bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1A2C(i0)			       (0x00001a2c + 0x4*(i0))
314bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1A2C__ESIZE				0x00000004
315bf215546Sopenharmony_ci#define NVC0_COMPUTE_UNK1A2C__LEN				0x00000005
316bf215546Sopenharmony_ci
317bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_ADDRESS_HIGH			0x00001b00
318bf215546Sopenharmony_ci
319bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_ADDRESS_LOW				0x00001b04
320bf215546Sopenharmony_ci
321bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_SEQUENCE				0x00001b08
322bf215546Sopenharmony_ci
323bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_GET					0x00001b0c
324bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_GET_MODE__MASK			0x00000003
325bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_GET_MODE__SHIFT			0
326bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_GET_MODE_WRITE			0x00000000
327bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_GET_MODE_WRITE_INTR_NRHOST		0x00000003
328bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_GET_INTR				0x00100000
329bf215546Sopenharmony_ci#define NVC0_COMPUTE_QUERY_GET_SHORT				0x10000000
330bf215546Sopenharmony_ci
331bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_SIZE					0x00002380
332bf215546Sopenharmony_ci
333bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_ADDRESS_HIGH				0x00002384
334bf215546Sopenharmony_ci
335bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_ADDRESS_LOW				0x00002388
336bf215546Sopenharmony_ci
337bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_POS					0x0000238c
338bf215546Sopenharmony_ci
339bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_DATA(i0)			       (0x00002390 + 0x4*(i0))
340bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_DATA__ESIZE				0x00000004
341bf215546Sopenharmony_ci#define NVC0_COMPUTE_CB_DATA__LEN				0x00000010
342bf215546Sopenharmony_ci
343bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE(i0)				       (0x00002700 + 0x20*(i0))
344bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE__ESIZE				0x00000020
345bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE__LEN				0x00000008
346bf215546Sopenharmony_ci
347bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_ADDRESS_HIGH(i0)		       (0x00002700 + 0x20*(i0))
348bf215546Sopenharmony_ci
349bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_ADDRESS_LOW(i0)		       (0x00002704 + 0x20*(i0))
350bf215546Sopenharmony_ci
351bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_WIDTH(i0)			       (0x00002708 + 0x20*(i0))
352bf215546Sopenharmony_ci
353bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_HEIGHT(i0)			       (0x0000270c + 0x20*(i0))
354bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_HEIGHT_HEIGHT__MASK			0x0000ffff
355bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_HEIGHT_HEIGHT__SHIFT		0
356bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_HEIGHT_UNK16			0x00010000
357bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_HEIGHT_LINEAR			0x00100000
358bf215546Sopenharmony_ci
359bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_FORMAT(i0)			       (0x00002710 + 0x20*(i0))
360bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_FORMAT_UNK0				0x00000001
361bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_FORMAT_FORMAT_COLOR__MASK		0x00000ff0
362bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_FORMAT_FORMAT_COLOR__SHIFT		4
363bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_FORMAT_FORMAT_ZETA__MASK		0x0001f000
364bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_FORMAT_FORMAT_ZETA__SHIFT		12
365bf215546Sopenharmony_ci
366bf215546Sopenharmony_ci#define NVC0_COMPUTE_IMAGE_TILE_MODE(i0)		       (0x00002714 + 0x20*(i0))
367bf215546Sopenharmony_ci
368bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SET(i0)			       (0x0000335c + 0x4*(i0))
369bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SET__ESIZE				0x00000004
370bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SET__LEN				0x00000008
371bf215546Sopenharmony_ci
372bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SIGSEL(i0)			       (0x0000337c + 0x4*(i0))
373bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SIGSEL__ESIZE			0x00000004
374bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SIGSEL__LEN				0x00000008
375bf215546Sopenharmony_ci
376bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL(i0)			       (0x0000339c + 0x4*(i0))
377bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL__ESIZE			0x00000004
378bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL__LEN				0x00000008
379bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_GRP0__MASK			0x00000007
380bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_GRP0__SHIFT			0
381bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_SIG0__MASK			0x00000070
382bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_SIG0__SHIFT			4
383bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_GRP1__MASK			0x00000700
384bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_GRP1__SHIFT			8
385bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_SIG1__MASK			0x00007000
386bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_SIG1__SHIFT			12
387bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_GRP2__MASK			0x00070000
388bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_GRP2__SHIFT			16
389bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_SIG2__MASK			0x00700000
390bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_SIG2__SHIFT			20
391bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_GRP3__MASK			0x07000000
392bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_GRP3__SHIFT			24
393bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_SIG3__MASK			0x70000000
394bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_SRCSEL_SIG3__SHIFT			28
395bf215546Sopenharmony_ci
396bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_OP(i0)			       (0x000033bc + 0x4*(i0))
397bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_OP__ESIZE				0x00000004
398bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_OP__LEN				0x00000008
399bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_OP_MODE__MASK			0x00000001
400bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_OP_MODE__SHIFT			0
401bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_OP_MODE_LOGOP			0x00000000
402bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_OP_MODE_LOGOP_PULSE			0x00000001
403bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_OP_FUNC__MASK			0x000ffff0
404bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_OP_FUNC__SHIFT			4
405bf215546Sopenharmony_ci
406bf215546Sopenharmony_ci#define NVC0_COMPUTE_MP_PM_UNK33DC				0x000033dc
407bf215546Sopenharmony_ci
408bf215546Sopenharmony_ci
409bf215546Sopenharmony_ci#endif /* NVC0_COMPUTE_XML */
410