xref: /linux/drivers/gpu/drm/nouveau/include/nvhw/class/cl502d.h (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
1 /*
2  * Copyright (c) 2003 - 2004, NVIDIA CORPORATION. All rights reserved.
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included in
12  * all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20  * DEALINGS IN THE SOFTWARE.
21  */
22 
23 #ifndef _cl_nv50_twod_h_
24 #define _cl_nv50_twod_h_
25 
26 #define NV502D_SET_OBJECT                                                                                  0x0000
27 #define NV502D_SET_OBJECT_POINTER                                                                            15:0
28 
29 #define NV502D_WAIT_FOR_IDLE                                                                               0x0110
30 #define NV502D_WAIT_FOR_IDLE_V                                                                               31:0
31 
32 #define NV502D_SET_DST_CONTEXT_DMA                                                                         0x0184
33 #define NV502D_SET_DST_CONTEXT_DMA_HANDLE                                                                    31:0
34 
35 #define NV502D_SET_SRC_CONTEXT_DMA                                                                         0x0188
36 #define NV502D_SET_SRC_CONTEXT_DMA_HANDLE                                                                    31:0
37 
38 #define NV502D_SET_SEMAPHORE_CONTEXT_DMA                                                                   0x018c
39 #define NV502D_SET_SEMAPHORE_CONTEXT_DMA_HANDLE                                                              31:0
40 
41 #define NV502D_SET_DST_FORMAT                                                                              0x0200
42 #define NV502D_SET_DST_FORMAT_V                                                                               7:0
43 #define NV502D_SET_DST_FORMAT_V_A8R8G8B8                                                               0x000000CF
44 #define NV502D_SET_DST_FORMAT_V_A8RL8GL8BL8                                                            0x000000D0
45 #define NV502D_SET_DST_FORMAT_V_A2R10G10B10                                                            0x000000DF
46 #define NV502D_SET_DST_FORMAT_V_A8B8G8R8                                                               0x000000D5
47 #define NV502D_SET_DST_FORMAT_V_A8BL8GL8RL8                                                            0x000000D6
48 #define NV502D_SET_DST_FORMAT_V_A2B10G10R10                                                            0x000000D1
49 #define NV502D_SET_DST_FORMAT_V_X8R8G8B8                                                               0x000000E6
50 #define NV502D_SET_DST_FORMAT_V_X8RL8GL8BL8                                                            0x000000E7
51 #define NV502D_SET_DST_FORMAT_V_X8B8G8R8                                                               0x000000F9
52 #define NV502D_SET_DST_FORMAT_V_X8BL8GL8RL8                                                            0x000000FA
53 #define NV502D_SET_DST_FORMAT_V_R5G6B5                                                                 0x000000E8
54 #define NV502D_SET_DST_FORMAT_V_A1R5G5B5                                                               0x000000E9
55 #define NV502D_SET_DST_FORMAT_V_X1R5G5B5                                                               0x000000F8
56 #define NV502D_SET_DST_FORMAT_V_Y8                                                                     0x000000F3
57 #define NV502D_SET_DST_FORMAT_V_Y16                                                                    0x000000EE
58 #define NV502D_SET_DST_FORMAT_V_Y32                                                                    0x000000FF
59 #define NV502D_SET_DST_FORMAT_V_Z1R5G5B5                                                               0x000000FB
60 #define NV502D_SET_DST_FORMAT_V_O1R5G5B5                                                               0x000000FC
61 #define NV502D_SET_DST_FORMAT_V_Z8R8G8B8                                                               0x000000FD
62 #define NV502D_SET_DST_FORMAT_V_O8R8G8B8                                                               0x000000FE
63 #define NV502D_SET_DST_FORMAT_V_Y1_8X8                                                                 0x0000001C
64 #define NV502D_SET_DST_FORMAT_V_RF16                                                                   0x000000F2
65 #define NV502D_SET_DST_FORMAT_V_RF32                                                                   0x000000E5
66 #define NV502D_SET_DST_FORMAT_V_RF32_GF32                                                              0x000000CB
67 #define NV502D_SET_DST_FORMAT_V_RF16_GF16_BF16_AF16                                                    0x000000CA
68 #define NV502D_SET_DST_FORMAT_V_RF16_GF16_BF16_X16                                                     0x000000CE
69 #define NV502D_SET_DST_FORMAT_V_RF32_GF32_BF32_AF32                                                    0x000000C0
70 #define NV502D_SET_DST_FORMAT_V_RF32_GF32_BF32_X32                                                     0x000000C3
71 
72 #define NV502D_SET_DST_MEMORY_LAYOUT                                                                       0x0204
73 #define NV502D_SET_DST_MEMORY_LAYOUT_V                                                                        0:0
74 #define NV502D_SET_DST_MEMORY_LAYOUT_V_BLOCKLINEAR                                                     0x00000000
75 #define NV502D_SET_DST_MEMORY_LAYOUT_V_PITCH                                                           0x00000001
76 
77 #define NV502D_SET_DST_PITCH                                                                               0x0214
78 #define NV502D_SET_DST_PITCH_V                                                                               31:0
79 
80 #define NV502D_SET_DST_WIDTH                                                                               0x0218
81 #define NV502D_SET_DST_WIDTH_V                                                                               31:0
82 
83 #define NV502D_SET_DST_HEIGHT                                                                              0x021c
84 #define NV502D_SET_DST_HEIGHT_V                                                                              31:0
85 
86 #define NV502D_SET_DST_OFFSET_UPPER                                                                        0x0220
87 #define NV502D_SET_DST_OFFSET_UPPER_V                                                                         7:0
88 
89 #define NV502D_SET_DST_OFFSET_LOWER                                                                        0x0224
90 #define NV502D_SET_DST_OFFSET_LOWER_V                                                                        31:0
91 
92 #define NV502D_SET_SRC_FORMAT                                                                              0x0230
93 #define NV502D_SET_SRC_FORMAT_V                                                                               7:0
94 #define NV502D_SET_SRC_FORMAT_V_A8R8G8B8                                                               0x000000CF
95 #define NV502D_SET_SRC_FORMAT_V_A8RL8GL8BL8                                                            0x000000D0
96 #define NV502D_SET_SRC_FORMAT_V_A2R10G10B10                                                            0x000000DF
97 #define NV502D_SET_SRC_FORMAT_V_A8B8G8R8                                                               0x000000D5
98 #define NV502D_SET_SRC_FORMAT_V_A8BL8GL8RL8                                                            0x000000D6
99 #define NV502D_SET_SRC_FORMAT_V_A2B10G10R10                                                            0x000000D1
100 #define NV502D_SET_SRC_FORMAT_V_X8R8G8B8                                                               0x000000E6
101 #define NV502D_SET_SRC_FORMAT_V_X8RL8GL8BL8                                                            0x000000E7
102 #define NV502D_SET_SRC_FORMAT_V_X8B8G8R8                                                               0x000000F9
103 #define NV502D_SET_SRC_FORMAT_V_X8BL8GL8RL8                                                            0x000000FA
104 #define NV502D_SET_SRC_FORMAT_V_R5G6B5                                                                 0x000000E8
105 #define NV502D_SET_SRC_FORMAT_V_A1R5G5B5                                                               0x000000E9
106 #define NV502D_SET_SRC_FORMAT_V_X1R5G5B5                                                               0x000000F8
107 #define NV502D_SET_SRC_FORMAT_V_Y8                                                                     0x000000F3
108 #define NV502D_SET_SRC_FORMAT_V_AY8                                                                    0x0000001D
109 #define NV502D_SET_SRC_FORMAT_V_Y16                                                                    0x000000EE
110 #define NV502D_SET_SRC_FORMAT_V_Y32                                                                    0x000000FF
111 #define NV502D_SET_SRC_FORMAT_V_Z1R5G5B5                                                               0x000000FB
112 #define NV502D_SET_SRC_FORMAT_V_O1R5G5B5                                                               0x000000FC
113 #define NV502D_SET_SRC_FORMAT_V_Z8R8G8B8                                                               0x000000FD
114 #define NV502D_SET_SRC_FORMAT_V_O8R8G8B8                                                               0x000000FE
115 #define NV502D_SET_SRC_FORMAT_V_Y1_8X8                                                                 0x0000001C
116 #define NV502D_SET_SRC_FORMAT_V_RF16                                                                   0x000000F2
117 #define NV502D_SET_SRC_FORMAT_V_RF32                                                                   0x000000E5
118 #define NV502D_SET_SRC_FORMAT_V_RF32_GF32                                                              0x000000CB
119 #define NV502D_SET_SRC_FORMAT_V_RF16_GF16_BF16_AF16                                                    0x000000CA
120 #define NV502D_SET_SRC_FORMAT_V_RF16_GF16_BF16_X16                                                     0x000000CE
121 #define NV502D_SET_SRC_FORMAT_V_RF32_GF32_BF32_AF32                                                    0x000000C0
122 #define NV502D_SET_SRC_FORMAT_V_RF32_GF32_BF32_X32                                                     0x000000C3
123 
124 #define NV502D_SET_SRC_MEMORY_LAYOUT                                                                       0x0234
125 #define NV502D_SET_SRC_MEMORY_LAYOUT_V                                                                        0:0
126 #define NV502D_SET_SRC_MEMORY_LAYOUT_V_BLOCKLINEAR                                                     0x00000000
127 #define NV502D_SET_SRC_MEMORY_LAYOUT_V_PITCH                                                           0x00000001
128 
129 #define NV502D_SET_SRC_PITCH                                                                               0x0244
130 #define NV502D_SET_SRC_PITCH_V                                                                               31:0
131 
132 #define NV502D_SET_SRC_WIDTH                                                                               0x0248
133 #define NV502D_SET_SRC_WIDTH_V                                                                               31:0
134 
135 #define NV502D_SET_SRC_HEIGHT                                                                              0x024c
136 #define NV502D_SET_SRC_HEIGHT_V                                                                              31:0
137 
138 #define NV502D_SET_SRC_OFFSET_UPPER                                                                        0x0250
139 #define NV502D_SET_SRC_OFFSET_UPPER_V                                                                         7:0
140 
141 #define NV502D_SET_SRC_OFFSET_LOWER                                                                        0x0254
142 #define NV502D_SET_SRC_OFFSET_LOWER_V                                                                        31:0
143 
144 #define NV502D_SET_CLIP_ENABLE                                                                             0x0290
145 #define NV502D_SET_CLIP_ENABLE_V                                                                              0:0
146 #define NV502D_SET_CLIP_ENABLE_V_FALSE                                                                 0x00000000
147 #define NV502D_SET_CLIP_ENABLE_V_TRUE                                                                  0x00000001
148 
149 #define NV502D_SET_ROP                                                                                     0x02a0
150 #define NV502D_SET_ROP_V                                                                                      7:0
151 
152 #define NV502D_SET_OPERATION                                                                               0x02ac
153 #define NV502D_SET_OPERATION_V                                                                                2:0
154 #define NV502D_SET_OPERATION_V_SRCCOPY_AND                                                             0x00000000
155 #define NV502D_SET_OPERATION_V_ROP_AND                                                                 0x00000001
156 #define NV502D_SET_OPERATION_V_BLEND_AND                                                               0x00000002
157 #define NV502D_SET_OPERATION_V_SRCCOPY                                                                 0x00000003
158 #define NV502D_SET_OPERATION_V_ROP                                                                     0x00000004
159 #define NV502D_SET_OPERATION_V_SRCCOPY_PREMULT                                                         0x00000005
160 #define NV502D_SET_OPERATION_V_BLEND_PREMULT                                                           0x00000006
161 
162 #define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT                                                         0x02e8
163 #define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V                                                          2:0
164 #define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8X8R5G6B5                                        0x00000000
165 #define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A1R5G5B5                                          0x00000001
166 #define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8R8G8B8                                          0x00000002
167 #define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8Y8                                              0x00000003
168 #define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8X8Y16                                           0x00000004
169 #define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_Y32                                               0x00000005
170 
171 #define NV502D_SET_MONOCHROME_PATTERN_FORMAT                                                               0x02ec
172 #define NV502D_SET_MONOCHROME_PATTERN_FORMAT_V                                                                0:0
173 #define NV502D_SET_MONOCHROME_PATTERN_FORMAT_V_CGA6_M1                                                 0x00000000
174 #define NV502D_SET_MONOCHROME_PATTERN_FORMAT_V_LE_M1                                                   0x00000001
175 
176 #define NV502D_RENDER_SOLID_PRIM_MODE                                                                      0x0580
177 #define NV502D_RENDER_SOLID_PRIM_MODE_V                                                                       2:0
178 #define NV502D_RENDER_SOLID_PRIM_MODE_V_POINTS                                                         0x00000000
179 #define NV502D_RENDER_SOLID_PRIM_MODE_V_LINES                                                          0x00000001
180 #define NV502D_RENDER_SOLID_PRIM_MODE_V_POLYLINE                                                       0x00000002
181 #define NV502D_RENDER_SOLID_PRIM_MODE_V_TRIANGLES                                                      0x00000003
182 #define NV502D_RENDER_SOLID_PRIM_MODE_V_RECTS                                                          0x00000004
183 
184 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT                                                          0x0584
185 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V                                                           7:0
186 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A8R8G8B8                                           0x000000CF
187 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A2R10G10B10                                        0x000000DF
188 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A8B8G8R8                                           0x000000D5
189 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A2B10G10R10                                        0x000000D1
190 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_X8R8G8B8                                           0x000000E6
191 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_X8B8G8R8                                           0x000000F9
192 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_R5G6B5                                             0x000000E8
193 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A1R5G5B5                                           0x000000E9
194 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_X1R5G5B5                                           0x000000F8
195 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Y8                                                 0x000000F3
196 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Y16                                                0x000000EE
197 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Y32                                                0x000000FF
198 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Z1R5G5B5                                           0x000000FB
199 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_O1R5G5B5                                           0x000000FC
200 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Z8R8G8B8                                           0x000000FD
201 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_O8R8G8B8                                           0x000000FE
202 
203 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR                                                                 0x0588
204 #define NV502D_SET_RENDER_SOLID_PRIM_COLOR_V                                                                 31:0
205 
206 #define NV502D_RENDER_SOLID_PRIM_POINT_SET_X(j)                                                    (0x0600+(j)*8)
207 #define NV502D_RENDER_SOLID_PRIM_POINT_SET_X_V                                                               31:0
208 
209 #define NV502D_RENDER_SOLID_PRIM_POINT_Y(j)                                                        (0x0604+(j)*8)
210 #define NV502D_RENDER_SOLID_PRIM_POINT_Y_V                                                                   31:0
211 
212 #define NV502D_SET_PIXELS_FROM_CPU_DATA_TYPE                                                               0x0800
213 #define NV502D_SET_PIXELS_FROM_CPU_DATA_TYPE_V                                                                0:0
214 #define NV502D_SET_PIXELS_FROM_CPU_DATA_TYPE_V_COLOR                                                   0x00000000
215 #define NV502D_SET_PIXELS_FROM_CPU_DATA_TYPE_V_INDEX                                                   0x00000001
216 
217 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT                                                            0x0804
218 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V                                                             7:0
219 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A8R8G8B8                                             0x000000CF
220 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A2R10G10B10                                          0x000000DF
221 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A8B8G8R8                                             0x000000D5
222 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A2B10G10R10                                          0x000000D1
223 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_X8R8G8B8                                             0x000000E6
224 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_X8B8G8R8                                             0x000000F9
225 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_R5G6B5                                               0x000000E8
226 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A1R5G5B5                                             0x000000E9
227 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_X1R5G5B5                                             0x000000F8
228 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Y8                                                   0x000000F3
229 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Y16                                                  0x000000EE
230 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Y32                                                  0x000000FF
231 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Z1R5G5B5                                             0x000000FB
232 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_O1R5G5B5                                             0x000000FC
233 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Z8R8G8B8                                             0x000000FD
234 #define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_O8R8G8B8                                             0x000000FE
235 
236 #define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT                                                            0x0808
237 #define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V                                                             1:0
238 #define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V_I1                                                   0x00000000
239 #define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V_I4                                                   0x00000001
240 #define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V_I8                                                   0x00000002
241 
242 #define NV502D_SET_PIXELS_FROM_CPU_MONO_FORMAT                                                             0x080c
243 #define NV502D_SET_PIXELS_FROM_CPU_MONO_FORMAT_V                                                              0:0
244 #define NV502D_SET_PIXELS_FROM_CPU_MONO_FORMAT_V_CGA6_M1                                               0x00000000
245 #define NV502D_SET_PIXELS_FROM_CPU_MONO_FORMAT_V_LE_M1                                                 0x00000001
246 
247 #define NV502D_SET_PIXELS_FROM_CPU_WRAP                                                                    0x0810
248 #define NV502D_SET_PIXELS_FROM_CPU_WRAP_V                                                                     1:0
249 #define NV502D_SET_PIXELS_FROM_CPU_WRAP_V_WRAP_PIXEL                                                   0x00000000
250 #define NV502D_SET_PIXELS_FROM_CPU_WRAP_V_WRAP_BYTE                                                    0x00000001
251 #define NV502D_SET_PIXELS_FROM_CPU_WRAP_V_WRAP_DWORD                                                   0x00000002
252 
253 #define NV502D_SET_PIXELS_FROM_CPU_COLOR0                                                                  0x0814
254 #define NV502D_SET_PIXELS_FROM_CPU_COLOR0_V                                                                  31:0
255 
256 #define NV502D_SET_PIXELS_FROM_CPU_COLOR1                                                                  0x0818
257 #define NV502D_SET_PIXELS_FROM_CPU_COLOR1_V                                                                  31:0
258 
259 #define NV502D_SET_PIXELS_FROM_CPU_MONO_OPACITY                                                            0x081c
260 #define NV502D_SET_PIXELS_FROM_CPU_MONO_OPACITY_V                                                             0:0
261 #define NV502D_SET_PIXELS_FROM_CPU_MONO_OPACITY_V_TRANSPARENT                                          0x00000000
262 #define NV502D_SET_PIXELS_FROM_CPU_MONO_OPACITY_V_OPAQUE                                               0x00000001
263 
264 #define NV502D_SET_PIXELS_FROM_CPU_SRC_WIDTH                                                               0x0838
265 #define NV502D_SET_PIXELS_FROM_CPU_SRC_WIDTH_V                                                               31:0
266 
267 #define NV502D_SET_PIXELS_FROM_CPU_SRC_HEIGHT                                                              0x083c
268 #define NV502D_SET_PIXELS_FROM_CPU_SRC_HEIGHT_V                                                              31:0
269 
270 #define NV502D_SET_PIXELS_FROM_CPU_DX_DU_FRAC                                                              0x0840
271 #define NV502D_SET_PIXELS_FROM_CPU_DX_DU_FRAC_V                                                              31:0
272 
273 #define NV502D_SET_PIXELS_FROM_CPU_DX_DU_INT                                                               0x0844
274 #define NV502D_SET_PIXELS_FROM_CPU_DX_DU_INT_V                                                               31:0
275 
276 #define NV502D_SET_PIXELS_FROM_CPU_DY_DV_FRAC                                                              0x0848
277 #define NV502D_SET_PIXELS_FROM_CPU_DY_DV_FRAC_V                                                              31:0
278 
279 #define NV502D_SET_PIXELS_FROM_CPU_DY_DV_INT                                                               0x084c
280 #define NV502D_SET_PIXELS_FROM_CPU_DY_DV_INT_V                                                               31:0
281 
282 #define NV502D_SET_PIXELS_FROM_CPU_DST_X0_FRAC                                                             0x0850
283 #define NV502D_SET_PIXELS_FROM_CPU_DST_X0_FRAC_V                                                             31:0
284 
285 #define NV502D_SET_PIXELS_FROM_CPU_DST_X0_INT                                                              0x0854
286 #define NV502D_SET_PIXELS_FROM_CPU_DST_X0_INT_V                                                              31:0
287 
288 #define NV502D_SET_PIXELS_FROM_CPU_DST_Y0_FRAC                                                             0x0858
289 #define NV502D_SET_PIXELS_FROM_CPU_DST_Y0_FRAC_V                                                             31:0
290 
291 #define NV502D_SET_PIXELS_FROM_CPU_DST_Y0_INT                                                              0x085c
292 #define NV502D_SET_PIXELS_FROM_CPU_DST_Y0_INT_V                                                              31:0
293 
294 #define NV502D_PIXELS_FROM_CPU_DATA                                                                        0x0860
295 #define NV502D_PIXELS_FROM_CPU_DATA_V                                                                        31:0
296 
297 #define NV502D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP                                                         0x0888
298 #define NV502D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP_V                                                          0:0
299 #define NV502D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP_V_FALSE                                             0x00000000
300 #define NV502D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP_V_TRUE                                              0x00000001
301 
302 #define NV502D_SET_PIXELS_FROM_MEMORY_DST_X0                                                               0x08b0
303 #define NV502D_SET_PIXELS_FROM_MEMORY_DST_X0_V                                                               31:0
304 
305 #define NV502D_SET_PIXELS_FROM_MEMORY_DST_Y0                                                               0x08b4
306 #define NV502D_SET_PIXELS_FROM_MEMORY_DST_Y0_V                                                               31:0
307 
308 #define NV502D_SET_PIXELS_FROM_MEMORY_DST_WIDTH                                                            0x08b8
309 #define NV502D_SET_PIXELS_FROM_MEMORY_DST_WIDTH_V                                                            31:0
310 
311 #define NV502D_SET_PIXELS_FROM_MEMORY_DST_HEIGHT                                                           0x08bc
312 #define NV502D_SET_PIXELS_FROM_MEMORY_DST_HEIGHT_V                                                           31:0
313 
314 #define NV502D_SET_PIXELS_FROM_MEMORY_DU_DX_FRAC                                                           0x08c0
315 #define NV502D_SET_PIXELS_FROM_MEMORY_DU_DX_FRAC_V                                                           31:0
316 
317 #define NV502D_SET_PIXELS_FROM_MEMORY_DU_DX_INT                                                            0x08c4
318 #define NV502D_SET_PIXELS_FROM_MEMORY_DU_DX_INT_V                                                            31:0
319 
320 #define NV502D_SET_PIXELS_FROM_MEMORY_DV_DY_FRAC                                                           0x08c8
321 #define NV502D_SET_PIXELS_FROM_MEMORY_DV_DY_FRAC_V                                                           31:0
322 
323 #define NV502D_SET_PIXELS_FROM_MEMORY_DV_DY_INT                                                            0x08cc
324 #define NV502D_SET_PIXELS_FROM_MEMORY_DV_DY_INT_V                                                            31:0
325 
326 #define NV502D_SET_PIXELS_FROM_MEMORY_SRC_X0_FRAC                                                          0x08d0
327 #define NV502D_SET_PIXELS_FROM_MEMORY_SRC_X0_FRAC_V                                                          31:0
328 
329 #define NV502D_SET_PIXELS_FROM_MEMORY_SRC_X0_INT                                                           0x08d4
330 #define NV502D_SET_PIXELS_FROM_MEMORY_SRC_X0_INT_V                                                           31:0
331 
332 #define NV502D_SET_PIXELS_FROM_MEMORY_SRC_Y0_FRAC                                                          0x08d8
333 #define NV502D_SET_PIXELS_FROM_MEMORY_SRC_Y0_FRAC_V                                                          31:0
334 
335 #define NV502D_PIXELS_FROM_MEMORY_SRC_Y0_INT                                                               0x08dc
336 #define NV502D_PIXELS_FROM_MEMORY_SRC_Y0_INT_V                                                               31:0
337 #endif /* _cl_nv50_twod_h_ */
338