summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/include/nvhw/class/cl502d.h
blob: 47fe91b67e744611b43c770a8099ac26d22e55d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
/*
 * Copyright (c) 2003 - 2004, NVIDIA CORPORATION. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 * DEALINGS IN THE SOFTWARE.
 */

#ifndef _cl_nv50_twod_h_
#define _cl_nv50_twod_h_

#define NV502D_SET_OBJECT                                                                                  0x0000
#define NV502D_SET_OBJECT_POINTER                                                                            15:0

#define NV502D_WAIT_FOR_IDLE                                                                               0x0110
#define NV502D_WAIT_FOR_IDLE_V                                                                               31:0

#define NV502D_SET_DST_CONTEXT_DMA                                                                         0x0184
#define NV502D_SET_DST_CONTEXT_DMA_HANDLE                                                                    31:0

#define NV502D_SET_SRC_CONTEXT_DMA                                                                         0x0188
#define NV502D_SET_SRC_CONTEXT_DMA_HANDLE                                                                    31:0

#define NV502D_SET_SEMAPHORE_CONTEXT_DMA                                                                   0x018c
#define NV502D_SET_SEMAPHORE_CONTEXT_DMA_HANDLE                                                              31:0

#define NV502D_SET_DST_FORMAT                                                                              0x0200
#define NV502D_SET_DST_FORMAT_V                                                                               7:0
#define NV502D_SET_DST_FORMAT_V_A8R8G8B8                                                               0x000000CF
#define NV502D_SET_DST_FORMAT_V_A8RL8GL8BL8                                                            0x000000D0
#define NV502D_SET_DST_FORMAT_V_A2R10G10B10                                                            0x000000DF
#define NV502D_SET_DST_FORMAT_V_A8B8G8R8                                                               0x000000D5
#define NV502D_SET_DST_FORMAT_V_A8BL8GL8RL8                                                            0x000000D6
#define NV502D_SET_DST_FORMAT_V_A2B10G10R10                                                            0x000000D1
#define NV502D_SET_DST_FORMAT_V_X8R8G8B8                                                               0x000000E6
#define NV502D_SET_DST_FORMAT_V_X8RL8GL8BL8                                                            0x000000E7
#define NV502D_SET_DST_FORMAT_V_X8B8G8R8                                                               0x000000F9
#define NV502D_SET_DST_FORMAT_V_X8BL8GL8RL8                                                            0x000000FA
#define NV502D_SET_DST_FORMAT_V_R5G6B5                                                                 0x000000E8
#define NV502D_SET_DST_FORMAT_V_A1R5G5B5                                                               0x000000E9
#define NV502D_SET_DST_FORMAT_V_X1R5G5B5                                                               0x000000F8
#define NV502D_SET_DST_FORMAT_V_Y8                                                                     0x000000F3
#define NV502D_SET_DST_FORMAT_V_Y16                                                                    0x000000EE
#define NV502D_SET_DST_FORMAT_V_Y32                                                                    0x000000FF
#define NV502D_SET_DST_FORMAT_V_Z1R5G5B5                                                               0x000000FB
#define NV502D_SET_DST_FORMAT_V_O1R5G5B5                                                               0x000000FC
#define NV502D_SET_DST_FORMAT_V_Z8R8G8B8                                                               0x000000FD
#define NV502D_SET_DST_FORMAT_V_O8R8G8B8                                                               0x000000FE
#define NV502D_SET_DST_FORMAT_V_Y1_8X8                                                                 0x0000001C
#define NV502D_SET_DST_FORMAT_V_RF16                                                                   0x000000F2
#define NV502D_SET_DST_FORMAT_V_RF32                                                                   0x000000E5
#define NV502D_SET_DST_FORMAT_V_RF32_GF32                                                              0x000000CB
#define NV502D_SET_DST_FORMAT_V_RF16_GF16_BF16_AF16                                                    0x000000CA
#define NV502D_SET_DST_FORMAT_V_RF16_GF16_BF16_X16                                                     0x000000CE
#define NV502D_SET_DST_FORMAT_V_RF32_GF32_BF32_AF32                                                    0x000000C0
#define NV502D_SET_DST_FORMAT_V_RF32_GF32_BF32_X32                                                     0x000000C3

