0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #ifndef _cl507d_h_
0025 #define _cl507d_h_
0026
0027 #define NV_DISP_CORE_NOTIFIER_1 0x00000000
0028 #define NV_DISP_CORE_NOTIFIER_1_SIZEOF 0x00000054
0029 #define NV_DISP_CORE_NOTIFIER_1_COMPLETION_0 0x00000000
0030 #define NV_DISP_CORE_NOTIFIER_1_COMPLETION_0_DONE 0:0
0031 #define NV_DISP_CORE_NOTIFIER_1_COMPLETION_0_DONE_FALSE 0x00000000
0032 #define NV_DISP_CORE_NOTIFIER_1_COMPLETION_0_DONE_TRUE 0x00000001
0033 #define NV_DISP_CORE_NOTIFIER_1_COMPLETION_0_R0 15:1
0034 #define NV_DISP_CORE_NOTIFIER_1_COMPLETION_0_TIMESTAMP 29:16
0035 #define NV_DISP_CORE_NOTIFIER_1_CAPABILITIES_1 0x00000001
0036 #define NV_DISP_CORE_NOTIFIER_1_CAPABILITIES_1_DONE 0:0
0037 #define NV_DISP_CORE_NOTIFIER_1_CAPABILITIES_1_DONE_FALSE 0x00000000
0038 #define NV_DISP_CORE_NOTIFIER_1_CAPABILITIES_1_DONE_TRUE 0x00000001
0039
0040
0041 #define NV507D_UPDATE (0x00000080)
0042 #define NV507D_UPDATE_INTERLOCK_WITH_CURSOR0 0:0
0043 #define NV507D_UPDATE_INTERLOCK_WITH_CURSOR0_DISABLE (0x00000000)
0044 #define NV507D_UPDATE_INTERLOCK_WITH_CURSOR0_ENABLE (0x00000001)
0045 #define NV507D_UPDATE_INTERLOCK_WITH_CURSOR1 8:8
0046 #define NV507D_UPDATE_INTERLOCK_WITH_CURSOR1_DISABLE (0x00000000)
0047 #define NV507D_UPDATE_INTERLOCK_WITH_CURSOR1_ENABLE (0x00000001)
0048 #define NV507D_UPDATE_INTERLOCK_WITH_BASE0 1:1
0049 #define NV507D_UPDATE_INTERLOCK_WITH_BASE0_DISABLE (0x00000000)
0050 #define NV507D_UPDATE_INTERLOCK_WITH_BASE0_ENABLE (0x00000001)
0051 #define NV507D_UPDATE_INTERLOCK_WITH_BASE1 9:9
0052 #define NV507D_UPDATE_INTERLOCK_WITH_BASE1_DISABLE (0x00000000)
0053 #define NV507D_UPDATE_INTERLOCK_WITH_BASE1_ENABLE (0x00000001)
0054 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY0 2:2
0055 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY0_DISABLE (0x00000000)
0056 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY0_ENABLE (0x00000001)
0057 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY1 10:10
0058 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY1_DISABLE (0x00000000)
0059 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY1_ENABLE (0x00000001)
0060 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY_IMM0 3:3
0061 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY_IMM0_DISABLE (0x00000000)
0062 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY_IMM0_ENABLE (0x00000001)
0063 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY_IMM1 11:11
0064 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY_IMM1_DISABLE (0x00000000)
0065 #define NV507D_UPDATE_INTERLOCK_WITH_OVERLAY_IMM1_ENABLE (0x00000001)
0066 #define NV507D_UPDATE_NOT_DRIVER_FRIENDLY 31:31
0067 #define NV507D_UPDATE_NOT_DRIVER_FRIENDLY_FALSE (0x00000000)
0068 #define NV507D_UPDATE_NOT_DRIVER_FRIENDLY_TRUE (0x00000001)
0069 #define NV507D_UPDATE_NOT_DRIVER_UNFRIENDLY 30:30
0070 #define NV507D_UPDATE_NOT_DRIVER_UNFRIENDLY_FALSE (0x00000000)
0071 #define NV507D_UPDATE_NOT_DRIVER_UNFRIENDLY_TRUE (0x00000001)
0072 #define NV507D_UPDATE_INHIBIT_INTERRUPTS 29:29
0073 #define NV507D_UPDATE_INHIBIT_INTERRUPTS_FALSE (0x00000000)
0074 #define NV507D_UPDATE_INHIBIT_INTERRUPTS_TRUE (0x00000001)
0075 #define NV507D_SET_NOTIFIER_CONTROL (0x00000084)
0076 #define NV507D_SET_NOTIFIER_CONTROL_MODE 30:30
0077 #define NV507D_SET_NOTIFIER_CONTROL_MODE_WRITE (0x00000000)
0078 #define NV507D_SET_NOTIFIER_CONTROL_MODE_WRITE_AWAKEN (0x00000001)
0079 #define NV507D_SET_NOTIFIER_CONTROL_OFFSET 11:2
0080 #define NV507D_SET_NOTIFIER_CONTROL_NOTIFY 31:31
0081 #define NV507D_SET_NOTIFIER_CONTROL_NOTIFY_DISABLE (0x00000000)
0082 #define NV507D_SET_NOTIFIER_CONTROL_NOTIFY_ENABLE (0x00000001)
0083 #define NV507D_SET_CONTEXT_DMA_NOTIFIER (0x00000088)
0084 #define NV507D_SET_CONTEXT_DMA_NOTIFIER_HANDLE 31:0
0085 #define NV507D_GET_CAPABILITIES (0x0000008C)
0086 #define NV507D_GET_CAPABILITIES_DUMMY 31:0
0087
0088 #define NV507D_DAC_SET_CONTROL(a) (0x00000400 + (a)*0x00000080)
0089 #define NV507D_DAC_SET_CONTROL_OWNER 3:0
0090 #define NV507D_DAC_SET_CONTROL_OWNER_NONE (0x00000000)
0091 #define NV507D_DAC_SET_CONTROL_OWNER_HEAD0 (0x00000001)
0092 #define NV507D_DAC_SET_CONTROL_OWNER_HEAD1 (0x00000002)
0093 #define NV507D_DAC_SET_CONTROL_SUB_OWNER 5:4
0094 #define NV507D_DAC_SET_CONTROL_SUB_OWNER_NONE (0x00000000)
0095 #define NV507D_DAC_SET_CONTROL_SUB_OWNER_SUBHEAD0 (0x00000001)
0096 #define NV507D_DAC_SET_CONTROL_SUB_OWNER_SUBHEAD1 (0x00000002)
0097 #define NV507D_DAC_SET_CONTROL_SUB_OWNER_BOTH (0x00000003)
0098 #define NV507D_DAC_SET_CONTROL_PROTOCOL 13:8
0099 #define NV507D_DAC_SET_CONTROL_PROTOCOL_RGB_CRT (0x00000000)
0100 #define NV507D_DAC_SET_CONTROL_PROTOCOL_CPST_NTSC_M (0x00000001)
0101 #define NV507D_DAC_SET_CONTROL_PROTOCOL_CPST_NTSC_J (0x00000002)
0102 #define NV507D_DAC_SET_CONTROL_PROTOCOL_CPST_PAL_BDGHI (0x00000003)
0103 #define NV507D_DAC_SET_CONTROL_PROTOCOL_CPST_PAL_M (0x00000004)
0104 #define NV507D_DAC_SET_CONTROL_PROTOCOL_CPST_PAL_N (0x00000005)
0105 #define NV507D_DAC_SET_CONTROL_PROTOCOL_CPST_PAL_CN (0x00000006)
0106 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_NTSC_M (0x00000007)
0107 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_NTSC_J (0x00000008)
0108 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_PAL_BDGHI (0x00000009)
0109 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_PAL_M (0x0000000A)
0110 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_PAL_N (0x0000000B)
0111 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_PAL_CN (0x0000000C)
0112 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_480P_60 (0x0000000D)
0113 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_576P_50 (0x0000000E)
0114 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_720P_50 (0x0000000F)
0115 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_720P_60 (0x00000010)
0116 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_1080I_50 (0x00000011)
0117 #define NV507D_DAC_SET_CONTROL_PROTOCOL_COMP_1080I_60 (0x00000012)
0118 #define NV507D_DAC_SET_CONTROL_PROTOCOL_CUSTOM (0x0000003F)
0119 #define NV507D_DAC_SET_CONTROL_INVALIDATE_FIRST_FIELD 14:14
0120 #define NV507D_DAC_SET_CONTROL_INVALIDATE_FIRST_FIELD_FALSE (0x00000000)
0121 #define NV507D_DAC_SET_CONTROL_INVALIDATE_FIRST_FIELD_TRUE (0x00000001)
0122 #define NV507D_DAC_SET_POLARITY(a) (0x00000404 + (a)*0x00000080)
0123 #define NV507D_DAC_SET_POLARITY_HSYNC 0:0
0124 #define NV507D_DAC_SET_POLARITY_HSYNC_POSITIVE_TRUE (0x00000000)
0125 #define NV507D_DAC_SET_POLARITY_HSYNC_NEGATIVE_TRUE (0x00000001)
0126 #define NV507D_DAC_SET_POLARITY_VSYNC 1:1
0127 #define NV507D_DAC_SET_POLARITY_VSYNC_POSITIVE_TRUE (0x00000000)
0128 #define NV507D_DAC_SET_POLARITY_VSYNC_NEGATIVE_TRUE (0x00000001)
0129 #define NV507D_DAC_SET_POLARITY_RESERVED 31:2
0130
0131 #define NV507D_SOR_SET_CONTROL(a) (0x00000600 + (a)*0x00000040)
0132 #define NV507D_SOR_SET_CONTROL_OWNER 3:0
0133 #define NV507D_SOR_SET_CONTROL_OWNER_NONE (0x00000000)
0134 #define NV507D_SOR_SET_CONTROL_OWNER_HEAD0 (0x00000001)
0135 #define NV507D_SOR_SET_CONTROL_OWNER_HEAD1 (0x00000002)
0136 #define NV507D_SOR_SET_CONTROL_SUB_OWNER 5:4
0137 #define NV507D_SOR_SET_CONTROL_SUB_OWNER_NONE (0x00000000)
0138 #define NV507D_SOR_SET_CONTROL_SUB_OWNER_SUBHEAD0 (0x00000001)
0139 #define NV507D_SOR_SET_CONTROL_SUB_OWNER_SUBHEAD1 (0x00000002)
0140 #define NV507D_SOR_SET_CONTROL_SUB_OWNER_BOTH (0x00000003)
0141 #define NV507D_SOR_SET_CONTROL_PROTOCOL 11:8
0142 #define NV507D_SOR_SET_CONTROL_PROTOCOL_LVDS_CUSTOM (0x00000000)
0143 #define NV507D_SOR_SET_CONTROL_PROTOCOL_SINGLE_TMDS_A (0x00000001)
0144 #define NV507D_SOR_SET_CONTROL_PROTOCOL_SINGLE_TMDS_B (0x00000002)
0145 #define NV507D_SOR_SET_CONTROL_PROTOCOL_SINGLE_TMDS_AB (0x00000003)
0146 #define NV507D_SOR_SET_CONTROL_PROTOCOL_DUAL_SINGLE_TMDS (0x00000004)
0147 #define NV507D_SOR_SET_CONTROL_PROTOCOL_DUAL_TMDS (0x00000005)
0148 #define NV507D_SOR_SET_CONTROL_PROTOCOL_DDI_OUT (0x00000007)
0149 #define NV507D_SOR_SET_CONTROL_PROTOCOL_CUSTOM (0x0000000F)
0150 #define NV507D_SOR_SET_CONTROL_HSYNC_POLARITY 12:12
0151 #define NV507D_SOR_SET_CONTROL_HSYNC_POLARITY_POSITIVE_TRUE (0x00000000)
0152 #define NV507D_SOR_SET_CONTROL_HSYNC_POLARITY_NEGATIVE_TRUE (0x00000001)
0153 #define NV507D_SOR_SET_CONTROL_VSYNC_POLARITY 13:13
0154 #define NV507D_SOR_SET_CONTROL_VSYNC_POLARITY_POSITIVE_TRUE (0x00000000)
0155 #define NV507D_SOR_SET_CONTROL_VSYNC_POLARITY_NEGATIVE_TRUE (0x00000001)
0156 #define NV507D_SOR_SET_CONTROL_DE_SYNC_POLARITY 14:14
0157 #define NV507D_SOR_SET_CONTROL_DE_SYNC_POLARITY_POSITIVE_TRUE (0x00000000)
0158 #define NV507D_SOR_SET_CONTROL_DE_SYNC_POLARITY_NEGATIVE_TRUE (0x00000001)
0159
0160 #define NV507D_PIOR_SET_CONTROL(a) (0x00000700 + (a)*0x00000040)
0161 #define NV507D_PIOR_SET_CONTROL_OWNER 3:0
0162 #define NV507D_PIOR_SET_CONTROL_OWNER_NONE (0x00000000)
0163 #define NV507D_PIOR_SET_CONTROL_OWNER_HEAD0 (0x00000001)
0164 #define NV507D_PIOR_SET_CONTROL_OWNER_HEAD1 (0x00000002)
0165 #define NV507D_PIOR_SET_CONTROL_SUB_OWNER 5:4
0166 #define NV507D_PIOR_SET_CONTROL_SUB_OWNER_NONE (0x00000000)
0167 #define NV507D_PIOR_SET_CONTROL_SUB_OWNER_SUBHEAD0 (0x00000001)
0168 #define NV507D_PIOR_SET_CONTROL_SUB_OWNER_SUBHEAD1 (0x00000002)
0169 #define NV507D_PIOR_SET_CONTROL_SUB_OWNER_BOTH (0x00000003)
0170 #define NV507D_PIOR_SET_CONTROL_PROTOCOL 11:8
0171 #define NV507D_PIOR_SET_CONTROL_PROTOCOL_EXT_TMDS_ENC (0x00000000)
0172 #define NV507D_PIOR_SET_CONTROL_PROTOCOL_EXT_TV_ENC (0x00000001)
0173 #define NV507D_PIOR_SET_CONTROL_HSYNC_POLARITY 12:12
0174 #define NV507D_PIOR_SET_CONTROL_HSYNC_POLARITY_POSITIVE_TRUE (0x00000000)
0175 #define NV507D_PIOR_SET_CONTROL_HSYNC_POLARITY_NEGATIVE_TRUE (0x00000001)
0176 #define NV507D_PIOR_SET_CONTROL_VSYNC_POLARITY 13:13
0177 #define NV507D_PIOR_SET_CONTROL_VSYNC_POLARITY_POSITIVE_TRUE (0x00000000)
0178 #define NV507D_PIOR_SET_CONTROL_VSYNC_POLARITY_NEGATIVE_TRUE (0x00000001)
0179 #define NV507D_PIOR_SET_CONTROL_DE_SYNC_POLARITY 14:14
0180 #define NV507D_PIOR_SET_CONTROL_DE_SYNC_POLARITY_POSITIVE_TRUE (0x00000000)
0181 #define NV507D_PIOR_SET_CONTROL_DE_SYNC_POLARITY_NEGATIVE_TRUE (0x00000001)
0182
0183 #define NV507D_HEAD_SET_PIXEL_CLOCK(a) (0x00000804 + (a)*0x00000400)
0184 #define NV507D_HEAD_SET_PIXEL_CLOCK_FREQUENCY 21:0
0185 #define NV507D_HEAD_SET_PIXEL_CLOCK_MODE 23:22
0186 #define NV507D_HEAD_SET_PIXEL_CLOCK_MODE_CLK_25 (0x00000000)
0187 #define NV507D_HEAD_SET_PIXEL_CLOCK_MODE_CLK_28 (0x00000001)
0188 #define NV507D_HEAD_SET_PIXEL_CLOCK_MODE_CLK_CUSTOM (0x00000002)
0189 #define NV507D_HEAD_SET_PIXEL_CLOCK_ADJ1000DIV1001 24:24
0190 #define NV507D_HEAD_SET_PIXEL_CLOCK_ADJ1000DIV1001_FALSE (0x00000000)
0191 #define NV507D_HEAD_SET_PIXEL_CLOCK_ADJ1000DIV1001_TRUE (0x00000001)
0192 #define NV507D_HEAD_SET_PIXEL_CLOCK_NOT_DRIVER 25:25
0193 #define NV507D_HEAD_SET_PIXEL_CLOCK_NOT_DRIVER_FALSE (0x00000000)
0194 #define NV507D_HEAD_SET_PIXEL_CLOCK_NOT_DRIVER_TRUE (0x00000001)
0195 #define NV507D_HEAD_SET_CONTROL(a) (0x00000808 + (a)*0x00000400)
0196 #define NV507D_HEAD_SET_CONTROL_STRUCTURE 2:1
0197 #define NV507D_HEAD_SET_CONTROL_STRUCTURE_PROGRESSIVE (0x00000000)
0198 #define NV507D_HEAD_SET_CONTROL_STRUCTURE_INTERLACED (0x00000001)
0199 #define NV507D_HEAD_SET_OVERSCAN_COLOR(a) (0x00000810 + (a)*0x00000400)
0200 #define NV507D_HEAD_SET_OVERSCAN_COLOR_RED 9:0
0201 #define NV507D_HEAD_SET_OVERSCAN_COLOR_GRN 19:10
0202 #define NV507D_HEAD_SET_OVERSCAN_COLOR_BLU 29:20
0203 #define NV507D_HEAD_SET_RASTER_SIZE(a) (0x00000814 + (a)*0x00000400)
0204 #define NV507D_HEAD_SET_RASTER_SIZE_WIDTH 14:0
0205 #define NV507D_HEAD_SET_RASTER_SIZE_HEIGHT 30:16
0206 #define NV507D_HEAD_SET_RASTER_SYNC_END(a) (0x00000818 + (a)*0x00000400)
0207 #define NV507D_HEAD_SET_RASTER_SYNC_END_X 14:0
0208 #define NV507D_HEAD_SET_RASTER_SYNC_END_Y 30:16
0209 #define NV507D_HEAD_SET_RASTER_BLANK_END(a) (0x0000081C + (a)*0x00000400)
0210 #define NV507D_HEAD_SET_RASTER_BLANK_END_X 14:0
0211 #define NV507D_HEAD_SET_RASTER_BLANK_END_Y 30:16
0212 #define NV507D_HEAD_SET_RASTER_BLANK_START(a) (0x00000820 + (a)*0x00000400)
0213 #define NV507D_HEAD_SET_RASTER_BLANK_START_X 14:0
0214 #define NV507D_HEAD_SET_RASTER_BLANK_START_Y 30:16
0215 #define NV507D_HEAD_SET_RASTER_VERT_BLANK2(a) (0x00000824 + (a)*0x00000400)
0216 #define NV507D_HEAD_SET_RASTER_VERT_BLANK2_YSTART 14:0
0217 #define NV507D_HEAD_SET_RASTER_VERT_BLANK2_YEND 30:16
0218 #define NV507D_HEAD_SET_RASTER_VERT_BLANK_DMI(a) (0x00000828 + (a)*0x00000400)
0219 #define NV507D_HEAD_SET_RASTER_VERT_BLANK_DMI_DURATION 11:0
0220 #define NV507D_HEAD_SET_DEFAULT_BASE_COLOR(a) (0x0000082C + (a)*0x00000400)
0221 #define NV507D_HEAD_SET_DEFAULT_BASE_COLOR_RED 9:0
0222 #define NV507D_HEAD_SET_DEFAULT_BASE_COLOR_GREEN 19:10
0223 #define NV507D_HEAD_SET_DEFAULT_BASE_COLOR_BLUE 29:20
0224 #define NV507D_HEAD_SET_BASE_LUT_LO(a) (0x00000840 + (a)*0x00000400)
0225 #define NV507D_HEAD_SET_BASE_LUT_LO_ENABLE 31:31
0226 #define NV507D_HEAD_SET_BASE_LUT_LO_ENABLE_DISABLE (0x00000000)
0227 #define NV507D_HEAD_SET_BASE_LUT_LO_ENABLE_ENABLE (0x00000001)
0228 #define NV507D_HEAD_SET_BASE_LUT_LO_MODE 30:30
0229 #define NV507D_HEAD_SET_BASE_LUT_LO_MODE_LORES (0x00000000)
0230 #define NV507D_HEAD_SET_BASE_LUT_LO_MODE_HIRES (0x00000001)
0231 #define NV507D_HEAD_SET_BASE_LUT_LO_ORIGIN 7:2
0232 #define NV507D_HEAD_SET_BASE_LUT_HI(a) (0x00000844 + (a)*0x00000400)
0233 #define NV507D_HEAD_SET_BASE_LUT_HI_ORIGIN 31:0
0234 #define NV507D_HEAD_SET_OFFSET(a,b) (0x00000860 + (a)*0x00000400 + (b)*0x00000004)
0235 #define NV507D_HEAD_SET_OFFSET_ORIGIN 31:0
0236 #define NV507D_HEAD_SET_SIZE(a) (0x00000868 + (a)*0x00000400)
0237 #define NV507D_HEAD_SET_SIZE_WIDTH 14:0
0238 #define NV507D_HEAD_SET_SIZE_HEIGHT 30:16
0239 #define NV507D_HEAD_SET_STORAGE(a) (0x0000086C + (a)*0x00000400)
0240 #define NV507D_HEAD_SET_STORAGE_BLOCK_HEIGHT 3:0
0241 #define NV507D_HEAD_SET_STORAGE_BLOCK_HEIGHT_ONE_GOB (0x00000000)
0242 #define NV507D_HEAD_SET_STORAGE_BLOCK_HEIGHT_TWO_GOBS (0x00000001)
0243 #define NV507D_HEAD_SET_STORAGE_BLOCK_HEIGHT_FOUR_GOBS (0x00000002)
0244 #define NV507D_HEAD_SET_STORAGE_BLOCK_HEIGHT_EIGHT_GOBS (0x00000003)
0245 #define NV507D_HEAD_SET_STORAGE_BLOCK_HEIGHT_SIXTEEN_GOBS (0x00000004)
0246 #define NV507D_HEAD_SET_STORAGE_BLOCK_HEIGHT_THIRTYTWO_GOBS (0x00000005)
0247 #define NV507D_HEAD_SET_STORAGE_PITCH 17:8
0248 #define NV507D_HEAD_SET_STORAGE_MEMORY_LAYOUT 20:20
0249 #define NV507D_HEAD_SET_STORAGE_MEMORY_LAYOUT_BLOCKLINEAR (0x00000000)
0250 #define NV507D_HEAD_SET_STORAGE_MEMORY_LAYOUT_PITCH (0x00000001)
0251 #define NV507D_HEAD_SET_PARAMS(a) (0x00000870 + (a)*0x00000400)
0252 #define NV507D_HEAD_SET_PARAMS_FORMAT 15:8
0253 #define NV507D_HEAD_SET_PARAMS_FORMAT_I8 (0x0000001E)
0254 #define NV507D_HEAD_SET_PARAMS_FORMAT_VOID16 (0x0000001F)
0255 #define NV507D_HEAD_SET_PARAMS_FORMAT_VOID32 (0x0000002E)
0256 #define NV507D_HEAD_SET_PARAMS_FORMAT_RF16_GF16_BF16_AF16 (0x000000CA)
0257 #define NV507D_HEAD_SET_PARAMS_FORMAT_A8R8G8B8 (0x000000CF)
0258 #define NV507D_HEAD_SET_PARAMS_FORMAT_A2B10G10R10 (0x000000D1)
0259 #define NV507D_HEAD_SET_PARAMS_FORMAT_A8B8G8R8 (0x000000D5)
0260 #define NV507D_HEAD_SET_PARAMS_FORMAT_R5G6B5 (0x000000E8)
0261 #define NV507D_HEAD_SET_PARAMS_FORMAT_A1R5G5B5 (0x000000E9)
0262 #define NV507D_HEAD_SET_PARAMS_KIND 22:16
0263 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_PITCH (0x00000000)
0264 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_GENERIC_8BX2 (0x00000070)
0265 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_GENERIC_8BX2_BANKSWIZ (0x00000072)
0266 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_GENERIC_16BX1 (0x00000074)
0267 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_GENERIC_16BX1_BANKSWIZ (0x00000076)
0268 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_C32_MS4 (0x00000078)
0269 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_C32_MS8 (0x00000079)
0270 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_C32_MS4_BANKSWIZ (0x0000007A)
0271 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_C32_MS8_BANKSWIZ (0x0000007B)
0272 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_C64_MS4 (0x0000007C)
0273 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_C64_MS8 (0x0000007D)
0274 #define NV507D_HEAD_SET_PARAMS_KIND_KIND_C128_MS4 (0x0000007E)
0275 #define NV507D_HEAD_SET_PARAMS_KIND_FROM_PTE (0x0000007F)
0276 #define NV507D_HEAD_SET_PARAMS_PART_STRIDE 24:24
0277 #define NV507D_HEAD_SET_PARAMS_PART_STRIDE_PARTSTRIDE_256 (0x00000000)
0278 #define NV507D_HEAD_SET_PARAMS_PART_STRIDE_PARTSTRIDE_1024 (0x00000001)
0279 #define NV507D_HEAD_SET_CONTEXT_DMA_ISO(a) (0x00000874 + (a)*0x00000400)
0280 #define NV507D_HEAD_SET_CONTEXT_DMA_ISO_HANDLE 31:0
0281 #define NV507D_HEAD_SET_CONTROL_CURSOR(a) (0x00000880 + (a)*0x00000400)
0282 #define NV507D_HEAD_SET_CONTROL_CURSOR_ENABLE 31:31
0283 #define NV507D_HEAD_SET_CONTROL_CURSOR_ENABLE_DISABLE (0x00000000)
0284 #define NV507D_HEAD_SET_CONTROL_CURSOR_ENABLE_ENABLE (0x00000001)
0285 #define NV507D_HEAD_SET_CONTROL_CURSOR_FORMAT 25:24
0286 #define NV507D_HEAD_SET_CONTROL_CURSOR_FORMAT_A1R5G5B5 (0x00000000)
0287 #define NV507D_HEAD_SET_CONTROL_CURSOR_FORMAT_A8R8G8B8 (0x00000001)
0288 #define NV507D_HEAD_SET_CONTROL_CURSOR_SIZE 26:26
0289 #define NV507D_HEAD_SET_CONTROL_CURSOR_SIZE_W32_H32 (0x00000000)
0290 #define NV507D_HEAD_SET_CONTROL_CURSOR_SIZE_W64_H64 (0x00000001)
0291 #define NV507D_HEAD_SET_CONTROL_CURSOR_HOT_SPOT_X 13:8
0292 #define NV507D_HEAD_SET_CONTROL_CURSOR_HOT_SPOT_Y 21:16
0293 #define NV507D_HEAD_SET_CONTROL_CURSOR_COMPOSITION 29:28
0294 #define NV507D_HEAD_SET_CONTROL_CURSOR_COMPOSITION_ALPHA_BLEND (0x00000000)
0295 #define NV507D_HEAD_SET_CONTROL_CURSOR_COMPOSITION_PREMULT_ALPHA_BLEND (0x00000001)
0296 #define NV507D_HEAD_SET_CONTROL_CURSOR_COMPOSITION_XOR (0x00000002)
0297 #define NV507D_HEAD_SET_CONTROL_CURSOR_SUB_OWNER 5:4
0298 #define NV507D_HEAD_SET_CONTROL_CURSOR_SUB_OWNER_NONE (0x00000000)
0299 #define NV507D_HEAD_SET_CONTROL_CURSOR_SUB_OWNER_SUBHEAD0 (0x00000001)
0300 #define NV507D_HEAD_SET_CONTROL_CURSOR_SUB_OWNER_SUBHEAD1 (0x00000002)
0301 #define NV507D_HEAD_SET_CONTROL_CURSOR_SUB_OWNER_BOTH (0x00000003)
0302 #define NV507D_HEAD_SET_OFFSET_CURSOR(a) (0x00000884 + (a)*0x00000400)
0303 #define NV507D_HEAD_SET_OFFSET_CURSOR_ORIGIN 31:0
0304 #define NV507D_HEAD_SET_DITHER_CONTROL(a) (0x000008A0 + (a)*0x00000400)
0305 #define NV507D_HEAD_SET_DITHER_CONTROL_ENABLE 0:0
0306 #define NV507D_HEAD_SET_DITHER_CONTROL_ENABLE_DISABLE (0x00000000)
0307 #define NV507D_HEAD_SET_DITHER_CONTROL_ENABLE_ENABLE (0x00000001)
0308 #define NV507D_HEAD_SET_DITHER_CONTROL_BITS 2:1
0309 #define NV507D_HEAD_SET_DITHER_CONTROL_BITS_DITHER_TO_6_BITS (0x00000000)
0310 #define NV507D_HEAD_SET_DITHER_CONTROL_BITS_DITHER_TO_8_BITS (0x00000001)
0311 #define NV507D_HEAD_SET_DITHER_CONTROL_MODE 6:3
0312 #define NV507D_HEAD_SET_DITHER_CONTROL_MODE_DYNAMIC_ERR_ACC (0x00000000)
0313 #define NV507D_HEAD_SET_DITHER_CONTROL_MODE_STATIC_ERR_ACC (0x00000001)
0314 #define NV507D_HEAD_SET_DITHER_CONTROL_MODE_DYNAMIC_2X2 (0x00000002)
0315 #define NV507D_HEAD_SET_DITHER_CONTROL_MODE_STATIC_2X2 (0x00000003)
0316 #define NV507D_HEAD_SET_DITHER_CONTROL_PHASE 8:7
0317 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER(a) (0x000008A4 + (a)*0x00000400)
0318 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_VERTICAL_TAPS 2:0
0319 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_VERTICAL_TAPS_TAPS_1 (0x00000000)
0320 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_VERTICAL_TAPS_TAPS_2 (0x00000001)
0321 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_VERTICAL_TAPS_TAPS_3 (0x00000002)
0322 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_VERTICAL_TAPS_TAPS_3_ADAPTIVE (0x00000003)
0323 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_VERTICAL_TAPS_TAPS_5 (0x00000004)
0324 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_HORIZONTAL_TAPS 4:3
0325 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_HORIZONTAL_TAPS_TAPS_1 (0x00000000)
0326 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_HORIZONTAL_TAPS_TAPS_2 (0x00000001)
0327 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_HORIZONTAL_TAPS_TAPS_8 (0x00000002)
0328 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_HRESPONSE_BIAS 23:16
0329 #define NV507D_HEAD_SET_CONTROL_OUTPUT_SCALER_VRESPONSE_BIAS 31:24
0330 #define NV507D_HEAD_SET_PROCAMP(a) (0x000008A8 + (a)*0x00000400)
0331 #define NV507D_HEAD_SET_PROCAMP_COLOR_SPACE 1:0
0332 #define NV507D_HEAD_SET_PROCAMP_COLOR_SPACE_RGB (0x00000000)
0333 #define NV507D_HEAD_SET_PROCAMP_COLOR_SPACE_YUV_601 (0x00000001)
0334 #define NV507D_HEAD_SET_PROCAMP_COLOR_SPACE_YUV_709 (0x00000002)
0335 #define NV507D_HEAD_SET_PROCAMP_CHROMA_LPF 2:2
0336 #define NV507D_HEAD_SET_PROCAMP_CHROMA_LPF_AUTO (0x00000000)
0337 #define NV507D_HEAD_SET_PROCAMP_CHROMA_LPF_ON (0x00000001)
0338 #define NV507D_HEAD_SET_PROCAMP_SAT_COS 19:8
0339 #define NV507D_HEAD_SET_PROCAMP_SAT_SINE 31:20
0340 #define NV507D_HEAD_SET_PROCAMP_TRANSITION 4:3
0341 #define NV507D_HEAD_SET_PROCAMP_TRANSITION_HARD (0x00000000)
0342 #define NV507D_HEAD_SET_PROCAMP_TRANSITION_NTSC (0x00000001)
0343 #define NV507D_HEAD_SET_PROCAMP_TRANSITION_PAL (0x00000002)
0344 #define NV507D_HEAD_SET_VIEWPORT_POINT_IN(a,b) (0x000008C0 + (a)*0x00000400 + (b)*0x00000004)
0345 #define NV507D_HEAD_SET_VIEWPORT_POINT_IN_X 14:0
0346 #define NV507D_HEAD_SET_VIEWPORT_POINT_IN_Y 30:16
0347 #define NV507D_HEAD_SET_VIEWPORT_SIZE_IN(a) (0x000008C8 + (a)*0x00000400)
0348 #define NV507D_HEAD_SET_VIEWPORT_SIZE_IN_WIDTH 14:0
0349 #define NV507D_HEAD_SET_VIEWPORT_SIZE_IN_HEIGHT 30:16
0350 #define NV507D_HEAD_SET_VIEWPORT_SIZE_OUT(a) (0x000008D8 + (a)*0x00000400)
0351 #define NV507D_HEAD_SET_VIEWPORT_SIZE_OUT_WIDTH 14:0
0352 #define NV507D_HEAD_SET_VIEWPORT_SIZE_OUT_HEIGHT 30:16
0353 #define NV507D_HEAD_SET_VIEWPORT_SIZE_OUT_MIN(a) (0x000008DC + (a)*0x00000400)
0354 #define NV507D_HEAD_SET_VIEWPORT_SIZE_OUT_MIN_WIDTH 14:0
0355 #define NV507D_HEAD_SET_VIEWPORT_SIZE_OUT_MIN_HEIGHT 30:16
0356 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS(a) (0x00000900 + (a)*0x00000400)
0357 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_USABLE 0:0
0358 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_USABLE_FALSE (0x00000000)
0359 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_USABLE_TRUE (0x00000001)
0360 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_PIXEL_DEPTH 11:8
0361 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_PIXEL_DEPTH_BPP_8 (0x00000000)
0362 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_PIXEL_DEPTH_BPP_16 (0x00000001)
0363 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_PIXEL_DEPTH_BPP_32 (0x00000003)
0364 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_PIXEL_DEPTH_BPP_64 (0x00000005)
0365 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_SUPER_SAMPLE 13:12
0366 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_SUPER_SAMPLE_X1_AA (0x00000000)
0367 #define NV507D_HEAD_SET_BASE_CHANNEL_USAGE_BOUNDS_SUPER_SAMPLE_X4_AA (0x00000002)
0368 #define NV507D_HEAD_SET_OVERLAY_USAGE_BOUNDS(a) (0x00000904 + (a)*0x00000400)
0369 #define NV507D_HEAD_SET_OVERLAY_USAGE_BOUNDS_USABLE 0:0
0370 #define NV507D_HEAD_SET_OVERLAY_USAGE_BOUNDS_USABLE_FALSE (0x00000000)
0371 #define NV507D_HEAD_SET_OVERLAY_USAGE_BOUNDS_USABLE_TRUE (0x00000001)
0372 #define NV507D_HEAD_SET_OVERLAY_USAGE_BOUNDS_PIXEL_DEPTH 11:8
0373 #define NV507D_HEAD_SET_OVERLAY_USAGE_BOUNDS_PIXEL_DEPTH_BPP_16 (0x00000001)
0374 #define NV507D_HEAD_SET_OVERLAY_USAGE_BOUNDS_PIXEL_DEPTH_BPP_32 (0x00000003)
0375 #endif