cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

cl902d.h (32538B)


      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_fermi_twod_a_h_
     24#define _cl_fermi_twod_a_h_
     25
     26#define NV902D_SET_OBJECT                                                                                  0x0000
     27#define NV902D_SET_OBJECT_CLASS_ID                                                                           15:0
     28#define NV902D_SET_OBJECT_ENGINE_ID                                                                         20:16
     29
     30#define NV902D_WAIT_FOR_IDLE                                                                               0x0110
     31#define NV902D_WAIT_FOR_IDLE_V                                                                               31:0
     32
     33#define NV902D_SET_DST_FORMAT                                                                              0x0200
     34#define NV902D_SET_DST_FORMAT_V                                                                               7:0
     35#define NV902D_SET_DST_FORMAT_V_A8R8G8B8                                                               0x000000CF
     36#define NV902D_SET_DST_FORMAT_V_A8RL8GL8BL8                                                            0x000000D0
     37#define NV902D_SET_DST_FORMAT_V_A2R10G10B10                                                            0x000000DF
     38#define NV902D_SET_DST_FORMAT_V_A8B8G8R8                                                               0x000000D5
     39#define NV902D_SET_DST_FORMAT_V_A8BL8GL8RL8                                                            0x000000D6
     40#define NV902D_SET_DST_FORMAT_V_A2B10G10R10                                                            0x000000D1
     41#define NV902D_SET_DST_FORMAT_V_X8R8G8B8                                                               0x000000E6
     42#define NV902D_SET_DST_FORMAT_V_X8RL8GL8BL8                                                            0x000000E7
     43#define NV902D_SET_DST_FORMAT_V_X8B8G8R8                                                               0x000000F9
     44#define NV902D_SET_DST_FORMAT_V_X8BL8GL8RL8                                                            0x000000FA
     45#define NV902D_SET_DST_FORMAT_V_R5G6B5                                                                 0x000000E8
     46#define NV902D_SET_DST_FORMAT_V_A1R5G5B5                                                               0x000000E9
     47#define NV902D_SET_DST_FORMAT_V_X1R5G5B5                                                               0x000000F8
     48#define NV902D_SET_DST_FORMAT_V_Y8                                                                     0x000000F3
     49#define NV902D_SET_DST_FORMAT_V_Y16                                                                    0x000000EE
     50#define NV902D_SET_DST_FORMAT_V_Y32                                                                    0x000000FF
     51#define NV902D_SET_DST_FORMAT_V_Z1R5G5B5                                                               0x000000FB
     52#define NV902D_SET_DST_FORMAT_V_O1R5G5B5                                                               0x000000FC
     53#define NV902D_SET_DST_FORMAT_V_Z8R8G8B8                                                               0x000000FD
     54#define NV902D_SET_DST_FORMAT_V_O8R8G8B8                                                               0x000000FE
     55#define NV902D_SET_DST_FORMAT_V_Y1_8X8                                                                 0x0000001C
     56#define NV902D_SET_DST_FORMAT_V_RF16                                                                   0x000000F2
     57#define NV902D_SET_DST_FORMAT_V_RF32                                                                   0x000000E5
     58#define NV902D_SET_DST_FORMAT_V_RF32_GF32                                                              0x000000CB
     59#define NV902D_SET_DST_FORMAT_V_RF16_GF16_BF16_AF16                                                    0x000000CA
     60#define NV902D_SET_DST_FORMAT_V_RF16_GF16_BF16_X16                                                     0x000000CE
     61#define NV902D_SET_DST_FORMAT_V_RF32_GF32_BF32_AF32                                                    0x000000C0
     62#define NV902D_SET_DST_FORMAT_V_RF32_GF32_BF32_X32                                                     0x000000C3
     63#define NV902D_SET_DST_FORMAT_V_R16_G16_B16_A16                                                        0x000000C6
     64#define NV902D_SET_DST_FORMAT_V_RN16_GN16_BN16_AN16                                                    0x000000C7
     65#define NV902D_SET_DST_FORMAT_V_BF10GF11RF11                                                           0x000000E0
     66#define NV902D_SET_DST_FORMAT_V_AN8BN8GN8RN8                                                           0x000000D7
     67#define NV902D_SET_DST_FORMAT_V_RF16_GF16                                                              0x000000DE
     68#define NV902D_SET_DST_FORMAT_V_R16_G16                                                                0x000000DA
     69#define NV902D_SET_DST_FORMAT_V_RN16_GN16                                                              0x000000DB
     70#define NV902D_SET_DST_FORMAT_V_G8R8                                                                   0x000000EA
     71#define NV902D_SET_DST_FORMAT_V_GN8RN8                                                                 0x000000EB
     72#define NV902D_SET_DST_FORMAT_V_RN16                                                                   0x000000EF
     73#define NV902D_SET_DST_FORMAT_V_RN8                                                                    0x000000F4
     74#define NV902D_SET_DST_FORMAT_V_A8                                                                     0x000000F7
     75
     76#define NV902D_SET_DST_MEMORY_LAYOUT                                                                       0x0204
     77#define NV902D_SET_DST_MEMORY_LAYOUT_V                                                                        0:0
     78#define NV902D_SET_DST_MEMORY_LAYOUT_V_BLOCKLINEAR                                                     0x00000000
     79#define NV902D_SET_DST_MEMORY_LAYOUT_V_PITCH                                                           0x00000001
     80
     81#define NV902D_SET_DST_PITCH                                                                               0x0214
     82#define NV902D_SET_DST_PITCH_V                                                                               31:0
     83
     84#define NV902D_SET_DST_WIDTH                                                                               0x0218
     85#define NV902D_SET_DST_WIDTH_V                                                                               31:0
     86
     87#define NV902D_SET_DST_HEIGHT                                                                              0x021c
     88#define NV902D_SET_DST_HEIGHT_V                                                                              31:0
     89
     90#define NV902D_SET_DST_OFFSET_UPPER                                                                        0x0220
     91#define NV902D_SET_DST_OFFSET_UPPER_V                                                                         7:0
     92
     93#define NV902D_SET_DST_OFFSET_LOWER                                                                        0x0224
     94#define NV902D_SET_DST_OFFSET_LOWER_V                                                                        31:0
     95
     96#define NV902D_SET_SRC_FORMAT                                                                              0x0230
     97#define NV902D_SET_SRC_FORMAT_V                                                                               7:0
     98#define NV902D_SET_SRC_FORMAT_V_A8R8G8B8                                                               0x000000CF
     99#define NV902D_SET_SRC_FORMAT_V_A8RL8GL8BL8                                                            0x000000D0
    100#define NV902D_SET_SRC_FORMAT_V_A2R10G10B10                                                            0x000000DF
    101#define NV902D_SET_SRC_FORMAT_V_A8B8G8R8                                                               0x000000D5
    102#define NV902D_SET_SRC_FORMAT_V_A8BL8GL8RL8                                                            0x000000D6
    103#define NV902D_SET_SRC_FORMAT_V_A2B10G10R10                                                            0x000000D1
    104#define NV902D_SET_SRC_FORMAT_V_X8R8G8B8                                                               0x000000E6
    105#define NV902D_SET_SRC_FORMAT_V_X8RL8GL8BL8                                                            0x000000E7
    106#define NV902D_SET_SRC_FORMAT_V_X8B8G8R8                                                               0x000000F9
    107#define NV902D_SET_SRC_FORMAT_V_X8BL8GL8RL8                                                            0x000000FA
    108#define NV902D_SET_SRC_FORMAT_V_R5G6B5                                                                 0x000000E8
    109#define NV902D_SET_SRC_FORMAT_V_A1R5G5B5                                                               0x000000E9
    110#define NV902D_SET_SRC_FORMAT_V_X1R5G5B5                                                               0x000000F8
    111#define NV902D_SET_SRC_FORMAT_V_Y8                                                                     0x000000F3
    112#define NV902D_SET_SRC_FORMAT_V_AY8                                                                    0x0000001D
    113#define NV902D_SET_SRC_FORMAT_V_Y16                                                                    0x000000EE
    114#define NV902D_SET_SRC_FORMAT_V_Y32                                                                    0x000000FF
    115#define NV902D_SET_SRC_FORMAT_V_Z1R5G5B5                                                               0x000000FB
    116#define NV902D_SET_SRC_FORMAT_V_O1R5G5B5                                                               0x000000FC
    117#define NV902D_SET_SRC_FORMAT_V_Z8R8G8B8                                                               0x000000FD
    118#define NV902D_SET_SRC_FORMAT_V_O8R8G8B8                                                               0x000000FE
    119#define NV902D_SET_SRC_FORMAT_V_Y1_8X8                                                                 0x0000001C
    120#define NV902D_SET_SRC_FORMAT_V_RF16                                                                   0x000000F2
    121#define NV902D_SET_SRC_FORMAT_V_RF32                                                                   0x000000E5
    122#define NV902D_SET_SRC_FORMAT_V_RF32_GF32                                                              0x000000CB
    123#define NV902D_SET_SRC_FORMAT_V_RF16_GF16_BF16_AF16                                                    0x000000CA
    124#define NV902D_SET_SRC_FORMAT_V_RF16_GF16_BF16_X16                                                     0x000000CE
    125#define NV902D_SET_SRC_FORMAT_V_RF32_GF32_BF32_AF32                                                    0x000000C0
    126#define NV902D_SET_SRC_FORMAT_V_RF32_GF32_BF32_X32                                                     0x000000C3
    127#define NV902D_SET_SRC_FORMAT_V_R16_G16_B16_A16                                                        0x000000C6
    128#define NV902D_SET_SRC_FORMAT_V_RN16_GN16_BN16_AN16                                                    0x000000C7
    129#define NV902D_SET_SRC_FORMAT_V_BF10GF11RF11                                                           0x000000E0
    130#define NV902D_SET_SRC_FORMAT_V_AN8BN8GN8RN8                                                           0x000000D7
    131#define NV902D_SET_SRC_FORMAT_V_RF16_GF16                                                              0x000000DE
    132#define NV902D_SET_SRC_FORMAT_V_R16_G16                                                                0x000000DA
    133#define NV902D_SET_SRC_FORMAT_V_RN16_GN16                                                              0x000000DB
    134#define NV902D_SET_SRC_FORMAT_V_G8R8                                                                   0x000000EA
    135#define NV902D_SET_SRC_FORMAT_V_GN8RN8                                                                 0x000000EB
    136#define NV902D_SET_SRC_FORMAT_V_RN16                                                                   0x000000EF
    137#define NV902D_SET_SRC_FORMAT_V_RN8                                                                    0x000000F4
    138#define NV902D_SET_SRC_FORMAT_V_A8                                                                     0x000000F7
    139
    140#define NV902D_SET_SRC_MEMORY_LAYOUT                                                                       0x0234
    141#define NV902D_SET_SRC_MEMORY_LAYOUT_V                                                                        0:0
    142#define NV902D_SET_SRC_MEMORY_LAYOUT_V_BLOCKLINEAR                                                     0x00000000
    143#define NV902D_SET_SRC_MEMORY_LAYOUT_V_PITCH                                                           0x00000001
    144
    145#define NV902D_SET_SRC_PITCH                                                                               0x0244
    146#define NV902D_SET_SRC_PITCH_V                                                                               31:0
    147
    148#define NV902D_SET_SRC_WIDTH                                                                               0x0248
    149#define NV902D_SET_SRC_WIDTH_V                                                                               31:0
    150
    151#define NV902D_SET_SRC_HEIGHT                                                                              0x024c
    152#define NV902D_SET_SRC_HEIGHT_V                                                                              31:0
    153
    154#define NV902D_SET_SRC_OFFSET_UPPER                                                                        0x0250
    155#define NV902D_SET_SRC_OFFSET_UPPER_V                                                                         7:0
    156
    157#define NV902D_SET_SRC_OFFSET_LOWER                                                                        0x0254
    158#define NV902D_SET_SRC_OFFSET_LOWER_V                                                                        31:0
    159
    160#define NV902D_SET_CLIP_ENABLE                                                                             0x0290
    161#define NV902D_SET_CLIP_ENABLE_V                                                                              0:0
    162#define NV902D_SET_CLIP_ENABLE_V_FALSE                                                                 0x00000000
    163#define NV902D_SET_CLIP_ENABLE_V_TRUE                                                                  0x00000001
    164
    165#define NV902D_SET_ROP                                                                                     0x02a0
    166#define NV902D_SET_ROP_V                                                                                      7:0
    167
    168#define NV902D_SET_OPERATION                                                                               0x02ac
    169#define NV902D_SET_OPERATION_V                                                                                2:0
    170#define NV902D_SET_OPERATION_V_SRCCOPY_AND                                                             0x00000000
    171#define NV902D_SET_OPERATION_V_ROP_AND                                                                 0x00000001
    172#define NV902D_SET_OPERATION_V_BLEND_AND                                                               0x00000002
    173#define NV902D_SET_OPERATION_V_SRCCOPY                                                                 0x00000003
    174#define NV902D_SET_OPERATION_V_ROP                                                                     0x00000004
    175#define NV902D_SET_OPERATION_V_SRCCOPY_PREMULT                                                         0x00000005
    176#define NV902D_SET_OPERATION_V_BLEND_PREMULT                                                           0x00000006
    177
    178#define NV902D_SET_MONOCHROME_PATTERN_COLOR_FORMAT                                                         0x02e8
    179#define NV902D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V                                                          2:0
    180#define NV902D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8X8R5G6B5                                        0x00000000
    181#define NV902D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A1R5G5B5                                          0x00000001
    182#define NV902D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8R8G8B8                                          0x00000002
    183#define NV902D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8Y8                                              0x00000003
    184#define NV902D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_A8X8Y16                                           0x00000004
    185#define NV902D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_Y32                                               0x00000005
    186#define NV902D_SET_MONOCHROME_PATTERN_COLOR_FORMAT_V_BYTE_EXPAND                                       0x00000006
    187
    188#define NV902D_SET_MONOCHROME_PATTERN_FORMAT                                                               0x02ec
    189#define NV902D_SET_MONOCHROME_PATTERN_FORMAT_V                                                                0:0
    190#define NV902D_SET_MONOCHROME_PATTERN_FORMAT_V_CGA6_M1                                                 0x00000000
    191#define NV902D_SET_MONOCHROME_PATTERN_FORMAT_V_LE_M1                                                   0x00000001
    192
    193#define NV902D_RENDER_SOLID_PRIM_MODE                                                                      0x0580
    194#define NV902D_RENDER_SOLID_PRIM_MODE_V                                                                       2:0
    195#define NV902D_RENDER_SOLID_PRIM_MODE_V_POINTS                                                         0x00000000
    196#define NV902D_RENDER_SOLID_PRIM_MODE_V_LINES                                                          0x00000001
    197#define NV902D_RENDER_SOLID_PRIM_MODE_V_POLYLINE                                                       0x00000002
    198#define NV902D_RENDER_SOLID_PRIM_MODE_V_TRIANGLES                                                      0x00000003
    199#define NV902D_RENDER_SOLID_PRIM_MODE_V_RECTS                                                          0x00000004
    200
    201#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT                                                          0x0584
    202#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V                                                           7:0
    203#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_RF32_GF32_BF32_AF32                                0x000000C0
    204#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_RF16_GF16_BF16_AF16                                0x000000CA
    205#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_RF32_GF32                                          0x000000CB
    206#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A8R8G8B8                                           0x000000CF
    207#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A2R10G10B10                                        0x000000DF
    208#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A8B8G8R8                                           0x000000D5
    209#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A2B10G10R10                                        0x000000D1
    210#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_X8R8G8B8                                           0x000000E6
    211#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_X8B8G8R8                                           0x000000F9
    212#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_R5G6B5                                             0x000000E8
    213#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_A1R5G5B5                                           0x000000E9
    214#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_X1R5G5B5                                           0x000000F8
    215#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Y8                                                 0x000000F3
    216#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Y16                                                0x000000EE
    217#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Y32                                                0x000000FF
    218#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Z1R5G5B5                                           0x000000FB
    219#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_O1R5G5B5                                           0x000000FC
    220#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_Z8R8G8B8                                           0x000000FD
    221#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_FORMAT_V_O8R8G8B8                                           0x000000FE
    222
    223#define NV902D_SET_RENDER_SOLID_PRIM_COLOR                                                                 0x0588
    224#define NV902D_SET_RENDER_SOLID_PRIM_COLOR_V                                                                 31:0
    225
    226#define NV902D_RENDER_SOLID_PRIM_POINT_SET_X(j)                                                    (0x0600+(j)*8)
    227#define NV902D_RENDER_SOLID_PRIM_POINT_SET_X_V                                                               31:0
    228
    229#define NV902D_RENDER_SOLID_PRIM_POINT_Y(j)                                                        (0x0604+(j)*8)
    230#define NV902D_RENDER_SOLID_PRIM_POINT_Y_V                                                                   31:0
    231
    232#define NV902D_SET_PIXELS_FROM_CPU_DATA_TYPE                                                               0x0800
    233#define NV902D_SET_PIXELS_FROM_CPU_DATA_TYPE_V                                                                0:0
    234#define NV902D_SET_PIXELS_FROM_CPU_DATA_TYPE_V_COLOR                                                   0x00000000
    235#define NV902D_SET_PIXELS_FROM_CPU_DATA_TYPE_V_INDEX                                                   0x00000001
    236
    237#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT                                                            0x0804
    238#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V                                                             7:0
    239#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A8R8G8B8                                             0x000000CF
    240#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A2R10G10B10                                          0x000000DF
    241#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A8B8G8R8                                             0x000000D5
    242#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A2B10G10R10                                          0x000000D1
    243#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_X8R8G8B8                                             0x000000E6
    244#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_X8B8G8R8                                             0x000000F9
    245#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_R5G6B5                                               0x000000E8
    246#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_A1R5G5B5                                             0x000000E9
    247#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_X1R5G5B5                                             0x000000F8
    248#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Y8                                                   0x000000F3
    249#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Y16                                                  0x000000EE
    250#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Y32                                                  0x000000FF
    251#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Z1R5G5B5                                             0x000000FB
    252#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_O1R5G5B5                                             0x000000FC
    253#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_Z8R8G8B8                                             0x000000FD
    254#define NV902D_SET_PIXELS_FROM_CPU_COLOR_FORMAT_V_O8R8G8B8                                             0x000000FE
    255
    256#define NV902D_SET_PIXELS_FROM_CPU_INDEX_FORMAT                                                            0x0808
    257#define NV902D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V                                                             1:0
    258#define NV902D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V_I1                                                   0x00000000
    259#define NV902D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V_I4                                                   0x00000001
    260#define NV902D_SET_PIXELS_FROM_CPU_INDEX_FORMAT_V_I8                                                   0x00000002
    261
    262#define NV902D_SET_PIXELS_FROM_CPU_MONO_FORMAT                                                             0x080c
    263#define NV902D_SET_PIXELS_FROM_CPU_MONO_FORMAT_V                                                              0:0
    264#define NV902D_SET_PIXELS_FROM_CPU_MONO_FORMAT_V_CGA6_M1                                               0x00000000
    265#define NV902D_SET_PIXELS_FROM_CPU_MONO_FORMAT_V_LE_M1                                                 0x00000001
    266
    267#define NV902D_SET_PIXELS_FROM_CPU_WRAP                                                                    0x0810
    268#define NV902D_SET_PIXELS_FROM_CPU_WRAP_V                                                                     1:0
    269#define NV902D_SET_PIXELS_FROM_CPU_WRAP_V_WRAP_PIXEL                                                   0x00000000
    270#define NV902D_SET_PIXELS_FROM_CPU_WRAP_V_WRAP_BYTE                                                    0x00000001
    271#define NV902D_SET_PIXELS_FROM_CPU_WRAP_V_WRAP_DWORD                                                   0x00000002
    272
    273#define NV902D_SET_PIXELS_FROM_CPU_COLOR0                                                                  0x0814
    274#define NV902D_SET_PIXELS_FROM_CPU_COLOR0_V                                                                  31:0
    275
    276#define NV902D_SET_PIXELS_FROM_CPU_COLOR1                                                                  0x0818
    277#define NV902D_SET_PIXELS_FROM_CPU_COLOR1_V                                                                  31:0
    278
    279#define NV902D_SET_PIXELS_FROM_CPU_MONO_OPACITY                                                            0x081c
    280#define NV902D_SET_PIXELS_FROM_CPU_MONO_OPACITY_V                                                             0:0
    281#define NV902D_SET_PIXELS_FROM_CPU_MONO_OPACITY_V_TRANSPARENT                                          0x00000000
    282#define NV902D_SET_PIXELS_FROM_CPU_MONO_OPACITY_V_OPAQUE                                               0x00000001
    283
    284#define NV902D_SET_PIXELS_FROM_CPU_SRC_WIDTH                                                               0x0838
    285#define NV902D_SET_PIXELS_FROM_CPU_SRC_WIDTH_V                                                               31:0
    286
    287#define NV902D_SET_PIXELS_FROM_CPU_SRC_HEIGHT                                                              0x083c
    288#define NV902D_SET_PIXELS_FROM_CPU_SRC_HEIGHT_V                                                              31:0
    289
    290#define NV902D_SET_PIXELS_FROM_CPU_DX_DU_FRAC                                                              0x0840
    291#define NV902D_SET_PIXELS_FROM_CPU_DX_DU_FRAC_V                                                              31:0
    292
    293#define NV902D_SET_PIXELS_FROM_CPU_DX_DU_INT                                                               0x0844
    294#define NV902D_SET_PIXELS_FROM_CPU_DX_DU_INT_V                                                               31:0
    295
    296#define NV902D_SET_PIXELS_FROM_CPU_DY_DV_FRAC                                                              0x0848
    297#define NV902D_SET_PIXELS_FROM_CPU_DY_DV_FRAC_V                                                              31:0
    298
    299#define NV902D_SET_PIXELS_FROM_CPU_DY_DV_INT                                                               0x084c
    300#define NV902D_SET_PIXELS_FROM_CPU_DY_DV_INT_V                                                               31:0
    301
    302#define NV902D_SET_PIXELS_FROM_CPU_DST_X0_FRAC                                                             0x0850
    303#define NV902D_SET_PIXELS_FROM_CPU_DST_X0_FRAC_V                                                             31:0
    304
    305#define NV902D_SET_PIXELS_FROM_CPU_DST_X0_INT                                                              0x0854
    306#define NV902D_SET_PIXELS_FROM_CPU_DST_X0_INT_V                                                              31:0
    307
    308#define NV902D_SET_PIXELS_FROM_CPU_DST_Y0_FRAC                                                             0x0858
    309#define NV902D_SET_PIXELS_FROM_CPU_DST_Y0_FRAC_V                                                             31:0
    310
    311#define NV902D_SET_PIXELS_FROM_CPU_DST_Y0_INT                                                              0x085c
    312#define NV902D_SET_PIXELS_FROM_CPU_DST_Y0_INT_V                                                              31:0
    313
    314#define NV902D_PIXELS_FROM_CPU_DATA                                                                        0x0860
    315#define NV902D_PIXELS_FROM_CPU_DATA_V                                                                        31:0
    316
    317#define NV902D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP                                                         0x0888
    318#define NV902D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP_V                                                          0:0
    319#define NV902D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP_V_FALSE                                             0x00000000
    320#define NV902D_SET_PIXELS_FROM_MEMORY_SAFE_OVERLAP_V_TRUE                                              0x00000001
    321
    322#define NV902D_SET_PIXELS_FROM_MEMORY_DST_X0                                                               0x08b0
    323#define NV902D_SET_PIXELS_FROM_MEMORY_DST_X0_V                                                               31:0
    324
    325#define NV902D_SET_PIXELS_FROM_MEMORY_DST_Y0                                                               0x08b4
    326#define NV902D_SET_PIXELS_FROM_MEMORY_DST_Y0_V                                                               31:0
    327
    328#define NV902D_SET_PIXELS_FROM_MEMORY_DST_WIDTH                                                            0x08b8
    329#define NV902D_SET_PIXELS_FROM_MEMORY_DST_WIDTH_V                                                            31:0
    330
    331#define NV902D_SET_PIXELS_FROM_MEMORY_DST_HEIGHT                                                           0x08bc
    332#define NV902D_SET_PIXELS_FROM_MEMORY_DST_HEIGHT_V                                                           31:0
    333
    334#define NV902D_SET_PIXELS_FROM_MEMORY_DU_DX_FRAC                                                           0x08c0
    335#define NV902D_SET_PIXELS_FROM_MEMORY_DU_DX_FRAC_V                                                           31:0
    336
    337#define NV902D_SET_PIXELS_FROM_MEMORY_DU_DX_INT                                                            0x08c4
    338#define NV902D_SET_PIXELS_FROM_MEMORY_DU_DX_INT_V                                                            31:0
    339
    340#define NV902D_SET_PIXELS_FROM_MEMORY_DV_DY_FRAC                                                           0x08c8
    341#define NV902D_SET_PIXELS_FROM_MEMORY_DV_DY_FRAC_V                                                           31:0
    342
    343#define NV902D_SET_PIXELS_FROM_MEMORY_DV_DY_INT                                                            0x08cc
    344#define NV902D_SET_PIXELS_FROM_MEMORY_DV_DY_INT_V                                                            31:0
    345
    346#define NV902D_SET_PIXELS_FROM_MEMORY_SRC_X0_FRAC                                                          0x08d0
    347#define NV902D_SET_PIXELS_FROM_MEMORY_SRC_X0_FRAC_V                                                          31:0
    348
    349#define NV902D_SET_PIXELS_FROM_MEMORY_SRC_X0_INT                                                           0x08d4
    350#define NV902D_SET_PIXELS_FROM_MEMORY_SRC_X0_INT_V                                                           31:0
    351
    352#define NV902D_SET_PIXELS_FROM_MEMORY_SRC_Y0_FRAC                                                          0x08d8
    353#define NV902D_SET_PIXELS_FROM_MEMORY_SRC_Y0_FRAC_V                                                          31:0
    354
    355#define NV902D_PIXELS_FROM_MEMORY_SRC_Y0_INT                                                               0x08dc
    356#define NV902D_PIXELS_FROM_MEMORY_SRC_Y0_INT_V                                                               31:0
    357#endif /* _cl_fermi_twod_a_h_ */