#define NV502D_SET_DST_MEMORY_LAYOUT                                                                       0x0204
#define NV502D_SET_DST_MEMORY_LAYOUT_V                                                                        0:0
#define NV502D_SET_DST_MEMORY_LAYOUT_V_BLOCKLINEAR                                                     0x00000000
#define NV502D_SET_DST_MEMORY_LAYOUT_V_PITCH                                                           0x00000001

#define NV502D_SET_DST_PITCH                                                                               0x0214
#define NV502D_SET_DST_PITCH_V                                                                               31:0

#define NV502D_SET_DST_WIDTH                                                                               0x0218
#define NV502D_SET_DST_WIDTH_V                                                                               31:0

#define NV502D_SET_DST_HEIGHT                                                                              0x021c
#define NV502D_SET_DST_HEIGHT_V                                                                              31:0

#define NV502D_SET_DST_OFFSET_UPPER                                                                        0x0220
#define NV502D_SET_DST_OFFSET_UPPER_V                                                                         7:0

#define NV502D_SET_DST_OFFSET_LOWER                                                                        0x0224
#define NV502D_SET_DST_OFFSET_LOWER_V                                                                        31:0

#define NV502D_SET_SRC_FORMAT                                                                              0x0230
#define NV502D_SET_SRC_FORMAT_V                                                                               7:0
#define NV502D_SET_SRC_FORMAT_V_A8R8G8B8                                                               0x000000CF
#define NV502D_SET_SRC_FORMAT_V_A8RL8GL8BL8                                                            0x000000D0
#define NV502D_SET_SRC_FORMAT_V_A2R10G10B10                                                            0x000000DF
#define NV502D_SET_SRC_FORMAT_V_A8B8G8R8                                                               0x000000D5
#define NV502D_SET_SRC_FORMAT_V_A8BL8GL8RL8                                                            0x000000D6
#define NV502D_SET_SRC_FORMAT_V_A2B10G10R10                                                            0x000000D1
#define NV502D_SET_SRC_FORMAT_V_X8R8G8B8                                                               0x000000E6
#define NV502D_SET_SRC_FORMAT_V_X8RL8GL8BL8                                                            0x000000E7
#define NV502D_SET_SRC_FORMAT_V_X8B8G8R8                                                               0x000000F9
#define NV502D_SET_SRC_FORMAT_V_X8BL8GL8RL8                                                            0x000000FA
#define NV502D_SET_SRC_FORMAT_V_R5G6B5                                                                 0x000000E8
#define NV502D_SET_SRC_FORMAT_V_A1R5G5B5                                                               0x000000E9
#define NV502D_SET_SRC_FORMAT_V_X1R5G5B5                                                               0x000000F8
#define NV502D_SET_SRC_FORMAT_V_Y8                                                                     0x000000F3
#define NV502D_SET_SRC_FORMAT_V_AY8                                                                    0x0000001D
#define NV502D_SET_SRC_FORMAT_V_Y16                                                                    0x000000EE
#define NV502D_SET_SRC_FORMAT_V_Y32                                                                    0x000000FF
#define NV502D_SET_SRC_FORMAT_V_Z1R5G5B5                                                               0x000000FB
#define NV502D_SET_SRC_FORMAT_V_O1R5G5B5                                                               0x000000FC
#define NV502D_SET_SRC_FORMAT_V_Z8R8G8B8                                                               0x000000FD
#define NV502D_SET_SRC_FORMAT_V_O8R8G8B8                                                               0x000000FE
#define NV502D_SET_SRC_FORMAT_V_Y1_8X8                                                                 0x0000001C
#define NV502D_SET_SRC_FORMAT_V_RF16                                                                   0x000000F2
#define NV502D_SET_SRC_FORMAT_V_RF32                                                                   0x000000E5
#define NV502D_SET_SRC_FORMAT_V_RF32_GF32                                                              0x000000CB
#define NV502D_SET_SRC_FORMAT_V_RF16_GF16_BF16_AF16                                                    0x000000CA
#define NV502D_SET_SRC_FORMAT_V_RF16_GF16_BF16_X16                                                     0x000000CE
#define NV502D_SET_SRC_FORMAT_V_RF32_GF32_BF32_AF32                                                    0x000000C0
#define NV502D_SET_SRC_FORMAT_V_RF32_GF32_BF32_X32                                                     0x000000C3

#define NV502D_SET_SRC_MEMORY_LAYOUT                                                                       0x0234
#define NV502D_SET_SRC_MEMORY_LAYOUT_V                                                                        0:0
#define NV502D_SET_SRC_MEMORY_LAYOUT_V_BLOCKLINEAR                                                     0x00000000
#define NV502D_SET_SRC_MEMORY_LAYOUT_V_PITCH                                                           0x00000001

