8 #define TextModeIndex 0
10 #define VGAModeIndex 2
11 #define HiCModeIndex 3
12 #define TrueCModeIndex 4
14 #define Charx8Dot 0x00000001
15 #define HalfDCLK 0x00000002
16 #define DoubleScanMode 0x00000004
17 #define LineCompareOff 0x00000008
18 #define HBorder 0x00000020
19 #define VBorder 0x00000010
20 #define WideScreenMode 0x00000100
21 #define NewModeInfo 0x00000200
22 #define NHSync 0x00000400
23 #define PHSync 0x00000800
24 #define NVSync 0x00001000
25 #define PVSync 0x00002000
26 #define SyncPP (PVSync | PHSync)
27 #define SyncPN (PVSync | NHSync)
28 #define SyncNP (NVSync | PHSync)
29 #define SyncNN (NVSync | NHSync)
30 #define AST2500PreCatchCRT 0x00004000
33 #define VCLK25_175 0x00
34 #define VCLK28_322 0x01
40 #define VCLK56_25 0x07
43 #define VCLK78_75 0x0A
47 #define VCLK157_5 0x0E
52 #define VCLK106_5 0x12
53 #define VCLK146_25 0x13
54 #define VCLK148_5 0x14
56 #define VCLK88_75 0x16
59 #define VCLK97_75 0x19
60 #define VCLK118_25 0x1A
126 {0x00, 0x03, 0x00, 0x02},
127 {0x5f, 0x4f, 0x50, 0x82, 0x55, 0x81, 0xbf, 0x1f,
128 0x00, 0x4f, 0x0d, 0x0e, 0x00, 0x00, 0x00, 0x00,
129 0x9c, 0x8e, 0x8f, 0x28, 0x1f, 0x96, 0xb9, 0xa3,
131 {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x14, 0x07,
132 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
133 0x0c, 0x00, 0x0f, 0x08},
134 {0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00,
140 {0x01, 0x0f, 0x00, 0x06},
141 {0x5f, 0x4f, 0x50, 0x82, 0x55, 0x81, 0x0b, 0x3e,
142 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
143 0xe9, 0x8b, 0xdf, 0x28, 0x00, 0xe7, 0x04, 0xe3,
145 {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x14, 0x07,
146 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
147 0x01, 0x00, 0x0f, 0x00},
148 {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x0f,
154 {0x01, 0x0f, 0x00, 0x0e},
155 {0x5f, 0x4f, 0x50, 0x82, 0x54, 0x80, 0x0b, 0x3e,
156 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
157 0xea, 0x8c, 0xdf, 0x28, 0x40, 0xe7, 0x04, 0xa3,
159 {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
160 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
161 0x01, 0x00, 0x00, 0x00},
162 {0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x05, 0x0f,
168 {0x01, 0x0f, 0x00, 0x0e},
169 {0x5f, 0x4f, 0x50, 0x82, 0x54, 0x80, 0x0b, 0x3e,
170 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
171 0xea, 0x8c, 0xdf, 0x28, 0x40, 0xe7, 0x04, 0xa3,
173 {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
174 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
175 0x01, 0x00, 0x00, 0x00},
176 {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x0f,
182 {0x01, 0x0f, 0x00, 0x0e},
183 {0x5f, 0x4f, 0x50, 0x82, 0x54, 0x80, 0x0b, 0x3e,
184 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
185 0xea, 0x8c, 0xdf, 0x28, 0x40, 0xe7, 0x04, 0xa3,
187 {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
188 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
189 0x01, 0x00, 0x00, 0x00},
190 {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x0f,
196 { 800, 640, 8, 96, 525, 480, 2, 2,
VCLK25_175,
198 { 832, 640, 16, 40, 520, 480, 1, 3,
VCLK31_5,
200 { 840, 640, 16, 64, 500, 480, 1, 3,
VCLK31_5,
202 { 832, 640, 56, 56, 509, 480, 1, 3,
VCLK36,
204 { 832, 640, 56, 56, 509, 480, 1, 3,
VCLK36,
209 {1024, 800, 24, 72, 625, 600, 1, 2,
VCLK36,
211 {1056, 800, 40, 128, 628, 600, 1, 4,
VCLK40,
213 {1040, 800, 56, 120, 666, 600, 37, 6,
VCLK50,
215 {1056, 800, 16, 80, 625, 600, 1, 3,
VCLK49_5,
217 {1048, 800, 32, 64, 631, 600, 1, 3,
VCLK56_25,
219 {1048, 800, 32, 64, 631, 600, 1, 3,
VCLK56_25,
224 {1344, 1024, 24, 136, 806, 768, 3, 6,
VCLK65,
226 {1328, 1024, 24, 136, 806, 768, 3, 6,
VCLK75,
228 {1312, 1024, 16, 96, 800, 768, 1, 3,
VCLK78_75,
230 {1376, 1024, 48, 96, 808, 768, 1, 3,
VCLK94_5,
232 {1376, 1024, 48, 96, 808, 768, 1, 3,
VCLK94_5,
237 {1688, 1280, 48, 112, 1066, 1024, 1, 3,
VCLK108,
239 {1688, 1280, 16, 144, 1066, 1024, 1, 3,
VCLK135,
241 {1728, 1280, 64, 160, 1072, 1024, 1, 3,
VCLK157_5,
243 {1728, 1280, 64, 160, 1072, 1024, 1, 3,
VCLK157_5,
248 {2160, 1600, 64, 192, 1250, 1200, 1, 3,
VCLK162,
250 {2160, 1600, 64, 192, 1250, 1200, 1, 3,
VCLK162,
256 {1792, 1360, 64, 112, 795, 768, 3, 6,
VCLK85_5,
258 {1792, 1360, 64, 112, 795, 768, 3, 6,
VCLK85_5,
264 {1760, 1600, 48, 32, 926, 900, 3, 5,
VCLK97_75,
267 {2112, 1600, 88, 168, 934, 900, 3, 5,
VCLK118_25,
269 {2112, 1600, 88, 168, 934, 900, 3, 5,
VCLK118_25,
274 {2200, 1920, 88, 44, 1125, 1080, 4, 5,
VCLK148_5,
277 {2200, 1920, 88, 44, 1125, 1080, 4, 5,
VCLK148_5,
284 {1440, 1280, 48, 32, 823, 800, 3, 6,
VCLK71,
287 {1680, 1280, 72,128, 831, 800, 3, 6,
VCLK83_5,
289 {1680, 1280, 72,128, 831, 800, 3, 6,
VCLK83_5,
295 {1600, 1440, 48, 32, 926, 900, 3, 6,
VCLK88_75,
298 {1904, 1440, 80,152, 934, 900, 3, 6,
VCLK106_5,
300 {1904, 1440, 80,152, 934, 900, 3, 6,
VCLK106_5,
305 {1840, 1680, 48, 32, 1080, 1050, 3, 6,
VCLK119,
308 {2240, 1680,104,176, 1089, 1050, 3, 6,
VCLK146_25,
310 {2240, 1680,104,176, 1089, 1050, 3, 6,
VCLK146_25,
315 {2080, 1920, 48, 32, 1235, 1200, 3, 6,
VCLK154,
318 {2080, 1920, 48, 32, 1235, 1200, 3, 6,
VCLK154,
static const struct ast_vbios_enhtable res_1440x900[]
static struct ast_vbios_stdtable vbios_stdtable[]
#define AST2500PreCatchCRT
static const struct ast_vbios_enhtable res_800x600[]
static const struct ast_vbios_enhtable res_1360x768[]
static const struct ast_vbios_enhtable res_1024x768[]
static const struct ast_vbios_enhtable res_1280x1024[]
static const struct ast_vbios_enhtable res_1600x1200[]
static const struct ast_vbios_enhtable res_1600x900[]
static const struct ast_vbios_dclk_info dclk_table_ast2500[]
static const struct ast_vbios_enhtable res_1280x800[]
static const struct ast_vbios_enhtable res_1920x1080[]
static struct ast_vbios_dclk_info dclk_table[]
static const struct ast_vbios_enhtable res_1920x1200[]
static const struct ast_vbios_enhtable res_640x480[]
static const struct ast_vbios_enhtable res_1680x1050[]