2 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved.
3 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved.
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public
7 * License as published by the Free Software Foundation;
8 * either version 2, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTIES OR REPRESENTATIONS; without even
12 * the implied warranty of MERCHANTABILITY or FITNESS FOR
13 * A PARTICULAR PURPOSE.See the GNU General Public License
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 unsigned char SR
[StdSR
];
30 unsigned char GR
[StdGR
];
31 unsigned char AR
[StdAR
];
34 struct VideoModeTable
{
36 struct crt_mode_table
*crtc
;
43 struct io_reg
*io_reg_table
;
46 struct res_map_refresh
{
53 extern int NUM_TOTAL_RES_MAP_REFRESH
;
54 extern int NUM_TOTAL_CEA_MODES
;
55 extern int NUM_TOTAL_CN400_ModeXregs
;
56 extern int NUM_TOTAL_CN700_ModeXregs
;
57 extern int NUM_TOTAL_KM400_ModeXregs
;
58 extern int NUM_TOTAL_CX700_ModeXregs
;
59 extern int NUM_TOTAL_VX855_ModeXregs
;
60 extern int NUM_TOTAL_CLE266_ModeXregs
;
61 extern int NUM_TOTAL_PATCH_MODE
;
62 extern int NUM_TOTAL_MODETABLE
;
64 /********************/
66 /********************/
68 extern struct VideoModeTable CLE266Modes
[];
69 extern struct crt_mode_table CEAM1280x720
[];
70 extern struct crt_mode_table CEAM1920x1080
[];
71 extern struct VideoModeTable CEA_HDMI_Modes
[];
73 extern struct res_map_refresh res_map_refresh_tbl
[];
74 extern struct io_reg CN400_ModeXregs
[];
75 extern struct io_reg CN700_ModeXregs
[];
76 extern struct io_reg KM400_ModeXregs
[];
77 extern struct io_reg CX700_ModeXregs
[];
78 extern struct io_reg VX800_ModeXregs
[];
79 extern struct io_reg VX855_ModeXregs
[];
80 extern struct io_reg CLE266_ModeXregs
[];
81 extern struct io_reg PM1024x768
[];
82 extern struct patch_table res_patch_table
[];
83 extern struct VPITTable VPIT
;
84 #endif /* __VIAMODE_H__ */