Debian Codegraph @

src/nouveau/headers/nvidia/classes/clc9b5.h

raw
1 /*
2 * SPDX-FileCopyrightText: Copyright (c) 1993-2004 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3 * SPDX-License-Identifier: MIT
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
22 */
23
24
25 #include "nvtypes.h"
26
27 #ifndef _clc9b5_h_
28 #define _clc9b5_h_
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 #define BLACKWELL_DMA_COPY_A (0x0000C9B5)
35
36 #define NVC9B5_NOP (0x00000100)
37 #define NVC9B5_NOP_PARAMETER 31:0
38 #define NVC9B5_PM_TRIGGER (0x00000140)
39 #define NVC9B5_PM_TRIGGER_V 31:0
40 #define NVC9B5_SET_MONITORED_FENCE_TYPE (0x0000021C)
41 #define NVC9B5_SET_MONITORED_FENCE_TYPE_TYPE 0:0
42 #define NVC9B5_SET_MONITORED_FENCE_TYPE_TYPE_MONITORED_FENCE (0x00000000)
43 #define NVC9B5_SET_MONITORED_FENCE_TYPE_TYPE_MONITORED_FENCE_EXT (0x00000001)
44 #define NVC9B5_SET_MONITORED_FENCE_SIGNAL_ADDR_BASE_UPPER (0x00000220)
45 #define NVC9B5_SET_MONITORED_FENCE_SIGNAL_ADDR_BASE_UPPER_UPPER 24:0
46 #define NVC9B5_SET_MONITORED_FENCE_SIGNAL_ADDR_BASE_LOWER (0x00000224)
47 #define NVC9B5_SET_MONITORED_FENCE_SIGNAL_ADDR_BASE_LOWER_LOWER 31:0
48 #define NVC9B5_SET_SEMAPHORE_A (0x00000240)
49 #define NVC9B5_SET_SEMAPHORE_A_UPPER 24:0
50 #define NVC9B5_SET_SEMAPHORE_B (0x00000244)
51 #define NVC9B5_SET_SEMAPHORE_B_LOWER 31:0
52 #define NVC9B5_SET_SEMAPHORE_PAYLOAD (0x00000248)
53 #define NVC9B5_SET_SEMAPHORE_PAYLOAD_PAYLOAD 31:0
54 #define NVC9B5_SET_SEMAPHORE_PAYLOAD_UPPER (0x0000024C)
55 #define NVC9B5_SET_SEMAPHORE_PAYLOAD_UPPER_PAYLOAD 31:0
56 #define NVC9B5_SET_RENDER_ENABLE_A (0x00000254)
57 #define NVC9B5_SET_RENDER_ENABLE_A_UPPER 24:0
58 #define NVC9B5_SET_RENDER_ENABLE_B (0x00000258)
59 #define NVC9B5_SET_RENDER_ENABLE_B_LOWER 31:0
60 #define NVC9B5_SET_RENDER_ENABLE_C (0x0000025C)
61 #define NVC9B5_SET_RENDER_ENABLE_C_MODE 2:0
62 #define NVC9B5_SET_RENDER_ENABLE_C_MODE_FALSE (0x00000000)
63 #define NVC9B5_SET_RENDER_ENABLE_C_MODE_TRUE (0x00000001)
64 #define NVC9B5_SET_RENDER_ENABLE_C_MODE_CONDITIONAL (0x00000002)
65 #define NVC9B5_SET_RENDER_ENABLE_C_MODE_RENDER_IF_EQUAL (0x00000003)
66 #define NVC9B5_SET_RENDER_ENABLE_C_MODE_RENDER_IF_NOT_EQUAL (0x00000004)
67 #define NVC9B5_SET_SRC_PHYS_MODE (0x00000260)
68 #define NVC9B5_SET_SRC_PHYS_MODE_TARGET 1:0
69 #define NVC9B5_SET_SRC_PHYS_MODE_TARGET_LOCAL_FB (0x00000000)
70 #define NVC9B5_SET_SRC_PHYS_MODE_TARGET_COHERENT_SYSMEM (0x00000001)
71 #define NVC9B5_SET_SRC_PHYS_MODE_TARGET_NONCOHERENT_SYSMEM (0x00000002)
72 #define NVC9B5_SET_SRC_PHYS_MODE_TARGET_PEERMEM (0x00000003)
73 #define NVC9B5_SET_SRC_PHYS_MODE_BASIC_KIND 5:2
74 #define NVC9B5_SET_SRC_PHYS_MODE_PEER_ID 8:6
75 #define NVC9B5_SET_SRC_PHYS_MODE_FLA 9:9
76 #define NVC9B5_SET_DST_PHYS_MODE (0x00000264)
77 #define NVC9B5_SET_DST_PHYS_MODE_TARGET 1:0
78 #define NVC9B5_SET_DST_PHYS_MODE_TARGET_LOCAL_FB (0x00000000)
79 #define NVC9B5_SET_DST_PHYS_MODE_TARGET_COHERENT_SYSMEM (0x00000001)
80 #define NVC9B5_SET_DST_PHYS_MODE_TARGET_NONCOHERENT_SYSMEM (0x00000002)
81 #define NVC9B5_SET_DST_PHYS_MODE_TARGET_PEERMEM (0x00000003)
82 #define NVC9B5_SET_DST_PHYS_MODE_BASIC_KIND 5:2
83 #define NVC9B5_SET_DST_PHYS_MODE_PEER_ID 8:6
84 #define NVC9B5_SET_DST_PHYS_MODE_FLA 9:9
85 #define NVC9B5_LAUNCH_DMA (0x00000300)
86 #define NVC9B5_LAUNCH_DMA_DATA_TRANSFER_TYPE 1:0
87 #define NVC9B5_LAUNCH_DMA_DATA_TRANSFER_TYPE_NONE (0x00000000)
88 #define NVC9B5_LAUNCH_DMA_DATA_TRANSFER_TYPE_PIPELINED (0x00000001)
89 #define NVC9B5_LAUNCH_DMA_DATA_TRANSFER_TYPE_NON_PIPELINED (0x00000002)
90 #define NVC9B5_LAUNCH_DMA_FLUSH_ENABLE 2:2
91 #define NVC9B5_LAUNCH_DMA_FLUSH_ENABLE_FALSE (0x00000000)
92 #define NVC9B5_LAUNCH_DMA_FLUSH_ENABLE_TRUE (0x00000001)
93 #define NVC9B5_LAUNCH_DMA_FLUSH_TYPE 25:25
94 #define NVC9B5_LAUNCH_DMA_FLUSH_TYPE_SYS (0x00000000)
95 #define NVC9B5_LAUNCH_DMA_FLUSH_TYPE_GL (0x00000001)
96 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_TYPE 4:3
97 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_TYPE_NONE (0x00000000)
98 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_SEMAPHORE_NO_TIMESTAMP (0x00000001)
99 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_SEMAPHORE_WITH_TIMESTAMP (0x00000002)
100 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_ONE_WORD_SEMAPHORE (0x00000001)
101 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_FOUR_WORD_SEMAPHORE (0x00000002)
102 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_CONDITIONAL_INTR_SEMAPHORE (0x00000003)
103 #define NVC9B5_LAUNCH_DMA_INTERRUPT_TYPE 6:5
104 #define NVC9B5_LAUNCH_DMA_INTERRUPT_TYPE_NONE (0x00000000)
105 #define NVC9B5_LAUNCH_DMA_INTERRUPT_TYPE_BLOCKING (0x00000001)
106 #define NVC9B5_LAUNCH_DMA_INTERRUPT_TYPE_NON_BLOCKING (0x00000002)
107 #define NVC9B5_LAUNCH_DMA_SRC_MEMORY_LAYOUT 7:7
108 #define NVC9B5_LAUNCH_DMA_SRC_MEMORY_LAYOUT_BLOCKLINEAR (0x00000000)
109 #define NVC9B5_LAUNCH_DMA_SRC_MEMORY_LAYOUT_PITCH (0x00000001)
110 #define NVC9B5_LAUNCH_DMA_DST_MEMORY_LAYOUT 8:8
111 #define NVC9B5_LAUNCH_DMA_DST_MEMORY_LAYOUT_BLOCKLINEAR (0x00000000)
112 #define NVC9B5_LAUNCH_DMA_DST_MEMORY_LAYOUT_PITCH (0x00000001)
113 #define NVC9B5_LAUNCH_DMA_MULTI_LINE_ENABLE 9:9
114 #define NVC9B5_LAUNCH_DMA_MULTI_LINE_ENABLE_FALSE (0x00000000)
115 #define NVC9B5_LAUNCH_DMA_MULTI_LINE_ENABLE_TRUE (0x00000001)
116 #define NVC9B5_LAUNCH_DMA_REMAP_ENABLE 10:10
117 #define NVC9B5_LAUNCH_DMA_REMAP_ENABLE_FALSE (0x00000000)
118 #define NVC9B5_LAUNCH_DMA_REMAP_ENABLE_TRUE (0x00000001)
119 #define NVC9B5_LAUNCH_DMA_SRC_TYPE 12:12
120 #define NVC9B5_LAUNCH_DMA_SRC_TYPE_VIRTUAL (0x00000000)
121 #define NVC9B5_LAUNCH_DMA_SRC_TYPE_PHYSICAL (0x00000001)
122 #define NVC9B5_LAUNCH_DMA_DST_TYPE 13:13
123 #define NVC9B5_LAUNCH_DMA_DST_TYPE_VIRTUAL (0x00000000)
124 #define NVC9B5_LAUNCH_DMA_DST_TYPE_PHYSICAL (0x00000001)
125 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION 17:14
126 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IMIN (0x00000000)
127 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IMAX (0x00000001)
128 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IXOR (0x00000002)
129 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IAND (0x00000003)
130 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IOR (0x00000004)
131 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IADD (0x00000005)
132 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INC (0x00000006)
133 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_DEC (0x00000007)
134 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDA (0x00000008)
135 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDB (0x00000009)
136 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_FADD (0x0000000A)
137 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_FMIN (0x0000000B)
138 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_FMAX (0x0000000C)
139 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDC (0x0000000D)
140 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDD (0x0000000E)
141 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDE (0x0000000F)
142 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_SIGN 18:18
143 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_SIGN_SIGNED (0x00000000)
144 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_SIGN_UNSIGNED (0x00000001)
145 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_ENABLE 19:19
146 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_ENABLE_FALSE (0x00000000)
147 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_ENABLE_TRUE (0x00000001)
148 #define NVC9B5_LAUNCH_DMA_COPY_TYPE 21:20
149 #define NVC9B5_LAUNCH_DMA_COPY_TYPE_PROT2PROT (0x00000000)
150 #define NVC9B5_LAUNCH_DMA_COPY_TYPE_DEFAULT (0x00000000)
151 #define NVC9B5_LAUNCH_DMA_COPY_TYPE_SECURE (0x00000001)
152 #define NVC9B5_LAUNCH_DMA_COPY_TYPE_NONPROT2NONPROT (0x00000002)
153 #define NVC9B5_LAUNCH_DMA_COPY_TYPE_RESERVED (0x00000003)
154 #define NVC9B5_LAUNCH_DMA_VPRMODE 22:22
155 #define NVC9B5_LAUNCH_DMA_VPRMODE_VPR_NONE (0x00000000)
156 #define NVC9B5_LAUNCH_DMA_VPRMODE_VPR_VID2VID (0x00000001)
157 #define NVC9B5_LAUNCH_DMA_MEMORY_SCRUB_ENABLE 23:23
158 #define NVC9B5_LAUNCH_DMA_MEMORY_SCRUB_ENABLE_FALSE (0x00000000)
159 #define NVC9B5_LAUNCH_DMA_MEMORY_SCRUB_ENABLE_TRUE (0x00000001)
160 #define NVC9B5_LAUNCH_DMA_RESERVED_START_OF_COPY 24:24
161 #define NVC9B5_LAUNCH_DMA_DISABLE_PLC 26:26
162 #define NVC9B5_LAUNCH_DMA_DISABLE_PLC_FALSE (0x00000000)
163 #define NVC9B5_LAUNCH_DMA_DISABLE_PLC_TRUE (0x00000001)
164 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_PAYLOAD_SIZE 27:27
165 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_PAYLOAD_SIZE_ONE_WORD (0x00000000)
166 #define NVC9B5_LAUNCH_DMA_SEMAPHORE_PAYLOAD_SIZE_TWO_WORD (0x00000001)
167 #define NVC9B5_LAUNCH_DMA_RESERVED_ERR_CODE 31:28
168 #define NVC9B5_OFFSET_IN_UPPER (0x00000400)
169 #define NVC9B5_OFFSET_IN_UPPER_UPPER 24:0
170 #define NVC9B5_OFFSET_IN_LOWER (0x00000404)
171 #define NVC9B5_OFFSET_IN_LOWER_VALUE 31:0
172 #define NVC9B5_OFFSET_OUT_UPPER (0x00000408)
173 #define NVC9B5_OFFSET_OUT_UPPER_UPPER 24:0
174 #define NVC9B5_OFFSET_OUT_LOWER (0x0000040C)
175 #define NVC9B5_OFFSET_OUT_LOWER_VALUE 31:0
176 #define NVC9B5_PITCH_IN (0x00000410)
177 #define NVC9B5_PITCH_IN_VALUE 31:0
178 #define NVC9B5_PITCH_OUT (0x00000414)
179 #define NVC9B5_PITCH_OUT_VALUE 31:0
180 #define NVC9B5_LINE_LENGTH_IN (0x00000418)
181 #define NVC9B5_LINE_LENGTH_IN_VALUE 31:0
182 #define NVC9B5_LINE_COUNT (0x0000041C)
183 #define NVC9B5_LINE_COUNT_VALUE 31:0
184 #define NVC9B5_SET_SECURE_COPY_MODE (0x00000500)
185 #define NVC9B5_SET_SECURE_COPY_MODE_MODE 0:0
186 #define NVC9B5_SET_SECURE_COPY_MODE_MODE_ENCRYPT (0x00000000)
187 #define NVC9B5_SET_SECURE_COPY_MODE_MODE_DECRYPT (0x00000001)
188 #define NVC9B5_SET_DECRYPT_AUTH_TAG_COMPARE_ADDR_UPPER (0x00000514)
189 #define NVC9B5_SET_DECRYPT_AUTH_TAG_COMPARE_ADDR_UPPER_UPPER 24:0
190 #define NVC9B5_SET_DECRYPT_AUTH_TAG_COMPARE_ADDR_LOWER (0x00000518)
191 #define NVC9B5_SET_DECRYPT_AUTH_TAG_COMPARE_ADDR_LOWER_LOWER 31:0
192 #define NVC9B5_SET_ENCRYPT_AUTH_TAG_ADDR_UPPER (0x00000530)
193 #define NVC9B5_SET_ENCRYPT_AUTH_TAG_ADDR_UPPER_UPPER 24:0
194 #define NVC9B5_SET_ENCRYPT_AUTH_TAG_ADDR_LOWER (0x00000534)
195 #define NVC9B5_SET_ENCRYPT_AUTH_TAG_ADDR_LOWER_LOWER 31:0
196 #define NVC9B5_SET_ENCRYPT_IV_ADDR_UPPER (0x00000538)
197 #define NVC9B5_SET_ENCRYPT_IV_ADDR_UPPER_UPPER 24:0
198 #define NVC9B5_SET_ENCRYPT_IV_ADDR_LOWER (0x0000053C)
199 #define NVC9B5_SET_ENCRYPT_IV_ADDR_LOWER_LOWER 31:0
200 #define NVC9B5_SET_MEMORY_SCRUB_PARAMETERS (0x000006FC)
201 #define NVC9B5_SET_MEMORY_SCRUB_PARAMETERS_DISCARDABLE 0:0
202 #define NVC9B5_SET_MEMORY_SCRUB_PARAMETERS_DISCARDABLE_FALSE (0x00000000)
203 #define NVC9B5_SET_MEMORY_SCRUB_PARAMETERS_DISCARDABLE_TRUE (0x00000001)
204 #define NVC9B5_SET_REMAP_CONST_A (0x00000700)
205 #define NVC9B5_SET_REMAP_CONST_A_V 31:0
206 #define NVC9B5_SET_REMAP_CONST_B (0x00000704)
207 #define NVC9B5_SET_REMAP_CONST_B_V 31:0
208 #define NVC9B5_SET_REMAP_COMPONENTS (0x00000708)
209 #define NVC9B5_SET_REMAP_COMPONENTS_DST_X 2:0
210 #define NVC9B5_SET_REMAP_COMPONENTS_DST_X_SRC_X (0x00000000)
211 #define NVC9B5_SET_REMAP_COMPONENTS_DST_X_SRC_Y (0x00000001)
212 #define NVC9B5_SET_REMAP_COMPONENTS_DST_X_SRC_Z (0x00000002)
213 #define NVC9B5_SET_REMAP_COMPONENTS_DST_X_SRC_W (0x00000003)
214 #define NVC9B5_SET_REMAP_COMPONENTS_DST_X_CONST_A (0x00000004)
215 #define NVC9B5_SET_REMAP_COMPONENTS_DST_X_CONST_B (0x00000005)
216 #define NVC9B5_SET_REMAP_COMPONENTS_DST_X_NO_WRITE (0x00000006)
217 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Y 6:4
218 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Y_SRC_X (0x00000000)
219 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Y_SRC_Y (0x00000001)
220 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Y_SRC_Z (0x00000002)
221 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Y_SRC_W (0x00000003)
222 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Y_CONST_A (0x00000004)
223 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Y_CONST_B (0x00000005)
224 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Y_NO_WRITE (0x00000006)
225 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Z 10:8
226 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Z_SRC_X (0x00000000)
227 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Z_SRC_Y (0x00000001)
228 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Z_SRC_Z (0x00000002)
229 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Z_SRC_W (0x00000003)
230 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Z_CONST_A (0x00000004)
231 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Z_CONST_B (0x00000005)
232 #define NVC9B5_SET_REMAP_COMPONENTS_DST_Z_NO_WRITE (0x00000006)
233 #define NVC9B5_SET_REMAP_COMPONENTS_DST_W 14:12
234 #define NVC9B5_SET_REMAP_COMPONENTS_DST_W_SRC_X (0x00000000)
235 #define NVC9B5_SET_REMAP_COMPONENTS_DST_W_SRC_Y (0x00000001)
236 #define NVC9B5_SET_REMAP_COMPONENTS_DST_W_SRC_Z (0x00000002)
237 #define NVC9B5_SET_REMAP_COMPONENTS_DST_W_SRC_W (0x00000003)
238 #define NVC9B5_SET_REMAP_COMPONENTS_DST_W_CONST_A (0x00000004)
239 #define NVC9B5_SET_REMAP_COMPONENTS_DST_W_CONST_B (0x00000005)
240 #define NVC9B5_SET_REMAP_COMPONENTS_DST_W_NO_WRITE (0x00000006)
241 #define NVC9B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE 17:16
242 #define NVC9B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_ONE (0x00000000)
243 #define NVC9B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_TWO (0x00000001)
244 #define NVC9B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_THREE (0x00000002)
245 #define NVC9B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_FOUR (0x00000003)
246 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS 21:20
247 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_ONE (0x00000000)
248 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_TWO (0x00000001)
249 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_THREE (0x00000002)
250 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_FOUR (0x00000003)
251 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS 25:24
252 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS_ONE (0x00000000)
253 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS_TWO (0x00000001)
254 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS_THREE (0x00000002)
255 #define NVC9B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS_FOUR (0x00000003)
256 #define NVC9B5_SET_DST_BLOCK_SIZE (0x0000070C)
257 #define NVC9B5_SET_DST_BLOCK_SIZE_WIDTH 3:0
258 #define NVC9B5_SET_DST_BLOCK_SIZE_WIDTH_ONE_GOB (0x00000000)
259 #define NVC9B5_SET_DST_BLOCK_SIZE_HEIGHT 7:4
260 #define NVC9B5_SET_DST_BLOCK_SIZE_HEIGHT_ONE_GOB (0x00000000)
261 #define NVC9B5_SET_DST_BLOCK_SIZE_HEIGHT_TWO_GOBS (0x00000001)
262 #define NVC9B5_SET_DST_BLOCK_SIZE_HEIGHT_FOUR_GOBS (0x00000002)
263 #define NVC9B5_SET_DST_BLOCK_SIZE_HEIGHT_EIGHT_GOBS (0x00000003)
264 #define NVC9B5_SET_DST_BLOCK_SIZE_HEIGHT_SIXTEEN_GOBS (0x00000004)
265 #define NVC9B5_SET_DST_BLOCK_SIZE_HEIGHT_THIRTYTWO_GOBS (0x00000005)
266 #define NVC9B5_SET_DST_BLOCK_SIZE_DEPTH 11:8
267 #define NVC9B5_SET_DST_BLOCK_SIZE_DEPTH_ONE_GOB (0x00000000)
268 #define NVC9B5_SET_DST_BLOCK_SIZE_DEPTH_TWO_GOBS (0x00000001)
269 #define NVC9B5_SET_DST_BLOCK_SIZE_DEPTH_FOUR_GOBS (0x00000002)
270 #define NVC9B5_SET_DST_BLOCK_SIZE_DEPTH_EIGHT_GOBS (0x00000003)
271 #define NVC9B5_SET_DST_BLOCK_SIZE_DEPTH_SIXTEEN_GOBS (0x00000004)
272 #define NVC9B5_SET_DST_BLOCK_SIZE_DEPTH_THIRTYTWO_GOBS (0x00000005)
273 #define NVC9B5_SET_DST_BLOCK_SIZE_GOB_HEIGHT 15:12
274 #define NVC9B5_SET_DST_BLOCK_SIZE_GOB_HEIGHT_GOB_HEIGHT_FERMI_8 (0x00000001)
275 #define NVC9B5_SET_DST_WIDTH (0x00000710)
276 #define NVC9B5_SET_DST_WIDTH_V 31:0
277 #define NVC9B5_SET_DST_HEIGHT (0x00000714)
278 #define NVC9B5_SET_DST_HEIGHT_V 31:0
279 #define NVC9B5_SET_DST_DEPTH (0x00000718)
280 #define NVC9B5_SET_DST_DEPTH_V 31:0
281 #define NVC9B5_SET_DST_LAYER (0x0000071C)
282 #define NVC9B5_SET_DST_LAYER_V 31:0
283 #define NVC9B5_SET_DST_ORIGIN (0x00000720)
284 #define NVC9B5_SET_DST_ORIGIN_X 15:0
285 #define NVC9B5_SET_DST_ORIGIN_Y 31:16
286 #define NVC9B5_SET_SRC_BLOCK_SIZE (0x00000728)
287 #define NVC9B5_SET_SRC_BLOCK_SIZE_WIDTH 3:0
288 #define NVC9B5_SET_SRC_BLOCK_SIZE_WIDTH_ONE_GOB (0x00000000)
289 #define NVC9B5_SET_SRC_BLOCK_SIZE_HEIGHT 7:4
290 #define NVC9B5_SET_SRC_BLOCK_SIZE_HEIGHT_ONE_GOB (0x00000000)
291 #define NVC9B5_SET_SRC_BLOCK_SIZE_HEIGHT_TWO_GOBS (0x00000001)
292 #define NVC9B5_SET_SRC_BLOCK_SIZE_HEIGHT_FOUR_GOBS (0x00000002)
293 #define NVC9B5_SET_SRC_BLOCK_SIZE_HEIGHT_EIGHT_GOBS (0x00000003)
294 #define NVC9B5_SET_SRC_BLOCK_SIZE_HEIGHT_SIXTEEN_GOBS (0x00000004)
295 #define NVC9B5_SET_SRC_BLOCK_SIZE_HEIGHT_THIRTYTWO_GOBS (0x00000005)
296 #define NVC9B5_SET_SRC_BLOCK_SIZE_DEPTH 11:8
297 #define NVC9B5_SET_SRC_BLOCK_SIZE_DEPTH_ONE_GOB (0x00000000)
298 #define NVC9B5_SET_SRC_BLOCK_SIZE_DEPTH_TWO_GOBS (0x00000001)
299 #define NVC9B5_SET_SRC_BLOCK_SIZE_DEPTH_FOUR_GOBS (0x00000002)
300 #define NVC9B5_SET_SRC_BLOCK_SIZE_DEPTH_EIGHT_GOBS (0x00000003)
301 #define NVC9B5_SET_SRC_BLOCK_SIZE_DEPTH_SIXTEEN_GOBS (0x00000004)
302 #define NVC9B5_SET_SRC_BLOCK_SIZE_DEPTH_THIRTYTWO_GOBS (0x00000005)
303 #define NVC9B5_SET_SRC_BLOCK_SIZE_GOB_HEIGHT 15:12
304 #define NVC9B5_SET_SRC_BLOCK_SIZE_GOB_HEIGHT_GOB_HEIGHT_FERMI_8 (0x00000001)
305 #define NVC9B5_SET_SRC_WIDTH (0x0000072C)
306 #define NVC9B5_SET_SRC_WIDTH_V 31:0
307 #define NVC9B5_SET_SRC_HEIGHT (0x00000730)
308 #define NVC9B5_SET_SRC_HEIGHT_V 31:0
309 #define NVC9B5_SET_SRC_DEPTH (0x00000734)
310 #define NVC9B5_SET_SRC_DEPTH_V 31:0
311 #define NVC9B5_SET_SRC_LAYER (0x00000738)
312 #define NVC9B5_SET_SRC_LAYER_V 31:0
313 #define NVC9B5_SET_SRC_ORIGIN (0x0000073C)
314 #define NVC9B5_SET_SRC_ORIGIN_X 15:0
315 #define NVC9B5_SET_SRC_ORIGIN_Y 31:16
316 #define NVC9B5_SRC_ORIGIN_X (0x00000744)
317 #define NVC9B5_SRC_ORIGIN_X_VALUE 31:0
318 #define NVC9B5_SRC_ORIGIN_Y (0x00000748)
319 #define NVC9B5_SRC_ORIGIN_Y_VALUE 31:0
320 #define NVC9B5_DST_ORIGIN_X (0x0000074C)
321 #define NVC9B5_DST_ORIGIN_X_VALUE 31:0
322 #define NVC9B5_DST_ORIGIN_Y (0x00000750)
323 #define NVC9B5_DST_ORIGIN_Y_VALUE 31:0
324 #define NVC9B5_PM_TRIGGER_END (0x00001114)
325 #define NVC9B5_PM_TRIGGER_END_V 31:0
326
327 #ifdef __cplusplus
328 }; /* extern "C" */
329 #endif
330 #endif // _clc9b5_h
331