Debian Codegraph @

src/nouveau/headers/nvidia/classes/clc8b5.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 _clc8b5_h_
28 #define _clc8b5_h_
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 #define HOPPER_DMA_COPY_A (0x0000C8B5)
35
36 #define NVC8B5_NOP (0x00000100)
37 #define NVC8B5_NOP_PARAMETER 31:0
38 #define NVC8B5_PM_TRIGGER (0x00000140)
39 #define NVC8B5_PM_TRIGGER_V 31:0
40 #define NVC8B5_SET_MONITORED_FENCE_TYPE (0x0000021C)
41 #define NVC8B5_SET_MONITORED_FENCE_TYPE_TYPE 0:0
42 #define NVC8B5_SET_MONITORED_FENCE_TYPE_TYPE_MONITORED_FENCE (0x00000000)
43 #define NVC8B5_SET_MONITORED_FENCE_TYPE_TYPE_MONITORED_FENCE_EXT (0x00000001)
44 #define NVC8B5_SET_MONITORED_FENCE_SIGNAL_ADDR_BASE_UPPER (0x00000220)
45 #define NVC8B5_SET_MONITORED_FENCE_SIGNAL_ADDR_BASE_UPPER_UPPER 24:0
46 #define NVC8B5_SET_MONITORED_FENCE_SIGNAL_ADDR_BASE_LOWER (0x00000224)
47 #define NVC8B5_SET_MONITORED_FENCE_SIGNAL_ADDR_BASE_LOWER_LOWER 31:0
48 #define NVC8B5_SET_SEMAPHORE_A (0x00000240)
49 #define NVC8B5_SET_SEMAPHORE_A_UPPER 24:0
50 #define NVC8B5_SET_SEMAPHORE_B (0x00000244)
51 #define NVC8B5_SET_SEMAPHORE_B_LOWER 31:0
52 #define NVC8B5_SET_SEMAPHORE_PAYLOAD (0x00000248)
53 #define NVC8B5_SET_SEMAPHORE_PAYLOAD_PAYLOAD 31:0
54 #define NVC8B5_SET_SEMAPHORE_PAYLOAD_UPPER (0x0000024C)
55 #define NVC8B5_SET_SEMAPHORE_PAYLOAD_UPPER_PAYLOAD 31:0
56 #define NVC8B5_SET_RENDER_ENABLE_A (0x00000254)
57 #define NVC8B5_SET_RENDER_ENABLE_A_UPPER 24:0
58 #define NVC8B5_SET_RENDER_ENABLE_B (0x00000258)
59 #define NVC8B5_SET_RENDER_ENABLE_B_LOWER 31:0
60 #define NVC8B5_SET_RENDER_ENABLE_C (0x0000025C)
61 #define NVC8B5_SET_RENDER_ENABLE_C_MODE 2:0
62 #define NVC8B5_SET_RENDER_ENABLE_C_MODE_FALSE (0x00000000)
63 #define NVC8B5_SET_RENDER_ENABLE_C_MODE_TRUE (0x00000001)
64 #define NVC8B5_SET_RENDER_ENABLE_C_MODE_CONDITIONAL (0x00000002)
65 #define NVC8B5_SET_RENDER_ENABLE_C_MODE_RENDER_IF_EQUAL (0x00000003)
66 #define NVC8B5_SET_RENDER_ENABLE_C_MODE_RENDER_IF_NOT_EQUAL (0x00000004)
67 #define NVC8B5_SET_SRC_PHYS_MODE (0x00000260)
68 #define NVC8B5_SET_SRC_PHYS_MODE_TARGET 1:0
69 #define NVC8B5_SET_SRC_PHYS_MODE_TARGET_LOCAL_FB (0x00000000)
70 #define NVC8B5_SET_SRC_PHYS_MODE_TARGET_COHERENT_SYSMEM (0x00000001)
71 #define NVC8B5_SET_SRC_PHYS_MODE_TARGET_NONCOHERENT_SYSMEM (0x00000002)
72 #define NVC8B5_SET_SRC_PHYS_MODE_TARGET_PEERMEM (0x00000003)
73 #define NVC8B5_SET_SRC_PHYS_MODE_BASIC_KIND 5:2
74 #define NVC8B5_SET_SRC_PHYS_MODE_PEER_ID 8:6
75 #define NVC8B5_SET_SRC_PHYS_MODE_FLA 9:9
76 #define NVC8B5_SET_DST_PHYS_MODE (0x00000264)
77 #define NVC8B5_SET_DST_PHYS_MODE_TARGET 1:0
78 #define NVC8B5_SET_DST_PHYS_MODE_TARGET_LOCAL_FB (0x00000000)
79 #define NVC8B5_SET_DST_PHYS_MODE_TARGET_COHERENT_SYSMEM (0x00000001)
80 #define NVC8B5_SET_DST_PHYS_MODE_TARGET_NONCOHERENT_SYSMEM (0x00000002)
81 #define NVC8B5_SET_DST_PHYS_MODE_TARGET_PEERMEM (0x00000003)
82 #define NVC8B5_SET_DST_PHYS_MODE_BASIC_KIND 5:2
83 #define NVC8B5_SET_DST_PHYS_MODE_PEER_ID 8:6
84 #define NVC8B5_SET_DST_PHYS_MODE_FLA 9:9
85 #define NVC8B5_LAUNCH_DMA (0x00000300)
86 #define NVC8B5_LAUNCH_DMA_DATA_TRANSFER_TYPE 1:0
87 #define NVC8B5_LAUNCH_DMA_DATA_TRANSFER_TYPE_NONE (0x00000000)
88 #define NVC8B5_LAUNCH_DMA_DATA_TRANSFER_TYPE_PIPELINED (0x00000001)
89 #define NVC8B5_LAUNCH_DMA_DATA_TRANSFER_TYPE_NON_PIPELINED (0x00000002)
90 #define NVC8B5_LAUNCH_DMA_FLUSH_ENABLE 2:2
91 #define NVC8B5_LAUNCH_DMA_FLUSH_ENABLE_FALSE (0x00000000)
92 #define NVC8B5_LAUNCH_DMA_FLUSH_ENABLE_TRUE (0x00000001)
93 #define NVC8B5_LAUNCH_DMA_FLUSH_TYPE 25:25
94 #define NVC8B5_LAUNCH_DMA_FLUSH_TYPE_SYS (0x00000000)
95 #define NVC8B5_LAUNCH_DMA_FLUSH_TYPE_GL (0x00000001)
96 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_TYPE 4:3
97 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_TYPE_NONE (0x00000000)
98 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_SEMAPHORE_NO_TIMESTAMP (0x00000001)
99 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_SEMAPHORE_WITH_TIMESTAMP (0x00000002)
100 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_ONE_WORD_SEMAPHORE (0x00000001)
101 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_FOUR_WORD_SEMAPHORE (0x00000002)
102 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_TYPE_RELEASE_CONDITIONAL_INTR_SEMAPHORE (0x00000003)
103 #define NVC8B5_LAUNCH_DMA_INTERRUPT_TYPE 6:5
104 #define NVC8B5_LAUNCH_DMA_INTERRUPT_TYPE_NONE (0x00000000)
105 #define NVC8B5_LAUNCH_DMA_INTERRUPT_TYPE_BLOCKING (0x00000001)
106 #define NVC8B5_LAUNCH_DMA_INTERRUPT_TYPE_NON_BLOCKING (0x00000002)
107 #define NVC8B5_LAUNCH_DMA_SRC_MEMORY_LAYOUT 7:7
108 #define NVC8B5_LAUNCH_DMA_SRC_MEMORY_LAYOUT_BLOCKLINEAR (0x00000000)
109 #define NVC8B5_LAUNCH_DMA_SRC_MEMORY_LAYOUT_PITCH (0x00000001)
110 #define NVC8B5_LAUNCH_DMA_DST_MEMORY_LAYOUT 8:8
111 #define NVC8B5_LAUNCH_DMA_DST_MEMORY_LAYOUT_BLOCKLINEAR (0x00000000)
112 #define NVC8B5_LAUNCH_DMA_DST_MEMORY_LAYOUT_PITCH (0x00000001)
113 #define NVC8B5_LAUNCH_DMA_MULTI_LINE_ENABLE 9:9
114 #define NVC8B5_LAUNCH_DMA_MULTI_LINE_ENABLE_FALSE (0x00000000)
115 #define NVC8B5_LAUNCH_DMA_MULTI_LINE_ENABLE_TRUE (0x00000001)
116 #define NVC8B5_LAUNCH_DMA_REMAP_ENABLE 10:10
117 #define NVC8B5_LAUNCH_DMA_REMAP_ENABLE_FALSE (0x00000000)
118 #define NVC8B5_LAUNCH_DMA_REMAP_ENABLE_TRUE (0x00000001)
119 #define NVC8B5_LAUNCH_DMA_FORCE_RMWDISABLE 11:11
120 #define NVC8B5_LAUNCH_DMA_FORCE_RMWDISABLE_FALSE (0x00000000)
121 #define NVC8B5_LAUNCH_DMA_FORCE_RMWDISABLE_TRUE (0x00000001)
122 #define NVC8B5_LAUNCH_DMA_SRC_TYPE 12:12
123 #define NVC8B5_LAUNCH_DMA_SRC_TYPE_VIRTUAL (0x00000000)
124 #define NVC8B5_LAUNCH_DMA_SRC_TYPE_PHYSICAL (0x00000001)
125 #define NVC8B5_LAUNCH_DMA_DST_TYPE 13:13
126 #define NVC8B5_LAUNCH_DMA_DST_TYPE_VIRTUAL (0x00000000)
127 #define NVC8B5_LAUNCH_DMA_DST_TYPE_PHYSICAL (0x00000001)
128 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION 17:14
129 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IMIN (0x00000000)
130 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IMAX (0x00000001)
131 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IXOR (0x00000002)
132 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IAND (0x00000003)
133 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IOR (0x00000004)
134 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_IADD (0x00000005)
135 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INC (0x00000006)
136 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_DEC (0x00000007)
137 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDA (0x00000008)
138 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDB (0x00000009)
139 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_FADD (0x0000000A)
140 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_FMIN (0x0000000B)
141 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_FMAX (0x0000000C)
142 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDC (0x0000000D)
143 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDD (0x0000000E)
144 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_INVALIDE (0x0000000F)
145 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_SIGN 18:18
146 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_SIGN_SIGNED (0x00000000)
147 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_SIGN_UNSIGNED (0x00000001)
148 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_ENABLE 19:19
149 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_ENABLE_FALSE (0x00000000)
150 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_REDUCTION_ENABLE_TRUE (0x00000001)
151 #define NVC8B5_LAUNCH_DMA_COPY_TYPE 21:20
152 #define NVC8B5_LAUNCH_DMA_COPY_TYPE_PROT2PROT (0x00000000)
153 #define NVC8B5_LAUNCH_DMA_COPY_TYPE_DEFAULT (0x00000000)
154 #define NVC8B5_LAUNCH_DMA_COPY_TYPE_SECURE (0x00000001)
155 #define NVC8B5_LAUNCH_DMA_COPY_TYPE_NONPROT2NONPROT (0x00000002)
156 #define NVC8B5_LAUNCH_DMA_COPY_TYPE_RESERVED (0x00000003)
157 #define NVC8B5_LAUNCH_DMA_VPRMODE 22:22
158 #define NVC8B5_LAUNCH_DMA_VPRMODE_VPR_NONE (0x00000000)
159 #define NVC8B5_LAUNCH_DMA_VPRMODE_VPR_VID2VID (0x00000001)
160 #define NVC8B5_LAUNCH_DMA_MEMORY_SCRUB_ENABLE 23:23
161 #define NVC8B5_LAUNCH_DMA_MEMORY_SCRUB_ENABLE_FALSE (0x00000000)
162 #define NVC8B5_LAUNCH_DMA_MEMORY_SCRUB_ENABLE_TRUE (0x00000001)
163 #define NVC8B5_LAUNCH_DMA_RESERVED_START_OF_COPY 24:24
164 #define NVC8B5_LAUNCH_DMA_DISABLE_PLC 26:26
165 #define NVC8B5_LAUNCH_DMA_DISABLE_PLC_FALSE (0x00000000)
166 #define NVC8B5_LAUNCH_DMA_DISABLE_PLC_TRUE (0x00000001)
167 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_PAYLOAD_SIZE 27:27
168 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_PAYLOAD_SIZE_ONE_WORD (0x00000000)
169 #define NVC8B5_LAUNCH_DMA_SEMAPHORE_PAYLOAD_SIZE_TWO_WORD (0x00000001)
170 #define NVC8B5_LAUNCH_DMA_RESERVED_ERR_CODE 31:28
171 #define NVC8B5_OFFSET_IN_UPPER (0x00000400)
172 #define NVC8B5_OFFSET_IN_UPPER_UPPER 24:0
173 #define NVC8B5_OFFSET_IN_LOWER (0x00000404)
174 #define NVC8B5_OFFSET_IN_LOWER_VALUE 31:0
175 #define NVC8B5_OFFSET_OUT_UPPER (0x00000408)
176 #define NVC8B5_OFFSET_OUT_UPPER_UPPER 24:0
177 #define NVC8B5_OFFSET_OUT_LOWER (0x0000040C)
178 #define NVC8B5_OFFSET_OUT_LOWER_VALUE 31:0
179 #define NVC8B5_PITCH_IN (0x00000410)
180 #define NVC8B5_PITCH_IN_VALUE 31:0
181 #define NVC8B5_PITCH_OUT (0x00000414)
182 #define NVC8B5_PITCH_OUT_VALUE 31:0
183 #define NVC8B5_LINE_LENGTH_IN (0x00000418)
184 #define NVC8B5_LINE_LENGTH_IN_VALUE 31:0
185 #define NVC8B5_LINE_COUNT (0x0000041C)
186 #define NVC8B5_LINE_COUNT_VALUE 31:0
187 #define NVC8B5_SET_SECURE_COPY_MODE (0x00000500)
188 #define NVC8B5_SET_SECURE_COPY_MODE_MODE 0:0
189 #define NVC8B5_SET_SECURE_COPY_MODE_MODE_ENCRYPT (0x00000000)
190 #define NVC8B5_SET_SECURE_COPY_MODE_MODE_DECRYPT (0x00000001)
191 #define NVC8B5_SET_DECRYPT_AUTH_TAG_COMPARE_ADDR_UPPER (0x00000514)
192 #define NVC8B5_SET_DECRYPT_AUTH_TAG_COMPARE_ADDR_UPPER_UPPER 24:0
193 #define NVC8B5_SET_DECRYPT_AUTH_TAG_COMPARE_ADDR_LOWER (0x00000518)
194 #define NVC8B5_SET_DECRYPT_AUTH_TAG_COMPARE_ADDR_LOWER_LOWER 31:0
195 #define NVC8B5_SET_ENCRYPT_AUTH_TAG_ADDR_UPPER (0x00000530)
196 #define NVC8B5_SET_ENCRYPT_AUTH_TAG_ADDR_UPPER_UPPER 24:0
197 #define NVC8B5_SET_ENCRYPT_AUTH_TAG_ADDR_LOWER (0x00000534)
198 #define NVC8B5_SET_ENCRYPT_AUTH_TAG_ADDR_LOWER_LOWER 31:0
199 #define NVC8B5_SET_ENCRYPT_IV_ADDR_UPPER (0x00000538)
200 #define NVC8B5_SET_ENCRYPT_IV_ADDR_UPPER_UPPER 24:0
201 #define NVC8B5_SET_ENCRYPT_IV_ADDR_LOWER (0x0000053C)
202 #define NVC8B5_SET_ENCRYPT_IV_ADDR_LOWER_LOWER 31:0
203 #define NVC8B5_SET_MEMORY_SCRUB_PARAMETERS (0x000006FC)
204 #define NVC8B5_SET_MEMORY_SCRUB_PARAMETERS_DISCARDABLE 0:0
205 #define NVC8B5_SET_MEMORY_SCRUB_PARAMETERS_DISCARDABLE_FALSE (0x00000000)
206 #define NVC8B5_SET_MEMORY_SCRUB_PARAMETERS_DISCARDABLE_TRUE (0x00000001)
207 #define NVC8B5_SET_REMAP_CONST_A (0x00000700)
208 #define NVC8B5_SET_REMAP_CONST_A_V 31:0
209 #define NVC8B5_SET_REMAP_CONST_B (0x00000704)
210 #define NVC8B5_SET_REMAP_CONST_B_V 31:0
211 #define NVC8B5_SET_REMAP_COMPONENTS (0x00000708)
212 #define NVC8B5_SET_REMAP_COMPONENTS_DST_X 2:0
213 #define NVC8B5_SET_REMAP_COMPONENTS_DST_X_SRC_X (0x00000000)
214 #define NVC8B5_SET_REMAP_COMPONENTS_DST_X_SRC_Y (0x00000001)
215 #define NVC8B5_SET_REMAP_COMPONENTS_DST_X_SRC_Z (0x00000002)
216 #define NVC8B5_SET_REMAP_COMPONENTS_DST_X_SRC_W (0x00000003)
217 #define NVC8B5_SET_REMAP_COMPONENTS_DST_X_CONST_A (0x00000004)
218 #define NVC8B5_SET_REMAP_COMPONENTS_DST_X_CONST_B (0x00000005)
219 #define NVC8B5_SET_REMAP_COMPONENTS_DST_X_NO_WRITE (0x00000006)
220 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Y 6:4
221 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Y_SRC_X (0x00000000)
222 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Y_SRC_Y (0x00000001)
223 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Y_SRC_Z (0x00000002)
224 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Y_SRC_W (0x00000003)
225 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Y_CONST_A (0x00000004)
226 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Y_CONST_B (0x00000005)
227 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Y_NO_WRITE (0x00000006)
228 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Z 10:8
229 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Z_SRC_X (0x00000000)
230 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Z_SRC_Y (0x00000001)
231 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Z_SRC_Z (0x00000002)
232 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Z_SRC_W (0x00000003)
233 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Z_CONST_A (0x00000004)
234 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Z_CONST_B (0x00000005)
235 #define NVC8B5_SET_REMAP_COMPONENTS_DST_Z_NO_WRITE (0x00000006)
236 #define NVC8B5_SET_REMAP_COMPONENTS_DST_W 14:12
237 #define NVC8B5_SET_REMAP_COMPONENTS_DST_W_SRC_X (0x00000000)
238 #define NVC8B5_SET_REMAP_COMPONENTS_DST_W_SRC_Y (0x00000001)
239 #define NVC8B5_SET_REMAP_COMPONENTS_DST_W_SRC_Z (0x00000002)
240 #define NVC8B5_SET_REMAP_COMPONENTS_DST_W_SRC_W (0x00000003)
241 #define NVC8B5_SET_REMAP_COMPONENTS_DST_W_CONST_A (0x00000004)
242 #define NVC8B5_SET_REMAP_COMPONENTS_DST_W_CONST_B (0x00000005)
243 #define NVC8B5_SET_REMAP_COMPONENTS_DST_W_NO_WRITE (0x00000006)
244 #define NVC8B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE 17:16
245 #define NVC8B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_ONE (0x00000000)
246 #define NVC8B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_TWO (0x00000001)
247 #define NVC8B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_THREE (0x00000002)
248 #define NVC8B5_SET_REMAP_COMPONENTS_COMPONENT_SIZE_FOUR (0x00000003)
249 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS 21:20
250 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_ONE (0x00000000)
251 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_TWO (0x00000001)
252 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_THREE (0x00000002)
253 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_SRC_COMPONENTS_FOUR (0x00000003)
254 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS 25:24
255 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS_ONE (0x00000000)
256 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS_TWO (0x00000001)
257 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS_THREE (0x00000002)
258 #define NVC8B5_SET_REMAP_COMPONENTS_NUM_DST_COMPONENTS_FOUR (0x00000003)
259 #define NVC8B5_SET_DST_BLOCK_SIZE (0x0000070C)
260 #define NVC8B5_SET_DST_BLOCK_SIZE_WIDTH 3:0
261 #define NVC8B5_SET_DST_BLOCK_SIZE_WIDTH_ONE_GOB (0x00000000)
262 #define NVC8B5_SET_DST_BLOCK_SIZE_HEIGHT 7:4
263 #define NVC8B5_SET_DST_BLOCK_SIZE_HEIGHT_ONE_GOB (0x00000000)
264 #define NVC8B5_SET_DST_BLOCK_SIZE_HEIGHT_TWO_GOBS (0x00000001)
265 #define NVC8B5_SET_DST_BLOCK_SIZE_HEIGHT_FOUR_GOBS (0x00000002)
266 #define NVC8B5_SET_DST_BLOCK_SIZE_HEIGHT_EIGHT_GOBS (0x00000003)
267 #define NVC8B5_SET_DST_BLOCK_SIZE_HEIGHT_SIXTEEN_GOBS (0x00000004)
268 #define NVC8B5_SET_DST_BLOCK_SIZE_HEIGHT_THIRTYTWO_GOBS (0x00000005)
269 #define NVC8B5_SET_DST_BLOCK_SIZE_DEPTH 11:8
270 #define NVC8B5_SET_DST_BLOCK_SIZE_DEPTH_ONE_GOB (0x00000000)
271 #define NVC8B5_SET_DST_BLOCK_SIZE_DEPTH_TWO_GOBS (0x00000001)
272 #define NVC8B5_SET_DST_BLOCK_SIZE_DEPTH_FOUR_GOBS (0x00000002)
273 #define NVC8B5_SET_DST_BLOCK_SIZE_DEPTH_EIGHT_GOBS (0x00000003)
274 #define NVC8B5_SET_DST_BLOCK_SIZE_DEPTH_SIXTEEN_GOBS (0x00000004)
275 #define NVC8B5_SET_DST_BLOCK_SIZE_DEPTH_THIRTYTWO_GOBS (0x00000005)
276 #define NVC8B5_SET_DST_BLOCK_SIZE_GOB_HEIGHT 15:12
277 #define NVC8B5_SET_DST_BLOCK_SIZE_GOB_HEIGHT_GOB_HEIGHT_FERMI_8 (0x00000001)
278 #define NVC8B5_SET_DST_WIDTH (0x00000710)
279 #define NVC8B5_SET_DST_WIDTH_V 31:0
280 #define NVC8B5_SET_DST_HEIGHT (0x00000714)
281 #define NVC8B5_SET_DST_HEIGHT_V 31:0
282 #define NVC8B5_SET_DST_DEPTH (0x00000718)
283 #define NVC8B5_SET_DST_DEPTH_V 31:0
284 #define NVC8B5_SET_DST_LAYER (0x0000071C)
285 #define NVC8B5_SET_DST_LAYER_V 31:0
286 #define NVC8B5_SET_DST_ORIGIN (0x00000720)
287 #define NVC8B5_SET_DST_ORIGIN_X 15:0
288 #define NVC8B5_SET_DST_ORIGIN_Y 31:16
289 #define NVC8B5_SET_SRC_BLOCK_SIZE (0x00000728)
290 #define NVC8B5_SET_SRC_BLOCK_SIZE_WIDTH 3:0
291 #define NVC8B5_SET_SRC_BLOCK_SIZE_WIDTH_ONE_GOB (0x00000000)
292 #define NVC8B5_SET_SRC_BLOCK_SIZE_HEIGHT 7:4
293 #define NVC8B5_SET_SRC_BLOCK_SIZE_HEIGHT_ONE_GOB (0x00000000)
294 #define NVC8B5_SET_SRC_BLOCK_SIZE_HEIGHT_TWO_GOBS (0x00000001)
295 #define NVC8B5_SET_SRC_BLOCK_SIZE_HEIGHT_FOUR_GOBS (0x00000002)
296 #define NVC8B5_SET_SRC_BLOCK_SIZE_HEIGHT_EIGHT_GOBS (0x00000003)
297 #define NVC8B5_SET_SRC_BLOCK_SIZE_HEIGHT_SIXTEEN_GOBS (0x00000004)
298 #define NVC8B5_SET_SRC_BLOCK_SIZE_HEIGHT_THIRTYTWO_GOBS (0x00000005)
299 #define NVC8B5_SET_SRC_BLOCK_SIZE_DEPTH 11:8
300 #define NVC8B5_SET_SRC_BLOCK_SIZE_DEPTH_ONE_GOB (0x00000000)
301 #define NVC8B5_SET_SRC_BLOCK_SIZE_DEPTH_TWO_GOBS (0x00000001)
302 #define NVC8B5_SET_SRC_BLOCK_SIZE_DEPTH_FOUR_GOBS (0x00000002)
303 #define NVC8B5_SET_SRC_BLOCK_SIZE_DEPTH_EIGHT_GOBS (0x00000003)
304 #define NVC8B5_SET_SRC_BLOCK_SIZE_DEPTH_SIXTEEN_GOBS (0x00000004)
305 #define NVC8B5_SET_SRC_BLOCK_SIZE_DEPTH_THIRTYTWO_GOBS (0x00000005)
306 #define NVC8B5_SET_SRC_BLOCK_SIZE_GOB_HEIGHT 15:12
307 #define NVC8B5_SET_SRC_BLOCK_SIZE_GOB_HEIGHT_GOB_HEIGHT_FERMI_8 (0x00000001)
308 #define NVC8B5_SET_SRC_WIDTH (0x0000072C)
309 #define NVC8B5_SET_SRC_WIDTH_V 31:0
310 #define NVC8B5_SET_SRC_HEIGHT (0x00000730)
311 #define NVC8B5_SET_SRC_HEIGHT_V 31:0
312 #define NVC8B5_SET_SRC_DEPTH (0x00000734)
313 #define NVC8B5_SET_SRC_DEPTH_V 31:0
314 #define NVC8B5_SET_SRC_LAYER (0x00000738)
315 #define NVC8B5_SET_SRC_LAYER_V 31:0
316 #define NVC8B5_SET_SRC_ORIGIN (0x0000073C)
317 #define NVC8B5_SET_SRC_ORIGIN_X 15:0
318 #define NVC8B5_SET_SRC_ORIGIN_Y 31:16
319 #define NVC8B5_SRC_ORIGIN_X (0x00000744)
320 #define NVC8B5_SRC_ORIGIN_X_VALUE 31:0
321 #define NVC8B5_SRC_ORIGIN_Y (0x00000748)
322 #define NVC8B5_SRC_ORIGIN_Y_VALUE 31:0
323 #define NVC8B5_DST_ORIGIN_X (0x0000074C)
324 #define NVC8B5_DST_ORIGIN_X_VALUE 31:0
325 #define NVC8B5_DST_ORIGIN_Y (0x00000750)
326 #define NVC8B5_DST_ORIGIN_Y_VALUE 31:0
327 #define NVC8B5_PM_TRIGGER_END (0x00001114)
328 #define NVC8B5_PM_TRIGGER_END_V 31:0
329
330 #ifdef __cplusplus
331 }; /* extern "C" */
332 #endif
333 #endif // _clc8b5_h
334