Go to the documentation of this file.
16 #define GP_REG_COUNT (0x50 / 4)
17 #define DC_REG_COUNT (0x90 / 4)
18 #define VP_REG_COUNT (0x138 / 8)
19 #define FP_REG_COUNT (0x68 / 8)
21 #define DC_PAL_COUNT 0x104
90 #define GP_BLT_STATUS_BLT_PENDING (1 << 2)
91 #define GP_BLT_STATUS_BLT_BUSY (1 << 0)
142 #define DC_UNLOCK_LOCK 0x00000000
143 #define DC_UNLOCK_UNLOCK 0x00004758
145 #define DC_GENERAL_CFG_YUVM (1 << 20)
146 #define DC_GENERAL_CFG_VDSE (1 << 19)
147 #define DC_GENERAL_CFG_DFHPEL_SHIFT 12
148 #define DC_GENERAL_CFG_DFHPSL_SHIFT 8
149 #define DC_GENERAL_CFG_DECE (1 << 6)
150 #define DC_GENERAL_CFG_CMPE (1 << 5)
151 #define DC_GENERAL_CFG_VIDE (1 << 3)
152 #define DC_GENERAL_CFG_ICNE (1 << 2)
153 #define DC_GENERAL_CFG_CURE (1 << 1)
154 #define DC_GENERAL_CFG_DFLE (1 << 0)
156 #define DC_DISPLAY_CFG_A20M (1 << 31)
157 #define DC_DISPLAY_CFG_A18M (1 << 30)
158 #define DC_DISPLAY_CFG_PALB (1 << 25)
159 #define DC_DISPLAY_CFG_DISP_MODE_24BPP (1 << 9)
160 #define DC_DISPLAY_CFG_DISP_MODE_16BPP (1 << 8)
161 #define DC_DISPLAY_CFG_DISP_MODE_8BPP (0)
162 #define DC_DISPLAY_CFG_VDEN (1 << 4)
163 #define DC_DISPLAY_CFG_GDEN (1 << 3)
164 #define DC_DISPLAY_CFG_TGEN (1 << 0)
234 #define VP_VCFG_VID_EN (1 << 0)
236 #define VP_DCFG_DAC_VREF (1 << 26)
237 #define VP_DCFG_GV_GAM (1 << 21)
238 #define VP_DCFG_VG_CK (1 << 20)
239 #define VP_DCFG_CRT_SYNC_SKW_DEFAULT (1 << 16)
240 #define VP_DCFG_CRT_SYNC_SKW ((1 << 14) | (1 << 15) | (1 << 16))
241 #define VP_DCFG_CRT_VSYNC_POL (1 << 9)
242 #define VP_DCFG_CRT_HSYNC_POL (1 << 8)
243 #define VP_DCFG_FP_DATA_EN (1 << 7)
244 #define VP_DCFG_FP_PWR_EN (1 << 6)
245 #define VP_DCFG_DAC_BL_EN (1 << 3)
246 #define VP_DCFG_VSYNC_EN (1 << 2)
247 #define VP_DCFG_HSYNC_EN (1 << 1)
248 #define VP_DCFG_CRT_EN (1 << 0)
250 #define VP_MISC_GAM_EN (1 << 0)
251 #define VP_MISC_DACPWRDN (1 << 10)
252 #define VP_MISC_APWRDN (1 << 11)
261 #define VP_FP_START 0x400
285 #define FP_PT1_VSIZE_SHIFT 16
286 #define FP_PT1_VSIZE_MASK 0x7FF0000
288 #define FP_PT2_HSP (1 << 22)
289 #define FP_PT2_VSP (1 << 23)
291 #define FP_PM_P (1 << 24)
292 #define FP_PM_PANEL_PWR_UP (1 << 3)
293 #define FP_PM_PANEL_PWR_DOWN (1 << 2)
294 #define FP_PM_PANEL_OFF (1 << 1)
295 #define FP_PM_PANEL_ON (1 << 0)
297 #define FP_DFC_NFI ((1 << 4) | (1 << 5) | (1 << 6))
345 #define MSR_GLCP_SYS_RSTPLL_DOTPOSTDIV3 (1 << 3)
346 #define MSR_GLCP_SYS_RSTPLL_DOTPREMULT2 (1 << 2)
347 #define MSR_GLCP_SYS_RSTPLL_DOTPREDIV2 (1 << 1)
349 #define MSR_GLCP_DOTPLL_LOCK (1 << 25)
350 #define MSR_GLCP_DOTPLL_BYPASS (1 << 15)
351 #define MSR_GLCP_DOTPLL_DOTRESET (1 << 0)
353 #define MSR_GX_MSR_PADSEL_MASK 0x3FFFFFFF
354 #define MSR_GX_MSR_PADSEL_TFT 0x1FFFFFFF
356 #define MSR_GX_GLD_MSR_CONFIG_FP (1 << 3)