#define NV502D_SET_SRC_PITCH                                                                               0x0244
#define NV502D_SET_SRC_PITCH_V                                                                               31:0

#define NV502D_SET_SRC_WIDTH                                                                               0x0248
#define NV502D_SET_SRC_WIDTH_V                                                                               31:0

#define NV502D_SET_SRC_HEIGHT                                                                              0x024c
#define NV502D_SET_SRC_HEIGHT_V                                                                              31:0

#define NV502D_SET_SRC_OFFSET_UPPER                                                                        0x0250
#define NV502D_SET_SRC_OFFSET_UPPER_V                                                                         7:0

#define NV502D_SET_SRC_OFFSET_LOWER                                                                        0x0254
#define NV502D_SET_SRC_OFFSET_LOWER_V                                                                        31:0

#define NV502D_SET_CLIP_ENABLE                                                                             0x0290
#define NV502D_SET_CLIP_ENABLE_V                                                                              0:0
#define NV502D_SET_CLIP_ENABLE_V_FALSE                                                                 0x00000000
#define NV502D_SET_CLIP_ENABLE_V_TRUE                                                                  0x00000001

#define NV502D_SET_ROP                                                                                     0x02a0
#define NV502D_SET_ROP_V                                                                                      7:0

#define NV502D_SET_OPERATION                                                                               0x02ac
#define NV502D_SET_OPERATION_V                                                                                2:0
#define NV502D_SET_OPERATION_V_SRCCOPY_AND                                                             0x00000000
#define NV502D_SET_OPERATION_V_ROP_AND                                                                 0x00000001
#define NV502D_SET_OPERATION_V_BLEND_AND                                                               0x00000002
#define NV502D_SET_OPERATION_V_SRCCOPY                                                                 0x00000003
#define NV502D_SET_OPERATION_V_ROP                                                                     0x00000004
#define NV502D_SET_OPERATION_V_SRCCOPY_PREMULT                                                         0x00000005
#define NV502D_SET_OPERATION_V_BLEND_PREMULT                                                           0x00000006

#define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT                                                         0x02e8
#define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V                                                          2:0
#define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8X8R5G6B5                                        0x00000000
#define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A1R5G5B5                                          0x00000001
#define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8R8G8B8                                          0x00000002
#define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8Y8                                              0x00000003
#define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8X8Y16                                           0x00000004
#define NV502D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_Y32                                               0x00000005

#define NV502D_SET_MONOCHROME_PATTERN_FORMAT                                                               0x02ec
#define NV502D_SET_MONOCHROME_PATTERN_FORMAT_V                                                                0:0
#define NV502D_SET_MONOCHROME_PATTERN_FORMAT_V_CGA6_M1                                                 0x00000000
#define NV502D_SET_MONOCHROME_PATTERN_FORMAT_V_LE_M1                                                   0x00000001

#define NV502D_RENDER_SOLID_PRIM_MODE                                                                      0x0580
#define NV502D_RENDER_SOLID_PRIM_MODE_V                                                                       2:0
#define NV502D_RENDER_SOLID_PRIM_MODE_V_POINTS                                                         0x00000000
#define NV502D_RENDER_SOLID_PRIM_MODE_V_LINES                                                          0x00000001
#define NV502D_RENDER_SOLID_PRIM_MODE_V_POLYLINE                                                       0x00000002
#define NV502D_RENDER_SOLID_PRIM_MODE_V_TRIANGLES                                                      0x00000003
#define NV502D_RENDER_SOLID_PRIM_MODE_V_RECTS                                                          0x00000004

#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT                                                          0x0584
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V                                                           7:0
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A8R8G8B8                                           0x000000CF
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A2R10G10B10                                        0x000000DF
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A8B8G8R8                                           0x000000D5
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A2B10G10R10                                        0x000000D1
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_X8R8G8B8                                           0x000000E6
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_X8B8G8R8                                           0x000000F9
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_R5G6B5                                             0x000000E8
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A1R5G5B5                                           0x000000E9
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_X1R5G5B5                                           0x000000F8
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Y8                                                 0x000000F3
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Y16                                                0x000000EE
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Y32                                                0x000000FF
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Z1R5G5B5                                           0x000000FB
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_O1R5G5B5                                           0x000000FC
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Z8R8G8B8                                           0x000000FD
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_O8R8G8B8                                           0x000000FE

#define NV502D_SET_RENDER_SOLID_PRIM_COLOR                                                                 0x0588
#define NV502D_SET_RENDER_SOLID_PRIM_COLOR_V                                                                 31:0

#define NV502D_RENDER_SOLID_PRIM_POINT_SET_X(j)                                                    (0x0600+(j)*8)
#define NV502D_RENDER_SOLID_PRIM_POINT_SET_X_V                                                               31:0

#define NV502D_RENDER_SOLID_PRIM_POINT_Y(j)                                                        (0x0604+(j)*8)
#define NV502D_RENDER_SOLID_PRIM_POINT_Y_V                                                                   31:0

#define NV502D_SET_PIXELS_FROM_CPU_DATA_TYPE                                                               0x0800
#define NV502D_SET_PIXELS_FROM_CPU_DATA_TYPE_V                                                                0:0
#define NV502D_SET_PIXELS_FROM_CPU_DATA_TYPE_V_COLOR                                                   0x00000000
#define NV502D_SET_PIXELS_FROM_CPU_DATA_TYPE_V_INDEX                                                   0x00000001

#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT                                                            0x0804
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V                                                             7:0
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A8R8G8B8                                             0x000000CF
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A2R10G10B10                                          0x000000DF
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A8B8G8R8                                             0x000000D5
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A2B10G10R10                                          0x000000D1
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_X8R8G8B8                                             0x000000E6
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_X8B8G8R8                                             0x000000F9
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_R5G6B5                                               0x000000E8
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A1R5G5B5                                             0x000000E9
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_X1R5G5B5                                             0x000000F8
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Y8                                                   0x000000F3
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Y16                                                  0x000000EE
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Y32                                                  0x000000FF
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Z1R5G5B5                                             0x000000FB
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_O1R5G5B5                                             0x000000FC
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Z8R8G8B8                                             0x000000FD
#define NV502D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_O8R8G8B8                                             0x000000FE

#define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT                                                            0x0808
#define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V                                                             1:0
#define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V_I1                                                   0x00000000
#define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V_I4                                                   0x00000001
#define NV502D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V_I8                                                   0x00000002

#define NV502D_SET_PIXELS_FROM_CPU_MONO_FORMAT                                                             0x080c
#define NV502D_SET_PIXELS_FROM_CPU_MONO_FORMAT_V                                                              0:0
#define NV502D_SET_PIXELS_FROM_CPU_MONO_FORMAT_V_CGA6_M1                                               0x00000000
#define NV502D_SET_PIXELS_FROM_CPU_MONO_FORMAT_V_LE_M1                                                 0x00000001

#define NV502D_SET_PIXELS_FROM_CPU_WRAP                                                                    0x0810
#define NV502D_SET_PIXELS_FROM_CPU_WRAP_V                                                                     1:0
#define NV502D_SET_PIXELS_FROM_CPU_WRAP_V_WRAP_PIXEL                                                   0x00000000
#define NV502D_SET_PIXELS_FROM_CPU_WRAP_V_WRAP_BYTE                                                    0x00000001
#define NV502D_SET_PIXELS_FROM_CPU_WRAP_V_WRAP_DWORD                                                   0x00000002

#define NV502D_SET_PIXELS_FROM_CPU_COLOR0                                                                  0x0814
#define NV502D_SET_PIXELS_FROM_CPU_COLOR0_V                                                                  31:0

#define NV502D_SET_PIXELS_FROM_CPU_COLOR1                                                                  0x0818
#define NV502D_SET_PIXELS_FROM_CPU_COLOR1_V                                                                  31:0

#define NV502D_SET_PIXELS_FROM_CPU_MONO_OPACITY                                                            0x081c
#define NV502D_SET_PIXELS_FROM_CPU_MONO_OPACITY_V                                                             0:0
#define NV502D_SET_PIXELS_FROM_CPU_MONO_OPACITY_V_TRANSPARENT                                          0x00000000
#define NV502D_SET_PIXELS_FROM_CPU_MONO_OPACITY_V_OPAQUE                                               0x00000001

#define NV502D_SET_PIXELS_FROM_CPU_SRC_WIDTH                                                               0x0838
#define NV502D_SET_PIXELS_FROM_CPU_SRC_WIDTH_V                                                               31:0

#define NV502D_SET_PIXELS_FROM_CPU_SRC_HEIGHT                                                              0x083c
#define NV502D_SET_PIXELS_FROM_CPU_SRC_HEIGHT_V                                                              31:0

#define NV502D_SET_PIXELS_FROM_CPU_DX_DU_FRAC                                                              0x0840
#define NV502D_SET_PIXELS_FROM_CPU_DX_DU_FRAC_V                                                              31:0

#define NV502D_SET_PIXELS_FROM_CPU_DX_DU_INT                                                               0x0844
#define NV502D_SET_PIXELS_FROM_CPU_DX_DU_INT_V                                                               31:0

#define NV502D_SET_PIXELS_FROM_CPU_DY_DV_FRAC                                                              0x0848
#define NV502D_SET_PIXELS_FROM_CPU_DY_DV_FRAC_V                                                              31:0

#define NV502D_SET_PIXELS_FROM_CPU_DY_DV_INT                                                               0x084c
#define NV502D_SET_PIXELS_FROM_CPU_DY_DV_INT_V                                                               31:0

#define NV502D_SET_PIXELS_FROM_CPU_DST_X0_FRAC                                                             0x0850
#define NV502D_SET_PIXELS_FROM_CPU_DST_X0_FRAC_V                                                             31:0

#define NV502D_SET_PIXELS_FROM_CPU_DST_X0_INT                                                              0x0854
#define NV502D_SET_PIXELS_FROM_CPU_DST_X0_INT_V                                                              31:0

#define NV502D_SET_PIXELS_FROM_CPU_DST_Y0_FRAC                                                             0x0858
#define NV502D_SET_PIXELS_FROM_CPU_DST_Y0_FRAC_V                                                             31:0

#define NV502D_SET_PIXELS_FROM_CPU_DST_Y0_INT                                                              0x085c
#define NV502D_SET_PIXELS_FROM_CPU_DST_Y0_INT_V                                                              31:0

#define NV502D_PIXELS_FROM_CPU_DATA                                                                        0x0860
#define NV502D_PIXELS_FROM_CPU_DATA_V                                                                        31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP                                                         0x0888
#define NV502D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP_V                                                          0:0
#define NV502D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP_V_FALSE                                             0x00000000
#define NV502D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP_V_TRUE                                              0x00000001

#define NV502D_SET_PIXELS_FROM_MEMORY_DST_X0                                                               0x08b0
#define NV502D_SET_PIXELS_FROM_MEMORY_DST_X0_V                                                               31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_DST_Y0                                                               0x08b4
#define NV502D_SET_PIXELS_FROM_MEMORY_DST_Y0_V                                                               31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_DST_WIDTH                                                            0x08b8
#define NV502D_SET_PIXELS_FROM_MEMORY_DST_WIDTH_V                                                            31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_DST_HEIGHT                                                           0x08bc
#define NV502D_SET_PIXELS_FROM_MEMORY_DST_HEIGHT_V                                                           31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_DU_DX_FRAC                                                           0x08c0
#define NV502D_SET_PIXELS_FROM_MEMORY_DU_DX_FRAC_V                                                           31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_DU_DX_INT                                                            0x08c4
#define NV502D_SET_PIXELS_FROM_MEMORY_DU_DX_INT_V                                                            31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_DV_DY_FRAC                                                           0x08c8
#define NV502D_SET_PIXELS_FROM_MEMORY_DV_DY_FRAC_V                                                           31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_DV_DY_INT                                                            0x08cc
#define NV502D_SET_PIXELS_FROM_MEMORY_DV_DY_INT_V                                                            31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_SRC_X0_FRAC                                                          0x08d0
#define NV502D_SET_PIXELS_FROM_MEMORY_SRC_X0_FRAC_V                                                          31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_SRC_X0_INT                                                           0x08d4
#define NV502D_SET_PIXELS_FROM_MEMORY_SRC_X0_INT_V                                                           31:0

#define NV502D_SET_PIXELS_FROM_MEMORY_SRC_Y0_FRAC                                                          0x08d8
#define NV502D_SET_PIXELS_FROM_MEMORY_SRC_Y0_FRAC_V                                                          31:0

#define NV502D_PIXELS_FROM_MEMORY_SRC_Y0_INT                                                               0x08dc
#define NV502D_PIXELS_FROM_MEMORY_SRC_Y0_INT_V                                                               31:0
#endif /* _cl_nv50_twod_h_ */