4 * Register settings for SiS 300 series
6 * Copyright (C) 2001-2004 by Thomas Winischhofer, Vienna, Austria
8 * If distributed as part of the Linux kernel, the following license terms
11 * * This program is free software; you can redistribute it and/or modify
12 * * it under the terms of the GNU General Public License as published by
13 * * the Free Software Foundation; either version 2 of the named License,
14 * * or any later version.
16 * * This program is distributed in the hope that it will be useful,
17 * * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * * GNU General Public License for more details.
21 * * You should have received a copy of the GNU General Public License
22 * * along with this program; if not, write to the Free Software
23 * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
25 * Otherwise, the following license terms apply:
27 * * Redistribution and use in source and binary forms, with or without
28 * * modification, are permitted provided that the following conditions
30 * * 1) Redistributions of source code must retain the above copyright
31 * * notice, this list of conditions and the following disclaimer.
32 * * 2) Redistributions in binary form must reproduce the above copyright
33 * * notice, this list of conditions and the following disclaimer in the
34 * * documentation and/or other materials provided with the distribution.
35 * * 3) The name of the author may not be used to endorse or promote products
36 * * derived from this software without specific prior written permission.
38 * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
39 * * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
40 * * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
41 * * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
42 * * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
43 * * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
44 * * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
45 * * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
46 * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
47 * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
49 * Author: Thomas Winischhofer <thomas@winischhofer.net>
53 static const SiS_StStruct SiS300_SModeIDTable[] =
55 {0x01,0x9208,0x01,0x00,0x00,0x00,0x00,0x00, 0},
56 {0x01,0x1210,0x14,0x01,0x01,0x00,0x00,0x00, 0},
57 {0x01,0x1010,0x17,0x02,0x02,0x00,0x00,0x00, 0},
58 {0x03,0x8208,0x03,0x00,0x00,0x00,0x00,0x00, 0},
59 {0x03,0x0210,0x16,0x01,0x01,0x00,0x00,0x00, 0},
60 {0x03,0x0010,0x18,0x02,0x02,0x00,0x00,0x00, 0},
61 {0x05,0x9209,0x05,0x00,0x00,0x00,0x00,0x00, 0},
62 {0x06,0x8209,0x06,0x00,0x00,0x00,0x00,0x00, 0},
63 {0x07,0x0000,0x07,0x03,0x03,0x00,0x00,0x00, 0},
64 {0x07,0x0000,0x19,0x02,0x02,0x00,0x00,0x00, 0},
65 {0x0d,0x920a,0x0d,0x00,0x00,0x00,0x00,0x00, 0},
66 {0x0e,0x820a,0x0e,0x00,0x00,0x00,0x00,0x00, 0},
67 {0x0f,0x0202,0x11,0x01,0x01,0x00,0x00,0x00, 0},
68 {0x10,0x0212,0x12,0x01,0x01,0x00,0x00,0x00, 0},
69 {0x11,0x0212,0x1a,0x04,0x04,0x00,0x00,0x00, 0},
70 {0x12,0x0212,0x1b,0x04,0x04,0x00,0x00,0x00, 0},
71 {0x13,0x021b,0x1c,0x00,0x00,0x00,0x00,0x00, 0},
72 {0x12,0x0010,0x18,0x02,0x02,0x00,0x00,0x00, 0},
73 {0x12,0x0210,0x18,0x01,0x01,0x00,0x00,0x00, 0},
74 {0xff, 0, 0, 0, 0, 0, 0, 0, 0}
77 static const SiS_ExtStruct SiS300_EModeIDTable[] =
79 {0x6a,0x2212,0x0102,SIS_RI_800x600, 0x00,0x00,0x00,0x00,0x00,-1}, /* 800x600x? */
80 {0x2e,0x0a1b,0x0101,SIS_RI_640x480, 0x00,0x00,0x00,0x00,0x08,-1},
81 {0x2f,0x021b,0x0100,SIS_RI_640x400, 0x00,0x00,0x00,0x00,0x10,-1}, /* 640x400x8 */
82 {0x30,0x2a1b,0x0103,SIS_RI_800x600, 0x00,0x00,0x00,0x00,0x00,-1},
83 {0x31,0x4a1b,0x0000,SIS_RI_720x480, 0x00,0x00,0x00,0x00,0x11,-1}, /* 720x480x8 */
84 {0x32,0x6a1b,0x0000,SIS_RI_720x576, 0x00,0x00,0x00,0x00,0x12,-1}, /* 720x576x8 */
85 {0x33,0x4a1d,0x0000,SIS_RI_720x480, 0x00,0x00,0x00,0x00,0x11,-1}, /* 720x480x16 */
86 {0x34,0x6a1d,0x0000,SIS_RI_720x576, 0x00,0x00,0x00,0x00,0x12,-1}, /* 720x576x16 */
87 {0x35,0x4a1f,0x0000,SIS_RI_720x480, 0x00,0x00,0x00,0x00,0x11,-1}, /* 720x480x32 */
88 {0x36,0x6a1f,0x0000,SIS_RI_720x576, 0x00,0x00,0x00,0x00,0x12,-1}, /* 720x576x32 */
89 {0x37,0x0212,0x0104,SIS_RI_1024x768, 0x00,0x00,0x00,0x00,0x13,-1}, /* 1024x768x? */
90 {0x38,0x0a1b,0x0105,SIS_RI_1024x768, 0x00,0x00,0x00,0x00,0x13,-1}, /* 1024x768x8 */
91 {0x3a,0x0e3b,0x0107,SIS_RI_1280x1024,0x00,0x00,0x00,0x00,0x1a,-1}, /* 1280x1024x8 */
92 {0x3c,0x063b,0x0130,SIS_RI_1600x1200,0x00,0x00,0x00,0x00,0x1e,-1},
93 {0x3d,0x067d,0x0131,SIS_RI_1600x1200,0x00,0x00,0x00,0x00,0x1e,-1},
94 {0x40,0x921c,0x010d,SIS_RI_320x200, 0x00,0x00,0x00,0x00,0x23,-1}, /* 320x200x15 */
95 {0x41,0x921d,0x010e,SIS_RI_320x200, 0x00,0x00,0x00,0x00,0x23,-1}, /* 320x200x16 */
96 {0x43,0x0a1c,0x0110,SIS_RI_640x480, 0x00,0x00,0x00,0x00,0x08,-1},
97 {0x44,0x0a1d,0x0111,SIS_RI_640x480, 0x00,0x00,0x00,0x00,0x08,-1},
98 {0x46,0x2a1c,0x0113,SIS_RI_800x600, 0x00,0x00,0x00,0x00,0x00,-1}, /* 800x600x15 */
99 {0x47,0x2a1d,0x0114,SIS_RI_800x600, 0x00,0x00,0x00,0x00,0x00,-1}, /* 800x600x16 */
100 {0x49,0x0a3c,0x0116,SIS_RI_1024x768, 0x00,0x00,0x00,0x00,0x13,-1},
101 {0x4a,0x0a3d,0x0117,SIS_RI_1024x768, 0x00,0x00,0x00,0x00,0x13,-1},
102 {0x4c,0x0e7c,0x0119,SIS_RI_1280x1024,0x00,0x00,0x00,0x00,0x1a,-1},
103 {0x4d,0x0e7d,0x011a,SIS_RI_1280x1024,0x00,0x00,0x00,0x00,0x1a,-1},
104 {0x50,0x921b,0x0132,SIS_RI_320x240, 0x00,0x00,0x00,0x00,0x24,-1}, /* 320x240x8 */
105 {0x51,0xb21b,0x0133,SIS_RI_400x300, 0x00,0x00,0x00,0x00,0x25,-1}, /* 400x300x8 */
106 {0x52,0x921b,0x0134,SIS_RI_512x384, 0x00,0x00,0x00,0x00,0x26,-1}, /* 512x384x8 */
107 {0x56,0x921d,0x0135,SIS_RI_320x240, 0x00,0x00,0x00,0x00,0x24,-1}, /* 320x240x16 */
108 {0x57,0xb21d,0x0136,SIS_RI_400x300, 0x00,0x00,0x00,0x00,0x25,-1}, /* 400x300x16 */
109 {0x58,0x921d,0x0137,SIS_RI_512x384, 0x00,0x00,0x00,0x00,0x26,-1}, /* 512x384x16 */
110 {0x59,0x921b,0x0138,SIS_RI_320x200, 0x00,0x00,0x00,0x00,0x23,-1}, /* 320x200x8 */
111 {0x5c,0x921f,0x0000,SIS_RI_512x384, 0x00,0x00,0x00,0x00,0x26,-1}, /* 512x384x32 */
112 {0x5d,0x021d,0x0139,SIS_RI_640x400, 0x00,0x00,0x00,0x00,0x10,-1}, /* 640x400x16 */
113 {0x5e,0x021f,0x0000,SIS_RI_640x400, 0x00,0x00,0x00,0x00,0x10,-1}, /* 640x400x32 */
114 {0x62,0x0a3f,0x013a,SIS_RI_640x480, 0x00,0x00,0x00,0x00,0x08,-1},
115 {0x63,0x2a3f,0x013b,SIS_RI_800x600, 0x00,0x00,0x00,0x00,0x00,-1}, /* 800x600x32 */
116 {0x64,0x0a7f,0x013c,SIS_RI_1024x768, 0x00,0x00,0x00,0x00,0x13,-1},
117 {0x65,0x0eff,0x013d,SIS_RI_1280x1024,0x00,0x00,0x00,0x00,0x1a,-1},
118 {0x66,0x06ff,0x013e,SIS_RI_1600x1200,0x00,0x00,0x00,0x00,0x1e,-1},
119 {0x68,0x067b,0x013f,SIS_RI_1920x1440,0x00,0x00,0x00,0x00,0x27,-1},
120 {0x69,0x06fd,0x0140,SIS_RI_1920x1440,0x00,0x00,0x00,0x00,0x27,-1},
121 {0x6b,0x07ff,0x0000,SIS_RI_1920x1440,0x00,0x00,0x00,0x00,0x27,-1},
122 {0x6c,0x067b,0x0000,SIS_RI_2048x1536,0x00,0x00,0x00,0x00,0x28,-1}, /* 2048x1536x8 - not in BIOS! */
123 {0x6d,0x06fd,0x0000,SIS_RI_2048x1536,0x00,0x00,0x00,0x00,0x28,-1}, /* 2048x1536x16 - not in BIOS! */
124 {0x70,0x6a1b,0x0000,SIS_RI_800x480, 0x00,0x00,0x07,0x00,0x2d,-1}, /* 800x480x8 */
125 {0x71,0x4a1b,0x0000,SIS_RI_1024x576, 0x00,0x00,0x00,0x00,0x30,-1}, /* 1024x576x8 */
126 {0x74,0x4a1d,0x0000,SIS_RI_1024x576, 0x00,0x00,0x00,0x00,0x30,-1}, /* 1024x576x16 */
127 {0x75,0x0e3d,0x0000,SIS_RI_1280x720, 0x00,0x00,0x00,0x00,0x33,-1}, /* 1280x720x16 */
128 {0x76,0x6a1f,0x0000,SIS_RI_800x480, 0x00,0x00,0x07,0x00,0x2d,-1}, /* 800x480x32 */
129 {0x77,0x4a3f,0x0000,SIS_RI_1024x576, 0x00,0x00,0x00,0x00,0x30,-1}, /* 1024x576x32 */
130 {0x78,0x0eff,0x0000,SIS_RI_1280x720, 0x00,0x00,0x00,0x00,0x33,-1}, /* 1280x720x32 */
131 {0x79,0x0e3b,0x0000,SIS_RI_1280x720, 0x00,0x00,0x00,0x00,0x33,-1}, /* 1280x720x8 */
132 {0x7a,0x6a1d,0x0000,SIS_RI_800x480, 0x00,0x00,0x07,0x00,0x2d,-1}, /* 800x480x16 */
133 {0x7c,0x0a3b,0x0000,SIS_RI_1280x960, 0x00,0x00,0x00,0x00,0x29,-1}, /* 1280x960x8 */
134 {0x7d,0x0a7d,0x0000,SIS_RI_1280x960, 0x00,0x00,0x00,0x00,0x29,-1}, /* 1280x960x16 */
135 {0x7e,0x0aff,0x0000,SIS_RI_1280x960, 0x00,0x00,0x00,0x00,0x29,-1}, /* 1280x960x32 */
136 {0x20,0x4a1b,0x0000,SIS_RI_1024x600, 0x00,0x00,0x00,0x00,0x2b,-1}, /* 1024x600 */
137 {0x21,0x4a3d,0x0000,SIS_RI_1024x600, 0x00,0x00,0x00,0x00,0x2b,-1},
138 {0x22,0x4a7f,0x0000,SIS_RI_1024x600, 0x00,0x00,0x00,0x00,0x2b,-1},
139 {0x23,0x4a1b,0x0000,SIS_RI_1152x768, 0x00,0x00,0x00,0x00,0x2c,-1}, /* 1152x768 */
140 {0x24,0x4a3d,0x0000,SIS_RI_1152x768, 0x00,0x00,0x00,0x00,0x2c,-1},
141 {0x25,0x4a7f,0x0000,SIS_RI_1152x768, 0x00,0x00,0x00,0x00,0x2c,-1},
142 {0x29,0x4e1b,0x0000,SIS_RI_1152x864, 0x00,0x00,0x00,0x00,0x36,-1}, /* 1152x864 */
143 {0x2a,0x4e3d,0x0000,SIS_RI_1152x864, 0x00,0x00,0x00,0x00,0x36,-1},
144 {0x2b,0x4e7f,0x0000,SIS_RI_1152x864, 0x00,0x00,0x00,0x00,0x36,-1},
145 {0x39,0x6a1b,0x0000,SIS_RI_848x480, 0x00,0x00,0x00,0x00,0x39,-1}, /* 848x480 */
146 {0x3b,0x6a3d,0x0000,SIS_RI_848x480, 0x00,0x00,0x00,0x00,0x39,-1},
147 {0x3e,0x6a7f,0x0000,SIS_RI_848x480, 0x00,0x00,0x00,0x00,0x39,-1},
148 {0x3f,0x6a1b,0x0000,SIS_RI_856x480, 0x00,0x00,0x00,0x00,0x3b,-1}, /* 856x480 */
149 {0x42,0x6a3d,0x0000,SIS_RI_856x480, 0x00,0x00,0x00,0x00,0x3b,-1},
150 {0x45,0x6a7f,0x0000,SIS_RI_856x480, 0x00,0x00,0x00,0x00,0x3b,-1},
151 {0x48,0x6a3b,0x0000,SIS_RI_1360x768, 0x00,0x00,0x00,0x00,0x3d,-1}, /* 1360x768 */
152 {0x4b,0x6a7d,0x0000,SIS_RI_1360x768, 0x00,0x00,0x00,0x00,0x3d,-1},
153 {0x4e,0x6aff,0x0000,SIS_RI_1360x768, 0x00,0x00,0x00,0x00,0x3d,-1},
154 {0x4f,0x921f,0x0000,SIS_RI_320x200, 0x00,0x00,0x00,0x00,0x23,-1}, /* 320x200x32 */
155 {0x53,0x921f,0x0000,SIS_RI_320x240, 0x00,0x00,0x00,0x00,0x24,-1}, /* 320x240x32 */
156 {0x54,0xb21f,0x0000,SIS_RI_400x300, 0x00,0x00,0x00,0x00,0x25,-1}, /* 400x300x32 */
157 {0x55,0x2e3b,0x0000,SIS_RI_1280x768, 0x00,0x00,0x00,0x00,0x3e,-1}, /* 1280x768 */
158 {0x5a,0x2e7d,0x0000,SIS_RI_1280x768, 0x00,0x00,0x00,0x00,0x3e,-1},
159 {0x5b,0x2eff,0x0000,SIS_RI_1280x768, 0x00,0x00,0x00,0x00,0x3e,-1},
160 {0x5f,0x6a1b,0x0000,SIS_RI_768x576, 0x00,0x00,0x00,0x00,0x3f,-1}, /* 768x576x8 */
161 {0x60,0x6a1d,0x0000,SIS_RI_768x576, 0x00,0x00,0x00,0x00,0x3f,-1}, /* 768x576x16 */
162 {0x61,0x6a1f,0x0000,SIS_RI_768x576, 0x00,0x00,0x00,0x00,0x3f,-1}, /* 768x576x32 */
163 {0x67,0x6e3b,0x0000,SIS_RI_1360x1024,0x00,0x00,0x00,0x00,0x40,-1}, /* 1360x1024x8 (BARCO) */
164 {0x6f,0x6e7d,0x0000,SIS_RI_1360x1024,0x00,0x00,0x00,0x00,0x40,-1}, /* 1360x1024x16 (BARCO) */
165 {0x72,0x6eff,0x0000,SIS_RI_1360x1024,0x00,0x00,0x00,0x00,0x40,-1}, /* 1360x1024x32 (BARCO) */
166 {0xff,0x0000,0xffff,0, 0x00,0x00,0x00,0x00,0x00}
169 static const SiS_Ext2Struct SiS300_RefIndex[] =
171 {0x085f,0x0d,0x03,0x05,0x05,0x6a, 800, 600, 0}, /* 00 */
172 {0x0467,0x0e,0x44,0x05,0x05,0x6a, 800, 600, 0}, /* 01 */
173 {0x0067,0x0f,0x07,0x48,0x05,0x6a, 800, 600, 0}, /* 02 - CRT1CRTC was 0x4f */
174 {0x0067,0x10,0x06,0x8b,0x05,0x6a, 800, 600, 0}, /* 03 */
175 {0x0147,0x11,0x08,0x00,0x05,0x6a, 800, 600, 0}, /* 04 */
176 {0x0147,0x12,0x0c,0x00,0x05,0x6a, 800, 600, 0}, /* 05 */
177 {0x0047,0x11,0x4e,0x00,0x05,0x6a, 800, 600, 0}, /* 06 - CRT1CRTC was 0x51 */
178 {0x0047,0x11,0x13,0x00,0x05,0x6a, 800, 600, 0}, /* 07 */
179 {0xc85f,0x05,0x00,0x04,0x04,0x2e, 640, 480, 0}, /* 08 */
180 {0xc067,0x06,0x02,0x04,0x04,0x2e, 640, 480, 0}, /* 09 */
181 {0xc067,0x07,0x02,0x47,0x04,0x2e, 640, 480, 0}, /* 0a */
182 {0xc067,0x08,0x03,0x8a,0x04,0x2e, 640, 480, 0}, /* 0b */
183 {0xc047,0x09,0x05,0x00,0x04,0x2e, 640, 480, 0}, /* 0c */
184 {0xc047,0x0a,0x08,0x00,0x04,0x2e, 640, 480, 0}, /* 0d */
185 {0xc047,0x0b,0x0a,0x00,0x04,0x2e, 640, 480, 0}, /* 0e */
186 {0xc047,0x0c,0x10,0x00,0x04,0x2e, 640, 480, 0}, /* 0f */
187 {0x487f,0x04,0x00,0x00,0x00,0x2f, 640, 400, 0}, /* 10 */
188 {0xc06f,0x31,0x01,0x06,0x13,0x31, 720, 480, 0}, /* 11 */
189 {0x006f,0x32,0x03,0x06,0x14,0x32, 720, 576, 0}, /* 12 */
190 {0x0187,0x15,0x05,0x00,0x06,0x37,1024, 768, 0}, /* 13 */
191 {0xc877,0x16,0x09,0x06,0x06,0x37,1024, 768, 0}, /* 14 */
192 {0xc067,0x17,0x0b,0x49,0x06,0x37,1024, 768, 0}, /* 15 - CRT1CRTC was 0x97 */
193 {0x0267,0x18,0x0d,0x00,0x06,0x37,1024, 768, 0}, /* 16 */
194 {0x0047,0x19,0x11,0x8c,0x06,0x37,1024, 768, 0}, /* 17 - CRT1CRTC was 0x59 */
195 {0x0047,0x1a,0x52,0x00,0x06,0x37,1024, 768, 0}, /* 18 */
196 {0x0007,0x1b,0x16,0x00,0x06,0x37,1024, 768, 0}, /* 19 - CRT1CRTC was 0x5b */
197 {0x0387,0x1c,0x4d,0x00,0x07,0x3a,1280,1024, 0}, /* 1a - CRT1CRTC was 0x5c */
198 {0x0077,0x1d,0x14,0x07,0x07,0x3a,1280,1024, 0}, /* 1b */
199 {0x0047,0x1e,0x17,0x00,0x07,0x3a,1280,1024, 0}, /* 1c */
200 {0x0007,0x1f,0x98,0x00,0x07,0x3a,1280,1024, 0}, /* 1d */
201 {0x0007,0x20,0x59,0x00,0x00,0x3c,1600,1200, 0}, /* 1e - CRT1CRTC was 0x60 */
202 {0x0007,0x21,0x5a,0x00,0x00,0x3c,1600,1200, 0}, /* 1f */
203 {0x0007,0x22,0x1b,0x00,0x00,0x3c,1600,1200, 0}, /* 20 */
204 {0x0007,0x23,0x1d,0x00,0x00,0x3c,1600,1200, 0}, /* 21 - CRT1CRTC was 0x63 */
205 {0x0007,0x24,0x1e,0x00,0x00,0x3c,1600,1200, 0}, /* 22 */
206 {0x407f,0x00,0x00,0x00,0x00,0x40, 320, 200, 0}, /* 23 */
207 {0xc07f,0x01,0x00,0x04,0x04,0x50, 320, 240, 0}, /* 24 */
208 {0x0077,0x02,0x04,0x05,0x05,0x51, 400, 300, 0}, /* 25 */
209 {0xc877,0x03,0x09,0x06,0x06,0x52, 512, 384, 0}, /* 26 */ /* was c077 */
210 {0x8207,0x25,0x1f,0x00,0x00,0x68,1920,1440, 0}, /* 27 */
211 {0x0007,0x26,0x20,0x00,0x00,0x6c,2048,1536, 0}, /* 28 */
212 {0x0067,0x27,0x14,0x08,0x0a,0x6e,1280, 960, 0}, /* 29 - 1280x960-60 */
213 {0x0027,0x45,0x3c,0x08,0x0a,0x6e,1280, 960, 0}, /* 2a - 1280x960-85 */
214 {0xc077,0x33,0x09,0x06,0x00,0x20,1024, 600, 0}, /* 2b */
215 {0xc077,0x34,0x0b,0x06,0x00,0x23,1152, 768, 0}, /* 2c */ /* VCLK 0x09 */
216 {0x0077,0x35,0x27,0x08,0x18,0x70, 800, 480, 0}, /* 2d */
217 {0x0047,0x36,0x37,0x08,0x18,0x70, 800, 480, 0}, /* 2e */
218 {0x0047,0x37,0x08,0x08,0x18,0x70, 800, 480, 0}, /* 2f */
219 {0x0077,0x38,0x09,0x09,0x19,0x71,1024, 576, 0}, /* 30 */
220 {0x0047,0x39,0x38,0x09,0x19,0x71,1024, 576, 0}, /* 31 */
221 {0x0047,0x3a,0x11,0x09,0x19,0x71,1024, 576, 0}, /* 32 */
222 {0x0077,0x3b,0x39,0x0a,0x0c,0x75,1280, 720, 0}, /* 33 */
223 {0x0047,0x3c,0x3a,0x0a,0x0c,0x75,1280, 720, 0}, /* 34 */
224 {0x0007,0x3d,0x3b,0x0a,0x0c,0x75,1280, 720, 0}, /* 35 */
225 {0x0067,0x49,0x35,0x06,0x1a,0x29,1152, 864, 0}, /* 36 1152x864-60Hz */
226 {0x0067,0x3e,0x34,0x06,0x1a,0x29,1152, 864, 0}, /* 37 1152x864-75Hz */
227 {0x0047,0x44,0x3a,0x06,0x1a,0x29,1152, 864, 0}, /* 38 1152x864-85Hz */
228 {0x00c7,0x3f,0x28,0x00,0x16,0x39, 848, 480, 0}, /* 39 848x480-38Hzi */
229 {0xc067,0x40,0x3d,0x0b,0x16,0x39, 848, 480, 0}, /* 3a 848x480-60Hz */
230 {0x00c7,0x41,0x28,0x00,0x17,0x3f, 856, 480, 0}, /* 3b 856x480-38Hzi */
231 {0xc047,0x42,0x28,0x00,0x17,0x3f, 856, 480, 0}, /* 3c 856x480-60Hz */
232 {0x0067,0x43,0x3e,0x0c,0x1b,0x48,1360, 768, 0}, /* 3d 1360x768-60Hz */
233 {0x0077,0x46,0x3f,0x08,0x08,0x55,1280, 768, 0}, /* 3e 1280x768-60Hz */
234 {0x006f,0x47,0x03,0x06,0x15,0x5f, 768, 576, 0}, /* 3f 768x576 */
235 {0x0027,0x48,0x13,0x08,0x00,0x67,1360,1024, 0}, /* 40 1360x1024-59Hz (BARCO1366 only) */
236 {0xffff, 0, 0, 0, 0, 0, 0, 0, 0}
239 static const SiS_VBModeStruct SiS300_VBModeIDTable[] =
241 {0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00},
242 {0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x01},
243 {0x01,0x00,0x00,0x00,0x01,0x00,0x01,0x02},
244 {0x03,0x00,0x00,0x00,0x02,0x00,0x02,0x00},
245 {0x03,0x00,0x00,0x00,0x02,0x00,0x02,0x01},
246 {0x03,0x00,0x00,0x00,0x03,0x00,0x03,0x02},
247 {0x05,0x00,0x00,0x01,0x04,0x00,0x00,0x00},
248 {0x06,0x00,0x00,0x01,0x05,0x00,0x02,0x00},
249 {0x07,0x00,0x00,0x00,0x03,0x00,0x03,0x01},
250 {0x07,0x00,0x00,0x00,0x03,0x00,0x03,0x02},
251 {0x0d,0x00,0x00,0x01,0x04,0x00,0x00,0x00},
252 {0x0e,0x00,0x00,0x01,0x05,0x00,0x02,0x00},
253 {0x0f,0x00,0x00,0x01,0x05,0x00,0x02,0x01},
254 {0x10,0x00,0x00,0x01,0x05,0x00,0x02,0x01},
255 {0x11,0x00,0x00,0x01,0x05,0x00,0x02,0x03},
256 {0x12,0x00,0x00,0x01,0x05,0x00,0x02,0x03},
257 {0x13,0x00,0x00,0x01,0x04,0x00,0x04,0x00},
258 {0x6a,0x00,0x00,0x01,0x07,0x00,0x08,0x0a},
259 {0x2e,0x00,0x00,0x01,0x05,0x00,0x06,0x08},
260 {0x2f,0x00,0x00,0x01,0x05,0x00,0x06,0x06},
261 {0x30,0x00,0x00,0x01,0x07,0x00,0x08,0x0a},
262 {0x31,0x00,0x00,0x01,0x06,0x00,0x00,0x00},
263 {0x32,0x00,0x00,0x01,0x06,0x00,0x00,0x00},
264 {0x33,0x00,0x00,0x01,0x06,0x00,0x00,0x00},
265 {0x34,0x00,0x00,0x01,0x06,0x00,0x00,0x00},
266 {0x35,0x00,0x00,0x01,0x06,0x00,0x00,0x00},
267 {0x36,0x00,0x00,0x01,0x06,0x00,0x00,0x00},
268 {0x37,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c},
269 {0x38,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c},
270 {0x3a,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d},
271 {0x40,0x00,0x00,0x01,0x04,0x00,0x05,0x05},
272 {0x41,0x00,0x00,0x01,0x04,0x00,0x05,0x05},
273 {0x43,0x00,0x00,0x01,0x05,0x00,0x06,0x08},
274 {0x44,0x00,0x00,0x01,0x05,0x00,0x06,0x08},
275 {0x46,0x00,0x00,0x01,0x07,0x00,0x08,0x0a},
276 {0x47,0x00,0x00,0x01,0x07,0x00,0x08,0x0a},
277 {0x49,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c},
278 {0x4a,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c},
279 {0x4c,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d},
280 {0x4d,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d},
281 {0x4f,0x00,0x00,0x01,0x04,0x00,0x05,0x05},
282 {0x50,0x00,0x00,0x01,0x04,0x00,0x05,0x07},
283 {0x51,0x00,0x00,0x01,0x07,0x00,0x07,0x09},
284 {0x52,0x00,0x00,0x01,0x00,0x00,0x09,0x0b},
285 {0x53,0x00,0x00,0x01,0x04,0x00,0x05,0x07},
286 {0x54,0x00,0x00,0x01,0x07,0x00,0x07,0x09},
287 {0x56,0x00,0x00,0x01,0x04,0x00,0x05,0x07},
288 {0x57,0x00,0x00,0x01,0x07,0x00,0x07,0x09},
289 {0x58,0x00,0x00,0x01,0x00,0x00,0x09,0x0b},
290 {0x59,0x00,0x00,0x01,0x04,0x00,0x05,0x05},
291 {0x5c,0x00,0x00,0x01,0x00,0x00,0x09,0x0b},
292 {0x5d,0x00,0x00,0x01,0x05,0x00,0x06,0x06},
293 {0x5e,0x00,0x00,0x01,0x05,0x00,0x06,0x06},
294 {0x5f,0x00,0x00,0x01,0x06,0x00,0x00,0x00},
295 {0x60,0x00,0x00,0x01,0x06,0x00,0x00,0x00},
296 {0x61,0x00,0x00,0x01,0x06,0x00,0x00,0x00},
297 {0x62,0x00,0x00,0x01,0x05,0x00,0x06,0x08},
298 {0x63,0x00,0x00,0x01,0x07,0x00,0x08,0x0a},
299 {0x64,0x00,0x00,0x01,0x00,0x00,0x0a,0x0c},
300 {0x65,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d},
301 {0x6c,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d},
302 {0x6d,0x00,0x00,0x01,0x00,0x00,0x0b,0x0d},
303 {0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00}
306 static const SiS_CRT1TableStruct SiS300_CRT1Table[] =
309 {{0x2d,0x27,0x28,0x90,0x2c,0x80,0xbf,0x1f, /* 0x00 - 320x200 */
310 0x9c,0x8e,0x8f,0x96,0xb9,0x30,0x00,0x00, /* HRE [4],[15] is invalid - but correcting it does not work */
314 {{0x2d,0x27,0x27,0x91,0x2c,0x92,0xbf,0x1f, /* 0x00 - corrected 320x200-72 - does not work */
315 0x9c,0x8e,0x8f,0x96,0xb9,0x30,0x00,0x04,
318 {{0x2d,0x27,0x28,0x90,0x2c,0x80,0x0b,0x3e, /* 0x01 */
319 0xe9,0x8b,0xdf,0xe7,0x04,0x00,0x00,0x00, /* HRE [4],[15] is invalid - but correcting it does not work */
322 {{0x2d,0x27,0x27,0x91,0x2c,0x92,0x0b,0x3e, /* 0x01 - corrected 320x240-60 - does not work */
323 0xe9,0x8b,0xdf,0xe7,0x04,0x00,0x00,0x04,
326 {{0x3d,0x31,0x31,0x81,0x37,0x1f,0x72,0xf0, /* 0x02 */
327 0x58,0x8c,0x57,0x57,0x73,0x20,0x00,0x05,
330 {{0x3d,0x31,0x31,0x81,0x37,0x1f,0x72,0xf0, /* 0x02 - corrected 400x300-60 */
331 0x58,0x8c,0x57,0x57,0x73,0x20,0x00,0x05,
334 {{0x4f,0x3f,0x3f,0x93,0x45,0x0d,0x24,0xf5,
335 0x02,0x88,0xff,0xff,0x25,0x10,0x00,0x01,
337 {{0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f,
338 0x9c,0x8e,0x8f,0x96,0xb9,0x30,0x00,0x05,
341 {{0x5f,0x4f,0x50,0x82,0x55,0x81,0x0b,0x3e, /* 0x05 */
342 0xe9,0x8b,0xdf,0xe7,0x04,0x00,0x00,0x05,
345 {{0x5f,0x4f,0x4f,0x83,0x55,0x81,0x0b,0x3e, /* 0x05 - corrected 640x480-60 */
346 0xe9,0x8b,0xdf,0xe8,0x0c,0x00,0x00,0x05,
349 {{0x63,0x4f,0x50,0x86,0x56,0x9b,0x06,0x3e, /* 0x06 */
350 0xe8,0x8b,0xdf,0xe7,0xff,0x10,0x00,0x01,
353 {{0x63,0x4f,0x4f,0x87,0x56,0x9b,0x06,0x3e, /* 0x06 - corrected 640x480-72 */
354 0xe8,0x8a,0xdf,0xe7,0x07,0x00,0x00,0x01,
356 {{0x64,0x4f,0x4f,0x88,0x55,0x9d,0xf2,0x1f,
357 0xe0,0x83,0xdf,0xdf,0xf3,0x10,0x00,0x01,
359 {{0x63,0x4f,0x4f,0x87,0x5a,0x81,0xfb,0x1f,
360 0xe0,0x83,0xdf,0xdf,0xfc,0x10,0x00,0x05,
363 {{0x66,0x4f,0x4f,0x86,0x56,0x9e,0x03,0x3e, /* 0x09 */
364 0xe4,0x87,0xdf,0xdf,0x04,0x00,0x00,0x01,
367 {{0x67,0x4f,0x4f,0x8b,0x57,0x83,0x10,0x3e, /* 0x09 - corrected 640x480-100 */
368 0xe7,0x8d,0xdf,0xe6,0x11,0x00,0x00,0x05,
371 {{0x6c,0x4f,0x4f,0x83,0x59,0x9e,0x00,0x3e, /* 0x0a */
372 0xe5,0x8d,0xdf,0xdf,0x01,0x00,0x00,0x01,
375 {{0x67,0x4f,0x4f,0x8b,0x57,0x83,0x10,0x3e, /* 0x0a - corrected 640x480-120 */
376 0xe7,0x8d,0xdf,0xe6,0x11,0x00,0x00,0x05,
378 {{0x63,0x4f,0x4f,0x87,0x56,0x9d,0xfb,0x1f,
379 0xe0,0x83,0xdf,0xdf,0xfc,0x10,0x00,0x01,
381 {{0x65,0x4f,0x4f,0x89,0x57,0x9f,0xfb,0x1f,
382 0xe6,0x8a,0xdf,0xdf,0xfc,0x10,0x00,0x01, /* Corrected VDE, VBE */
384 {{0x7b,0x63,0x63,0x9f,0x6a,0x93,0x6f,0xf0,
385 0x58,0x8a,0x57,0x57,0x70,0x20,0x00,0x05,
387 {{0x7f,0x63,0x63,0x83,0x6c,0x1c,0x72,0xf0,
388 0x58,0x8c,0x57,0x57,0x73,0x20,0x00,0x06,
390 {{0x7d,0x63,0x63,0x81,0x6e,0x1d,0x98,0xf0,
391 0x7c,0x82,0x57,0x57,0x99,0x00,0x00,0x06,
393 {{0x7f,0x63,0x63,0x83,0x69,0x13,0x6f,0xf0,
394 0x58,0x8b,0x57,0x57,0x70,0x20,0x00,0x06,
396 {{0x7e,0x63,0x63,0x82,0x6b,0x13,0x75,0xf0,
397 0x58,0x8b,0x57,0x57,0x76,0x20,0x00,0x06,
399 {{0x8c,0x63,0x63,0x87,0x72,0x16,0x7e,0xf0,
400 0x59,0x8d,0x57,0x57,0x7f,0x00,0x00,0x06,
402 {{0x7e,0x63,0x63,0x82,0x6c,0x14,0x75,0xe0,
403 0x58,0x0b,0x57,0x57,0x76,0x20,0x00,0x06,
405 {{0x7e,0x63,0x63,0x82,0x6c,0x14,0x75,0xe0, /* 0x14 */
406 0x58,0x0b,0x57,0x57,0x76,0x20,0x00,0x06,
408 {{0x99,0x7f,0x7f,0x9d,0x84,0x1a,0x96,0x1f,
409 0x7f,0x83,0x7f,0x7f,0x97,0x10,0x00,0x02,
411 {{0xa3,0x7f,0x7f,0x87,0x86,0x97,0x24,0xf5,
412 0x02,0x88,0xff,0xff,0x25,0x10,0x00,0x02,
414 {{0xa1,0x7f,0x7f,0x85,0x86,0x97,0x24,0xf5,
415 0x02,0x88,0xff,0xff,0x25,0x10,0x00,0x02,
417 {{0x9f,0x7f,0x7f,0x83,0x85,0x91,0x1e,0xf5,
418 0x00,0x83,0xff,0xff,0x1f,0x10,0x00,0x02,
420 {{0xa7,0x7f,0x7f,0x8b,0x89,0x95,0x26,0xf5,
421 0x00,0x83,0xff,0xff,0x27,0x10,0x00,0x02,
423 {{0x9f,0x7f,0x7f,0x83,0x83,0x93,0x1e,0xf5, /* 0x1a */
424 0x00,0x84,0xff,0xff,0x1f,0x10,0x00,0x02,
426 {{0xa2,0x7f,0x7f,0x86,0x84,0x94,0x37,0xf5,
427 0x0b,0x82,0xff,0xff,0x38,0x10,0x00,0x02,
429 {{0xcf,0x9f,0x9f,0x93,0xb2,0x01,0x14,0xba,
430 0x00,0x83,0xff,0xff,0x15,0x00,0x00,0x03,
432 {{0xce,0x9f,0x9f,0x92,0xa9,0x17,0x28,0x5a,
433 0x00,0x83,0xff,0xff,0x29,0x09,0x00,0x07,
435 {{0xce,0x9f,0x9f,0x92,0xa5,0x17,0x28,0x5a, /* 0x1e */
436 0x00,0x83,0xff,0xff,0x29,0x09,0x00,0x07,
438 {{0xd3,0x9f,0x9f,0x97,0xab,0x1f,0x2e,0x5a,
439 0x00,0x83,0xff,0xff,0x2f,0x09,0x00,0x07,
441 {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10,
442 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04,
444 {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10,
445 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04,
447 {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10,
448 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04,
450 {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10,
451 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04,
453 {{0x09,0xc7,0xc7,0x8d,0xd3,0x0b,0xe0,0x10, /* 36: 1600x1200x85Hz */
454 0xb0,0x83,0xaf,0xaf,0xe1,0x2f,0x01,0x04,
456 {{0x3f,0xef,0xef,0x83,0xfd,0x1a,0xda,0x1f, /* 37: 1920x1440x60Hz */
457 0xa0,0x84,0x9f,0x9f,0xdb,0x1f,0x01,0x01,
459 {{0x55,0xff,0xff,0x99,0x0d,0x0c,0x3e,0xba,
460 0x00,0x84,0xff,0xff,0x3f,0x0f,0x41,0x05,
463 {{0xdc,0x9f,0x9f,0x00,0xab,0x19,0xe6,0xef, /* 0x27: 1280x960-70 - invalid! */
464 0xc0,0xc3,0xbf,0xbf,0xe7,0x10,0x00,0x07,
467 {{0xdc,0x9f,0x9f,0x80,0xaf,0x9d,0xe6,0xff, /* 0x27: 1280x960-60 - correct */
468 0xc0,0x83,0xbf,0xbf,0xe7,0x10,0x00,0x07,
470 {{0x7f,0x63,0x63,0x83,0x6c,0x1c,0x72,0xba, /* 0x28 */
471 0x27,0x8b,0xdf,0xdf,0x73,0x00,0x00,0x06,
473 {{0x7f,0x63,0x63,0x83,0x69,0x13,0x6f,0xba,
474 0x26,0x89,0xdf,0xdf,0x6f,0x00,0x00,0x06,
476 {{0x7f,0x63,0x63,0x82,0x6b,0x13,0x75,0xba,
477 0x29,0x8c,0xdf,0xdf,0x75,0x00,0x00,0x06,
479 {{0xa3,0x7f,0x7f,0x87,0x86,0x97,0x24,0xf1,
480 0xaf,0x85,0x3f,0x3f,0x25,0x30,0x00,0x02,
482 {{0x9f,0x7f,0x7f,0x83,0x85,0x91,0x1e,0xf1,
483 0xad,0x81,0x3f,0x3f,0x1f,0x30,0x00,0x02,
485 {{0xa7,0x7f,0x7f,0x88,0x89,0x15,0x26,0xf1,
486 0xb1,0x85,0x3f,0x3f,0x27,0x30,0x00,0x02,
488 {{0xce,0x9f,0x9f,0x92,0xa9,0x17,0x28,0xc4,
489 0x7a,0x8e,0xcf,0xcf,0x29,0x21,0x00,0x07,
491 {{0xce,0x9f,0x9f,0x92,0xa5,0x17,0x28,0xd4,
492 0x7a,0x8e,0xcf,0xcf,0x29,0x21,0x00,0x07,
494 {{0xd3,0x9f,0x9f,0x97,0xab,0x1f,0x2e,0xd4,
495 0x7d,0x81,0xcf,0xcf,0x2f,0x21,0x00,0x07,
497 {{0x6b,0x59,0x59,0x8f,0x5e,0x8c,0x0b,0x3e,
498 0xe9,0x8b,0xdf,0xe7,0x04,0x00,0x00,0x05,
500 {{0x7b,0x59,0x63,0x9f,0x6a,0x93,0x6f,0xf0, /* 0x32 */
501 0x58,0x8a,0x3f,0x57,0x70,0x20,0x00,0x05,
503 {{0xa3,0x7f,0x7f,0x87,0x86,0x97,0x1e,0xf1, /* 0x33 - 1024x600 */
504 0xae,0x85,0x57,0x57,0x1f,0x30,0x00,0x02,
506 {{0xa3,0x8f,0x8f,0x97,0x96,0x97,0x24,0xf5, /* 0x34 - 1152x768 - corrected */
507 0x02,0x88,0xff,0xff,0x25,0x10,0x00,0x02,
509 {{0x7f,0x63,0x63,0x83,0x6c,0x1c,0x72,0xba, /* 0x35 */
510 0x27,0x8b,0xdf,0xdf,0x73,0x00,0x00,0x06,
512 {{0x7f,0x63,0x63,0x83,0x69,0x13,0x6f,0xba,
513 0x26,0x89,0xdf,0xdf,0x6f,0x00,0x00,0x06,
515 {{0x7f,0x63,0x63,0x82,0x6b,0x13,0x75,0xba,
516 0x29,0x8c,0xdf,0xdf,0x75,0x00,0x00,0x06,
518 {{0xa3,0x7f,0x7f,0x87,0x86,0x97,0x24,0xf1,
519 0xaf,0x85,0x3f,0x3f,0x25,0x30,0x00,0x02,
521 {{0x9f,0x7f,0x7f,0x83,0x85,0x91,0x1e,0xf1,
522 0xad,0x81,0x3f,0x3f,0x1f,0x30,0x00,0x02,
524 {{0xa7,0x7f,0x7f,0x88,0x89,0x95,0x26,0xf1, /* 95 was 15 - illegal HBE! */
525 0xb1,0x85,0x3f,0x3f,0x27,0x30,0x00,0x02,
527 {{0xce,0x9f,0x9f,0x92,0xa9,0x17,0x28,0xc4,
528 0x7a,0x8e,0xcf,0xcf,0x29,0x21,0x00,0x07,
530 {{0xce,0x9f,0x9f,0x92,0xa5,0x17,0x28,0xd4,
531 0x7a,0x8e,0xcf,0xcf,0x29,0x21,0x00,0x07,
533 {{0xd3,0x9f,0x9f,0x97,0xab,0x1f,0x2e,0xd4,
534 0x7d,0x81,0xcf,0xcf,0x2f,0x21,0x00,0x07,
536 {{0xc3,0x8f,0x8f,0x87,0x9b,0x0b,0x82,0xef, /* 1152x864-75 */
537 0x60,0x83,0x5f,0x5f,0x83,0x10,0x00,0x07,
539 {{0x86,0x69,0x69,0x8A,0x74,0x06,0x8C,0x15, /* 848x480-38i */
540 0x4F,0x83,0xEF,0xEF,0x8D,0x30,0x00,0x02,
542 {{0x83,0x69,0x69,0x87,0x6f,0x1d,0x03,0x3E, /* 848x480-60 */
543 0xE5,0x8d,0xDF,0xe4,0x04,0x00,0x00,0x06,
545 {{0x86,0x6A,0x6A,0x8A,0x74,0x06,0x8C,0x15, /* 856x480-38i */
546 0x4F,0x83,0xEF,0xEF,0x8D,0x30,0x00,0x02,
548 {{0x81,0x6A,0x6A,0x85,0x70,0x00,0x0F,0x3E, /* 856x480-60 */
549 0xEB,0x8E,0xDF,0xDF,0x10,0x00,0x00,0x02,
551 {{0xdd,0xa9,0xa9,0x81,0xb4,0x97,0x26,0xfd, /* 1360x768-60 */
552 0x01,0x8d,0xff,0x00,0x27,0x10,0x00,0x03,
554 {{0xd9,0x8f,0x8f,0x9d,0xba,0x0a,0x8a,0xff, /* 1152x864-84 */
555 0x60,0x8b,0x5f,0x5f,0x8b,0x10,0x00,0x03,
557 {{0xd3,0x9f,0x9f,0x97,0xab,0x1f,0xf1,0xff, /* 1280x960-85 */
558 0xc0,0x83,0xbf,0xbf,0xf2,0x10,0x00,0x07,
560 {{0xce,0x9f,0x9f,0x92,0xa9,0x17,0x20,0xf5, /* 1280x768-60 */
561 0x03,0x88,0xff,0xff,0x21,0x10,0x00,0x07,
563 {{0x7b,0x5f,0x63,0x9f,0x6a,0x93,0x6f,0xf0, /* 768x576 */
564 0x58,0x8a,0x3f,0x57,0x70,0x20,0x00,0x05,
566 {{0xce,0xa9,0xa9,0x92,0xb1,0x07,0x28,0x52, /* 1360x1024 (Barco iQ Pro R300) */
567 0x02,0x8e,0xff,0x00,0x29,0x0d,0x00,0x03,
569 {{0xcd,0x8f,0x8f,0x91,0x9b,0x1b,0x7a,0xff, /* 1152x864-60 */
570 0x64,0x8c,0x5f,0x62,0x7b,0x10,0x00,0x07,
574 static const SiS_MCLKDataStruct SiS300_MCLKData_630[] =
576 { 0x5a,0x64,0x80, 66},
577 { 0xb3,0x45,0x80, 83},
578 { 0x37,0x61,0x80,100},
579 { 0x37,0x22,0x80,133},
580 { 0x37,0x61,0x80,100},
581 { 0x37,0x61,0x80,100},
582 { 0x37,0x61,0x80,100},
583 { 0x37,0x61,0x80,100}
586 static const SiS_MCLKDataStruct SiS300_MCLKData_300[] =
588 { 0x68,0x43,0x80,125},
589 { 0x68,0x43,0x80,125},
590 { 0x68,0x43,0x80,125},
591 { 0x37,0x61,0x80,100},
592 { 0x37,0x61,0x80,100},
593 { 0x37,0x61,0x80,100},
594 { 0x37,0x61,0x80,100},
595 { 0x37,0x61,0x80,100}
598 static SiS_VCLKDataStruct SiS300_VCLKData[] =
600 { 0x1b,0xe1, 25}, /* 0x00 */
601 { 0x4e,0xe4, 28}, /* 0x01 */
602 { 0x57,0xe4, 32}, /* 0x02 */
603 { 0xc3,0xc8, 36}, /* 0x03 */
604 { 0x42,0xc3, 40}, /* 0x04 */
605 { 0x5d,0xc4, 45}, /* 0x05 */
606 { 0x52,0x65, 50}, /* 0x06 */
607 { 0x53,0x65, 50}, /* 0x07 */
608 { 0x6d,0x66, 56}, /* 0x08 */
609 { 0x5a,0x64, 65}, /* 0x09 */
610 { 0x46,0x44, 68}, /* 0x0a */
611 { 0x3e,0x43, 75}, /* 0x0b */
612 { 0x6d,0x46, 76}, /* 0x0c */ /* 800x600 | LVDS_2(CH), MITAC(CH); - 730, A901(301B): 0xb1,0x46, 76 */
613 { 0x41,0x43, 79}, /* 0x0d */
614 { 0x31,0x42, 79}, /* 0x0e */
615 { 0x46,0x25, 85}, /* 0x0f */
616 { 0x78,0x29, 87}, /* 0x10 */
617 { 0x62,0x44, 95}, /* 0x11 */
618 { 0x2b,0x22,105}, /* 0x12 */
619 { 0x49,0x24,106}, /* 0x13 */
620 { 0xc3,0x28,108}, /* 0x14 */
621 { 0x3c,0x23,109}, /* 0x15 */
622 { 0xf7,0x2c,132}, /* 0x16 */
623 { 0xd4,0x28,136}, /* 0x17 */
624 { 0x41,0x05,158}, /* 0x18 */
625 { 0x43,0x05,162}, /* 0x19 */
626 { 0xe1,0x0f,175}, /* 0x1a */
627 { 0xfc,0x12,189}, /* 0x1b */
628 { 0xde,0x26,194}, /* 0x1c */
629 { 0x54,0x05,203}, /* 0x1d */
630 { 0x3f,0x03,230}, /* 0x1e */
631 { 0x30,0x02,234}, /* 0x1f */
632 { 0x24,0x01,266}, /* 0x20 */
633 { 0x52,0x2a, 54}, /* 0x21 */ /* 301 TV */
634 { 0x52,0x6a, 27}, /* 0x22 */ /* 301 TV */
635 { 0x62,0x24, 70}, /* 0x23 */ /* 301 TV */
636 { 0x62,0x64, 70}, /* 0x24 */ /* 301 TV */
637 { 0xa8,0x4c, 30}, /* 0x25 */ /* 301 TV */
638 { 0x20,0x26, 33}, /* 0x26 */ /* 301 TV */
639 { 0x31,0xc2, 39}, /* 0x27 */
640 { 0xbf,0xc8, 35}, /* 0x28 */ /* 856x480 */
641 { 0x60,0x36, 30}, /* 0x29 */ /* CH/UNTSC TEXT | LVDS_2(CH) - 730, A901(301B), Mitac(CH): 0xe0, 0xb6, 30 */
642 { 0x40,0x4a, 28}, /* 0x2a */ /* CH-TV */
643 { 0x9f,0x46, 44}, /* 0x2b */ /* CH-TV */
644 { 0x97,0x2c, 26}, /* 0x2c */ /* CH-TV */
645 { 0x44,0xe4, 25}, /* 0x2d */ /* CH-TV */
646 { 0x7e,0x32, 47}, /* 0x2e */ /* CH-TV */
647 { 0x8a,0x24, 31}, /* 0x2f */ /* CH/PAL TEXT | LVDS_2(CH), Mitac(CH) - 730, A901(301B): 0x57, 0xe4, 31 */
648 { 0x97,0x2c, 26}, /* 0x30 */ /* CH-TV */
649 { 0xce,0x3c, 39}, /* 0x31 */ /* CH-TV */
650 { 0x52,0x4a, 36}, /* 0x32 */ /* CH/PAL 800x600 5/6 */
651 { 0x34,0x61, 95}, /* 0x33 */
652 { 0x78,0x27,108}, /* 0x34 */ /* Replacement for index 0x14 for 630 (?) */
653 { 0x70,0x28, 90}, /* 0x35 */ /* 1152x864@60 */
654 { 0x45,0x6b, 21}, /* 0x36 */ /* Chrontel SuperOverscan */
655 { 0x52,0xe2, 49}, /* 0x37 */ /* 16:9 modes */
656 { 0x2b,0x61, 78}, /* 0x38 */ /* 16:9 modes */
657 { 0x70,0x44,108}, /* 0x39 */ /* 16:9 modes */
658 { 0x54,0x42,135}, /* 0x3a */ /* 16:9 modes */
659 { 0x41,0x22,157}, /* 0x3b */ /* 16:9 modes */
660 { 0x52,0x07,149}, /* 0x3c */ /* 1280x960-85 */
661 { 0x62,0xc6, 34}, /* 0x3d */ /* 848x480-60 */
662 { 0x30,0x23, 88}, /* 0x3e */ /* 1360x768-60 */
663 { 0x70,0x29, 81}, /* 0x3f */ /* 1280x768-60 */
664 { 0x72,0x2a, 76}, /* 0x40 */ /* test for SiS730 --- LIMIT for table (&0x3f) */
665 { 0x15,0x21, 79}, /* 0x41 */ /* test for SiS730 */
666 { 0xa1,0x42,108}, /* 0x42 */ /* 1280x960 LCD */
667 { 0x37,0x61,100}, /* 0x43 */ /* 1280x960 LCD */
668 { 0xe3,0x9a,106}, /* 0x44 */ /* 1360x1024 - special for Barco iQ R300 */
669 { 0xe2,0x46,135}, /* 0x45 */ /* 1280x1024-75, better clock for VGA2 */
670 { 0x70,0x29, 81}, /* 0x46 */ /* unused */
671 { 0, 0, 0}, /* 0x47 custom (will be filled out) */
672 { 0xce,0x25,189} /* 0x48 */ /* Replacement for index 0x1b for 730 (and 540?) */
676 static UCHAR SiS300_SR07 = 0x10;
679 static const DRAM4Type SiS300_SR15[8] =
681 {0x01,0x09,0xa3,0x00},
682 {0x43,0x43,0x43,0x00},
683 {0x1e,0x1e,0x1e,0x00},
684 {0x2a,0x2a,0x2a,0x00},
685 {0x06,0x06,0x06,0x00},
686 {0x00,0x00,0x00,0x00},
687 {0x00,0x00,0x00,0x00},
688 {0x00,0x00,0x00,0x00}
692 static UCHAR SiS300_SR1F = 0x00;
693 static UCHAR SiS300_SR21 = 0x16;
694 static UCHAR SiS300_SR22 = 0xb2;
695 static UCHAR SiS300_SR23 = 0xf6;
696 static UCHAR SiS300_SR24 = 0x0d;
697 static UCHAR SiS300_SR25[] = {0x0,0x0};
698 static UCHAR SiS300_SR31 = 0x00;
699 static UCHAR SiS300_SR32 = 0x11;
700 static UCHAR SiS300_SR33 = 0x00;
701 static UCHAR SiS300_CRT2Data_1_2 = 0x40;
702 static UCHAR SiS300_CRT2Data_4_D = 0x00;
703 static UCHAR SiS300_CRT2Data_4_E = 0x00;
704 static UCHAR SiS300_CRT2Data_4_10 = 0x80;
706 static const USHORT SiS300_RGBSenseData = 0xd1;
707 static const USHORT SiS300_VideoSenseData = 0xb3;
708 static const USHORT SiS300_YCSenseData = 0xb9;
709 static const USHORT SiS300_RGBSenseData2 = 0x0190;
710 static const USHORT SiS300_VideoSenseData2 = 0x0174;
711 static const USHORT SiS300_YCSenseData2 = 0x016b;
713 static const DRAM4Type SiS300_CR40[5];
715 static UCHAR SiS300_CR49[2];
718 static const SiS_PanelDelayTblStruct SiS300_PanelDelayTbl[] =
739 static const SiS_PanelDelayTblStruct SiS300_PanelDelayTblLVDS[] =
752 {{0x05,0x14}}, /* 2.07a (JVC): 14,96 */
753 {{0x05,0x28}}, /* 2.04.5c: 20, 80 - Clevo (2.04.2c): 05, 28 */
755 {{0x05,0x14}}, /* Some BIOSes: 05, 40 */
760 /**************************************************************/
761 /* SIS VIDEO BRIDGE ----------------------------------------- */
762 /**************************************************************/
764 static const SiS_LCDDataStruct SiS300_St2LCD1024x768Data[] =
766 { 62, 25, 800, 546,1344, 806},
767 { 32, 15, 930, 546,1344, 806},
768 { 32, 15, 930, 546,1344, 806},
769 { 104, 45, 945, 496,1344, 806},
770 { 62, 25, 800, 546,1344, 806},
771 { 31, 18,1008, 624,1344, 806},
772 { 1, 1,1344, 806,1344, 806}
775 static const SiS_LCDDataStruct SiS300_ExtLCD1024x768Data[] =
777 { 12, 5, 896, 512,1344, 806},
778 { 12, 5, 896, 510,1344, 806},
779 { 32, 15,1008, 505,1344, 806},
780 { 32, 15,1008, 514,1344, 806},
781 { 12, 5, 896, 500,1344, 806},
782 { 42, 25,1024, 625,1344, 806},
783 { 1, 1,1344, 806,1344, 806},
784 { 12, 5, 896, 500,1344, 806},
785 { 42, 25,1024, 625,1344, 806},
786 { 1, 1,1344, 806,1344, 806},
787 { 12, 5, 896, 500,1344, 806},
788 { 42, 25,1024, 625,1344, 806},
789 { 1, 1,1344, 806,1344, 806}
792 static const SiS_LCDDataStruct SiS300_St2LCD1280x1024Data[] =
794 { 22, 5, 800, 510,1650,1088},
795 { 22, 5, 800, 510,1650,1088},
796 { 176, 45, 900, 510,1650,1088},
797 { 176, 45, 900, 510,1650,1088},
798 { 22, 5, 800, 510,1650,1088},
799 { 13, 5,1024, 675,1560,1152},
800 { 16, 9,1266, 804,1688,1072},
801 { 1, 1,1688,1066,1688,1066}
804 static const SiS_LCDDataStruct SiS300_ExtLCD1280x1024Data[] =
806 { 211, 60,1024, 501,1688,1066},
807 { 211, 60,1024, 508,1688,1066},
808 { 211, 60,1024, 501,1688,1066},
809 { 211, 60,1024, 508,1688,1066},
810 { 211, 60,1024, 500,1688,1066},
811 { 211, 75,1024, 625,1688,1066},
812 { 211, 120,1280, 798,1688,1066},
813 { 1, 1,1688,1066,1688,1066}
816 static const SiS_Part2PortTblStruct SiS300_CRT2Part2_1024x768_1[] =
818 {{0x21,0x12,0xbf,0xe4,0xc0,0x21,0x45,0x09,0x00,0xa9,0x09,0x04}},
819 {{0x2c,0x12,0x9a,0xae,0x88,0x21,0x45,0x09,0x00,0xa9,0x09,0x04}},
820 {{0x21,0x12,0xbf,0xe4,0xc0,0x21,0x45,0x09,0x00,0xa9,0x09,0x04}},
821 {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}},
822 {{0x22,0x13,0xfe,0x25,0xff,0x21,0x45,0x0a,0x00,0xa9,0x0d,0x04}},
823 {{0x22,0x13,0xfe,0x25,0xff,0x21,0x45,0x0a,0x00,0xa9,0x0d,0x04}},
824 {{0x22,0x13,0xfe,0x25,0xff,0x21,0x45,0x0a,0x00,0xa9,0x0d,0x04}}
827 static const SiS_Part2PortTblStruct SiS300_CRT2Part2_1024x768_2[] =
829 {{0x28,0x12,0xa3,0xd0,0xaa,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}},
830 {{0x2c,0x12,0x9a,0xae,0x88,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}},
831 {{0x28,0x12,0xa3,0xd0,0xaa,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}},
832 {{0x2c,0x12,0x9a,0xae,0x88,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}},
833 {{0x28,0x13,0xe7,0x0b,0xe8,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}},
834 {{0x38,0x18,0x16,0x00,0x00,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}},
835 {{0x36,0x13,0x13,0x25,0xff,0x5a,0x45,0x0a,0x07,0xfa,0x0a,0x24}}
838 static const SiS_Part2PortTblStruct SiS300_CRT2Part2_1024x768_3[] =
840 {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}
843 static const SiS_Part2PortTblStruct SiS300_CRT2Part2_1280x1024_1[] =
845 {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}
848 static const SiS_Part2PortTblStruct SiS300_CRT2Part2_1280x1024_2[] =
850 {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}
853 static const SiS_Part2PortTblStruct SiS300_CRT2Part2_1280x1024_3[] =
855 {{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}
858 /**************************************************************/
859 /* LVDS/Chrontel -------------------------------------------- */
860 /**************************************************************/
862 static const SiS_LVDSDataStruct SiS300_CHTVUPALData[] =
864 {1008, 625,1008, 625},
865 {1008, 625,1008, 625},
866 {1008, 625,1008, 625},
867 {1008, 625,1008, 625},
868 { 840, 750, 840, 750},
869 { 936, 836, 936, 836}
872 static const SiS_LVDSDataStruct SiS300_CHTVOPALData[] =
874 {1008, 625,1008, 625},
875 {1008, 625,1008, 625},
876 {1008, 625,1008, 625},
877 {1008, 625,1008, 625},
878 { 840, 625, 840, 625},
879 { 960, 750, 960, 750}
882 static const SiS_LVDSDataStruct SiS300_CHTVSOPALData[] =
884 {1008, 625,1008, 625},
885 {1008, 625,1008, 625},
886 {1008, 625,1008, 625},
887 {1008, 625,1008, 625},
888 { 840, 500, 840, 500},
889 { 944, 625, 944, 625}
893 static const SiS_LVDSDesStruct SiS300_PanelType00_1[] =
895 { 1059, 626 }, /* 2.08 */
917 static const SiS_LVDSDesStruct SiS300_PanelType01_1[] =
941 static const SiS_LVDSDesStruct SiS300_PanelType02_1[] =
943 { 1059, 626 }, /* 2.08 */
965 static const SiS_LVDSDesStruct SiS300_PanelType03_1[] =
978 static const SiS_LVDSDesStruct SiS300_PanelType04_1[] = /* 1280x1024 */
991 static const SiS_LVDSDesStruct SiS300_PanelType05_1[] =
1004 static const SiS_LVDSDesStruct SiS300_PanelType06_1[] = /* Clevo Trumpion 1024x768 */
1017 static const SiS_LVDSDesStruct SiS300_PanelType07_1[] =
1030 static const SiS_LVDSDesStruct SiS300_PanelType08_1[] =
1043 static const SiS_LVDSDesStruct SiS300_PanelType09_1[] =
1056 static const SiS_LVDSDesStruct SiS300_PanelType0a_1[] =
1069 static const SiS_LVDSDesStruct SiS300_PanelType0b_1[] =
1082 static const SiS_LVDSDesStruct SiS300_PanelType0c_1[] =
1095 static const SiS_LVDSDesStruct SiS300_PanelType0d_1[] =
1108 static const SiS_LVDSDesStruct SiS300_PanelType0e_1[] =
1114 {1343, 0}, /* 640x480 */
1115 {1343, 0}, /* 800x600 */
1116 { 0, 805}, /* 1024x768 */
1117 { 0, 794}, /* 1280x1024 */
1118 { 0, 0} /* 1280x960 - not applicable */
1121 static const SiS_LVDSDesStruct SiS300_PanelType0f_1[] =
1134 static const SiS_LVDSDesStruct SiS300_PanelType00_2[] =
1147 static const SiS_LVDSDesStruct SiS300_PanelType01_2[] =
1160 static const SiS_LVDSDesStruct SiS300_PanelType02_2[] =
1173 static const SiS_LVDSDesStruct SiS300_PanelType03_2[] =
1186 static const SiS_LVDSDesStruct SiS300_PanelType04_2[] =
1199 static const SiS_LVDSDesStruct SiS300_PanelType05_2[] =
1212 static const SiS_LVDSDesStruct SiS300_PanelType06_2[] =
1225 static const SiS_LVDSDesStruct SiS300_PanelType07_2[] =
1238 static const SiS_LVDSDesStruct SiS300_PanelType08_2[] =
1251 static const SiS_LVDSDesStruct SiS300_PanelType09_2[] =
1264 static const SiS_LVDSDesStruct SiS300_PanelType0a_2[] =
1277 static const SiS_LVDSDesStruct SiS300_PanelType0b_2[] =
1290 static const SiS_LVDSDesStruct SiS300_PanelType0c_2[] =
1303 static const SiS_LVDSDesStruct SiS300_PanelType0d_2[] =
1316 static const SiS_LVDSDesStruct SiS300_PanelType0e_2[] =
1329 static const SiS_LVDSDesStruct SiS300_PanelType0f_2[] =
1342 static const SiS_LVDSDesStruct SiS300_PanelTypeNS_1[]=
1356 static const SiS_LVDSDesStruct SiS300_PanelTypeNS_2[] =
1370 /* Custom data for Barco iQ R200/300/400 (BIOS 2.00.07) */
1371 static const SiS_LVDSDesStruct SiS300_PanelType04_1a[] = /* 1280x1024 (1366x1024) */
1373 {1330, 798}, /* 320x200 */
1377 {1330, 0}, /* 640x480 / 320x240 */
1378 {1343, 0}, /* 800x600 / 400x300 */
1379 { 0, 805}, /* 1024x768 / 512x384 */
1380 {1688,1066}, /* 1280x1024 */
1381 { 0, 0} /* 1360x1024 */
1384 static const SiS_LVDSDesStruct SiS300_PanelType04_2a[] =
1397 /* Custom data for Barco iQ G200/300/400 (BIOS 2.00.07) */
1398 static const SiS_LVDSDesStruct SiS300_PanelType04_1b[] = /* 1024x768 */
1400 {1330, 798}, /* 320x200 */
1404 {1330, 0}, /* 640x480 / 320x240 */
1405 {1343, 0}, /* 800x600 / 400x300 */
1406 { 0, 805} /* 1024x768 / 512x384 */
1409 static const SiS_LVDSDesStruct SiS300_PanelType04_2b[] =
1420 /* CRT1 CRTC for slave modes */
1422 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT1800x600_1[] =
1424 {{0x65,0x4f,0x89,0x56,0x83,0xaf,0x1f,
1425 0x90,0x85,0x8f,0xab,0x30,0x00,0x05,
1427 {{0x65,0x4f,0x89,0x56,0x83,0x83,0x1f,
1428 0x5e,0x83,0x5d,0x79,0x10,0x00,0x05,
1430 {{0x65,0x4f,0x89,0x56,0x83,0xaf,0x1f,
1431 0x90,0x85,0x8f,0xab,0x30,0x00,0x05,
1433 {{0x65,0x4f,0x89,0x56,0x83,0x83,0x1f,
1434 0x5e,0x83,0x5d,0x79,0x10,0x00,0x05,
1436 {{0x65,0x4f,0x89,0x56,0x83,0x04,0x3e,
1437 0xe0,0x85,0xdf,0xfb,0x10,0x00,0x05,
1439 {{0x7f,0x63,0x83,0x6c,0x1c,0x72,0xf0,
1440 0x58,0x8c,0x57,0x73,0x20,0x00,0x06,
1444 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT1800x600_1_H[] =
1446 {{0x30,0x27,0x94,0x2c,0x92,0xaf,0x1f,
1447 0x90,0x85,0x8f,0xab,0x30,0x00,0x04,
1449 {{0x30,0x27,0x94,0x2c,0x92,0x83,0x1f,
1450 0x5e,0x83,0x5d,0x79,0x10,0x00,0x04,
1452 {{0x30,0x27,0x94,0x2c,0x92,0xaf,0x1f,
1453 0x90,0x85,0x8f,0xab,0x30,0x00,0x04,
1455 {{0x30,0x27,0x94,0x2c,0x92,0x83,0x1f,
1456 0x5e,0x83,0x5d,0x79,0x10,0x00,0x04,
1458 {{0x30,0x27,0x94,0x2c,0x92,0x04,0x3e,
1459 0xe0,0x85,0xdf,0xfb,0x10,0x00,0x04,
1461 {{0x3d,0x31,0x81,0x37,0x1f,0x72,0xf0,
1462 0x58,0x8c,0x57,0x73,0x20,0x00,0x05,
1466 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT11024x768_1[] =
1468 {{0x64,0x4f,0x88,0x54,0x9f,0xc4,0x1f,
1469 0x92,0x89,0x8f,0xb5,0x30,0x00,0x01,
1471 {{0x64,0x4f,0x88,0x54,0x9f,0x97,0x1f,
1472 0x60,0x87,0x5d,0x83,0x10,0x00,0x01,
1474 {{0x64,0x4f,0x88,0x54,0x9f,0xc4,0x1f,
1475 0x92,0x89,0x8f,0xb5,0x30,0x00,0x01,
1477 {{0x64,0x4f,0x88,0x54,0x9f,0x97,0x1f,
1478 0x60,0x87,0x5d,0x83,0x10,0x00,0x01,
1480 {{0x64,0x4f,0x88,0x54,0x9f,0x04,0x3e,
1481 0xe2,0x89,0xdf,0x05,0x00,0x00,0x01,
1483 {{0x7e,0x63,0x82,0x68,0x15,0x7c,0xf0,
1484 0x5a,0x8f,0x57,0x7d,0x20,0x00,0x26,
1486 {{0xa3,0x7f,0x87,0x86,0x97,0x24,0xf5,
1487 0x02,0x88,0xff,0x25,0x10,0x00,0x02,
1491 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT11024x768_1_H[] =
1493 {{0x2f,0x27,0x93,0x2b,0x90,0xc4,0x1f,
1494 0x92,0x89,0x8f,0xb5,0x30,0x00,0x44,
1496 {{0x2f,0x27,0x93,0x2b,0x90,0x97,0x1f,
1497 0x60,0x87,0x5D,0x83,0x10,0x00,0x44,
1499 {{0x2f,0x27,0x93,0x2b,0x90,0xc4,0x1f,
1500 0x92,0x89,0x8f,0xb5,0x30,0x00,0x44,
1502 {{0x2f,0x27,0x93,0x2b,0x90,0x97,0x1f,
1503 0x60,0x87,0x5D,0x83,0x10,0x00,0x44,
1505 {{0x2f,0x27,0x93,0x2b,0x90,0x04,0x3e,
1506 0xE2,0x89,0xdf,0x05,0x00,0x00,0x44,
1508 {{0x3c,0x31,0x80,0x35,0x1c,0x7c,0xf0,
1509 0x5A,0x8F,0x57,0x7D,0x20,0x00,0x55,
1511 {{0x4f,0x3F,0x93,0x45,0x0D,0x24,0xf5,
1512 0x02,0x88,0xff,0x25,0x10,0x00,0x01,
1516 {{0x37,0x27,0x9B,0x2b,0x94,0xc4,0x1f,
1517 0x92,0x89,0x8f,0xb5,0x30,0x00,0x44,
1519 {{0x37,0x27,0x9B,0x2b,0x94,0x97,0x1f,
1520 0x60,0x87,0x5D,0x83,0x01,0x00,0x44,
1522 {{0x37,0x27,0x9B,0x2b,0x94,0xc4,0x1f,
1523 0x92,0x89,0x8f,0xb5,0x30,0x00,0x44,
1525 {{0x37,0x27,0x9B,0x2b,0x94,0x97,0x1f,
1526 0x60,0x87,0x5D,0x83,0x01,0x00,0x44,
1528 {{0x37,0x27,0x9B,0x2b,0x94,0x04,0x3e,
1529 0xE2,0x89,0xDf,0x05,0x00,0x00,0x44,
1531 {{0x41,0x31,0x85,0x35,0x1d,0x7c,0xf0,
1532 0x5A,0x8F,0x57,0x7D,0x20,0x00,0x55,
1534 {{0x4f,0x3F,0x93,0x45,0x0D,0x24,0xf5,
1535 0x02,0x88,0xFf,0x25,0x10,0x00,0x01,
1540 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT11280x1024_1[] =
1542 {{0x63,0x4f,0x87,0x54,0x9f,0xb4,0x1f,
1543 0x92,0x89,0x8f,0xb5,0x30,0x00,0x01,
1545 {{0x63,0x4f,0x87,0x54,0x9f,0x82,0x1f,
1546 0x60,0x87,0x5d,0x83,0x10,0x00,0x01,
1548 {{0x63,0x4f,0x87,0x54,0x9f,0xb4,0x1f,
1549 0x92,0x89,0x8f,0xb5,0x30,0x00,0x01,
1551 {{0x63,0x4f,0x87,0x54,0x9f,0x82,0x1f,
1552 0x60,0x87,0x5d,0x83,0x10,0x00,0x01,
1554 {{0x63,0x4f,0x87,0x54,0x9f,0x04,0x3e,
1555 0xe2,0x89,0xdf,0x05,0x00,0x00,0x01,
1557 {{0x7e,0x63,0x82,0x68,0x15,0x7c,0xf0,
1558 0x5a,0x8f,0x57,0x7d,0x20,0x00,0x26,
1560 {{0xa3,0x7f,0x87,0x86,0x97,0x24,0xf5,
1561 0x02,0x88,0xff,0x25,0x10,0x00,0x02,
1565 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT11280x1024_1_H[] =
1567 {{0x2f,0x27,0x93,0x2b,0x90,0xb4,0x1f,
1568 0x92,0x89,0x8f,0xb5,0x30,0x00,0x04,
1570 {{0x2f,0x27,0x93,0x2b,0x90,0x82,0x1f,
1571 0x60,0x87,0x5d,0x83,0x10,0x00,0x04,
1573 {{0x2f,0x27,0x93,0x2b,0x90,0xb4,0x1f,
1574 0x92,0x89,0x8f,0xb5,0x30,0x00,0x04,
1576 {{0x2f,0x27,0x93,0x2b,0x90,0x82,0x1f,
1577 0x60,0x87,0x5d,0x83,0x10,0x00,0x04,
1579 {{0x2f,0x27,0x93,0x2b,0x90,0x04,0x3e,
1580 0xe2,0x89,0xdf,0x05,0x00,0x00,0x04,
1582 {{0x3c,0x31,0x80,0x35,0x1c,0x7c,0xf0,
1583 0x5a,0x8f,0x57,0x7d,0x20,0x00,0x55,
1585 {{0x4f,0x3f,0x93,0x45,0x0d,0x24,0xf5,
1586 0x02,0x88,0xff,0x25,0x10,0x00,0x01,
1590 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT1800x600_2[] =
1592 {{0x7f,0x4f,0x83,0x62,0x12,0x72,0x3e,
1593 0xf4,0x88,0x8f,0x73,0x20,0x00,0x06,
1595 {{0x7f,0x4f,0x83,0x62,0x12,0x72,0x3e,
1596 0xdb,0x8f,0x5d,0x73,0x20,0x00,0x06,
1598 {{0x7f,0x4f,0x83,0x62,0x12,0x72,0x3e,
1599 0xf4,0x88,0x8f,0x73,0x20,0x00,0x06,
1601 {{0x7f,0x4f,0x83,0x62,0x12,0x72,0x3e,
1602 0xdb,0x8f,0x5d,0x73,0x20,0x00,0x06,
1604 {{0x7f,0x4f,0x83,0x62,0x12,0x72,0xba,
1605 0x1c,0x80,0xdf,0x73,0x00,0x00,0x06,
1607 {{0x7f,0x63,0x83,0x6c,0x1c,0x72,0xf0,
1608 0x58,0x8c,0x57,0x73,0x20,0x00,0x06,
1612 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT1800x600_2_H[] =
1614 {{0x3d,0x27,0x81,0x32,0x1a,0x72,0x3e,
1615 0xf4,0x88,0x8f,0x73,0x20,0x00,0x05,
1617 {{0x3d,0x27,0x81,0x32,0x1a,0x72,0x3e,
1618 0xdb,0x8f,0x5d,0x73,0x20,0x00,0x05,
1620 {{0x3d,0x27,0x81,0x32,0x1a,0x72,0x3e,
1621 0xf4,0x88,0x8f,0x73,0x20,0x00,0x05,
1623 {{0x3d,0x27,0x81,0x3a,0x1a,0x72,0x3e,
1624 0xdb,0x8f,0x5d,0x73,0x20,0x00,0x05,
1626 {{0x3d,0x27,0x81,0x32,0x1a,0x72,0xba,
1627 0x1c,0x80,0xdf,0x73,0x00,0x00,0x05,
1629 {{0x3d,0x31,0x81,0x37,0x1f,0x72,0xf0,
1630 0x58,0x8c,0x57,0x73,0x20,0x00,0x05,
1634 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT11024x768_2[] =
1636 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1637 0x4a,0x80,0x8f,0x25,0x30,0x00,0x06,
1639 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1640 0x31,0x87,0x5d,0x25,0x30,0x00,0x06,
1642 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1643 0x4a,0x80,0x8f,0x25,0x30,0x00,0x06,
1645 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1646 0x31,0x87,0x5d,0x25,0x30,0x00,0x06,
1648 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1649 0x72,0x88,0xdf,0x25,0x30,0x00,0x06,
1651 {{0xa3,0x63,0x87,0x78,0x89,0x24,0xf1,
1652 0xae,0x84,0x57,0x25,0x30,0x00,0x02,
1654 {{0xa3,0x7f,0x87,0x86,0x97,0x24,0xf5,
1655 0x02,0x88,0xff,0x25,0x10,0x00,0x02,
1659 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT11024x768_2_H[] =
1661 {{0x4f,0x27,0x93,0x39,0x01,0x24,0xbb,
1662 0x4a,0x80,0x8f,0x25,0x30,0x00,0x01,
1664 {{0x4f,0x27,0x93,0x39,0x01,0x24,0xbb,
1665 0x31,0x87,0x5d,0x25,0x30,0x00,0x01,
1667 {{0x4f,0x27,0x93,0x39,0x01,0x24,0xbb,
1668 0x4a,0x80,0x8f,0x25,0x30,0x00,0x01,
1670 {{0x4f,0x27,0x93,0x39,0x01,0x24,0xbb,
1671 0x31,0x87,0x5d,0x25,0x30,0x00,0x01,
1673 {{0x4f,0x27,0x93,0x39,0x01,0x24,0xbb,
1674 0x72,0x88,0xdf,0x25,0x30,0x00,0x01,
1676 {{0x4f,0x31,0x93,0x3e,0x06,0x24,0xf1,
1677 0xae,0x84,0x57,0x25,0x30,0x00,0x01,
1679 {{0x4f,0x3f,0x93,0x45,0x0d,0x24,0xf5,
1680 0x02,0x88,0xff,0x25,0x10,0x00,0x01,
1684 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT11280x1024_2[] =
1686 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1687 0x4a,0x80,0x8f,0x25,0x30,0x00,0x06,
1689 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1690 0x31,0x87,0x5d,0x25,0x30,0x00,0x06,
1692 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1693 0x4a,0x80,0x8f,0x25,0x30,0x00,0x06,
1695 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1696 0x31,0x87,0x5d,0x25,0x30,0x00,0x06,
1698 {{0xa3,0x4f,0x87,0x6e,0x9f,0x24,0xbb,
1699 0x72,0x88,0xdf,0x25,0x30,0x00,0x06,
1701 {{0xa3,0x63,0x87,0x78,0x89,0x24,0xf1,
1702 0xae,0x84,0x57,0x25,0x30,0x00,0x02,
1704 {{0xa3,0x7f,0x87,0x86,0x97,0x24,0xf5,
1705 0x02,0x88,0xff,0x25,0x10,0x00,0x02,
1709 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT11280x1024_2_H[] =
1711 {{0x4f,0x27,0x93,0x39,0x81,0x24,0xbb,
1712 0x4a,0x80,0x8f,0x25,0x30,0x00,0x01,
1714 {{0x4f,0x27,0x93,0x39,0x81,0x24,0xbb,
1715 0x31,0x87,0x5d,0x25,0x30,0x00,0x01,
1717 {{0x4f,0x27,0x93,0x39,0x81,0x24,0xbb,
1718 0x4a,0x80,0x8f,0x25,0x30,0x00,0x01,
1720 {{0x4f,0x27,0x93,0x39,0x81,0x24,0xbb,
1721 0x31,0x87,0x5d,0x25,0x30,0x00,0x01,
1723 {{0x4f,0x27,0x93,0x39,0x81,0x24,0xbb,
1724 0x72,0x88,0xdf,0x25,0x30,0x00,0x01,
1726 {{0x4f,0x31,0x93,0x3e,0x86,0x24,0xf1,
1727 0xae,0x84,0x57,0x25,0x30,0x00,0x01,
1729 {{0x4f,0x3f,0x93,0x45,0x0d,0x24,0xf5,
1730 0x02,0x88,0xff,0x25,0x10,0x00,0x01,
1734 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT1XXXxXXX_1[] =
1736 {{0x5f,0x4f,0x82,0x55,0x81,0xbf,0x1f,
1737 0x9c,0x8e,0x96,0xb9,0x30,0x00,0x05,
1739 {{0x5f,0x4f,0x82,0x55,0x81,0xbf,0x1f,
1740 0x9c,0x8e,0x96,0xb9,0x30,0x00,0x05,
1742 {{0x5f,0x4f,0x82,0x55,0x81,0xbf,0x1f,
1743 0x9c,0x8e,0x96,0xb9,0x30,0x00,0x05,
1745 {{0x5f,0x4f,0x82,0x55,0x81,0xbf,0x1f,
1746 0x9c,0x8e,0x96,0xb9,0x30,0x00,0x05,
1748 {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e,
1749 0xe9,0x8b,0xe7,0x04,0x00,0x00,0x05,
1751 {{0x7f,0x63,0x83,0x6c,0x1c,0x72,0xf0,
1752 0x58,0x8c,0x57,0x73,0x20,0x00,0x06,
1754 {{0xa3,0x7f,0x87,0x86,0x97,0x24,0xf5,
1755 0x02,0x88,0xff,0x25,0x10,0x00,0x02,
1757 {{0xce,0x9f,0x92,0xa8,0x14,0x28,0x5a,
1758 0x00,0x84,0xff,0x29,0x09,0x00,0x07,
1760 {{0xce,0x9f,0x92,0xa9,0x17,0x24,0xf5,
1761 0x02,0x88,0xff,0x25,0x10,0x00,0x07,
1765 static const SiS_LVDSCRT1DataStruct SiS300_LVDSCRT1XXXxXXX_1_H[] =
1767 {{0x38,0x27,0x9c,0x2c,0x80,0xbf,0x1f,
1768 0x9c,0x8e,0x96,0xb9,0x30,0x00,0x00,
1770 {{0x38,0x27,0x9c,0x2c,0x80,0xbf,0x1f,
1771 0x9c,0x8e,0x96,0xb9,0x30,0x00,0x00,
1773 {{0x38,0x27,0x9c,0x2c,0x80,0xbf,0x1f,
1774 0x9c,0x8e,0x96,0xb9,0x30,0x00,0x00,
1776 {{0x38,0x27,0x9c,0x2c,0x80,0xbf,0x1f,
1777 0x9c,0x8e,0x96,0xb9,0x30,0x00,0x00,
1779 {{0x38,0x27,0x9c,0x2c,0x80,0x0b,0x3e,
1780 0xe9,0x8b,0xe7,0x04,0x00,0x00,0x00,
1782 {{0x4d,0x31,0x91,0x3b,0x03,0x72,0xf0,
1783 0x58,0x8c,0x57,0x73,0x20,0x00,0x01,
1785 {{0x63,0x3f,0x87,0x4a,0x92,0x24,0xf5,
1786 0x02,0x88,0xff,0x25,0x10,0x00,0x01,
1791 static const SiS_LVDSCRT1DataStruct SiS300_CHTVCRT1UNTSC[] =
1793 {{0x64,0x4f,0x88,0x56,0x9f,0x56,0x3e,
1794 0xe8,0x84,0x8f,0x57,0x20,0x00,0x01,
1796 {{0x64,0x4f,0x88,0x56,0x9f,0x56,0x3e,
1797 0xd0,0x82,0x5d,0x57,0x00,0x00,0x01,
1799 {{0x64,0x4f,0x88,0x56,0x9f,0x56,0x3e,
1800 0xe8,0x84,0x8f,0x57,0x20,0x00,0x01,
1802 {{0x64,0x4f,0x88,0x56,0x9f,0x56,0x3e,
1803 0xd0,0x82,0x5d,0x57,0x00,0x00,0x01,
1805 {{0x5d,0x4f,0x81,0x53,0x9c,0x56,0xba,
1806 0x18,0x84,0xdf,0x57,0x00,0x00,0x01,
1808 {{0x80,0x63,0x84,0x6c,0x17,0xec,0xf0,
1809 0x90,0x8c,0x57,0xed,0x20,0x00,0x06,
1813 static const SiS_LVDSCRT1DataStruct SiS300_CHTVCRT1ONTSC[] =
1815 {{0x64,0x4f,0x88,0x5a,0x9f,0x0b,0x3e,
1816 0xc0,0x84,0x8f,0x0c,0x20,0x00,0x01,
1818 {{0x64,0x4f,0x88,0x5a,0x9f,0x0b,0x3e,
1819 0xb0,0x8d,0x5d,0x0c,0x00,0x00,0x01,
1821 {{0x64,0x4f,0x88,0x5a,0x9f,0x0b,0x3e,
1822 0xc0,0x84,0x8f,0x0c,0x20,0x00,0x01,
1824 {{0x64,0x4f,0x88,0x5a,0x9f,0x0b,0x3e,
1825 0xb0,0x8d,0x5d,0x0c,0x00,0x00,0x01,
1827 {{0x5d,0x4f,0x81,0x56,0x9c,0x0b,0x3e,
1828 0xe8,0x84,0xdf,0x0c,0x00,0x00,0x01,
1830 {{0x7d,0x63,0x81,0x6a,0x16,0xba,0xf0,
1831 0x7f,0x86,0x57,0xbb,0x00,0x00,0x06,
1835 static const SiS_LVDSCRT1DataStruct SiS300_CHTVCRT1UPAL[] =
1837 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1838 0xf8,0x83,0x8f,0x70,0x20,0x00,0x05,
1840 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1841 0xde,0x81,0x5d,0x70,0x00,0x00,0x05,
1843 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1844 0xf8,0x83,0x8f,0x70,0x20,0x00,0x05,
1846 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1847 0xde,0x81,0x5d,0x70,0x00,0x00,0x05,
1849 {{0x64,0x4f,0x88,0x55,0x80,0xec,0xba,
1850 0x50,0x84,0xdf,0xed,0x00,0x00,0x05,
1852 {{0x70,0x63,0x94,0x68,0x8d,0x42,0xf1,
1853 0xc8,0x8c,0x57,0xe9,0x20,0x00,0x05,
1857 static const SiS_LVDSCRT1DataStruct SiS300_CHTVCRT1OPAL[] =
1859 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1860 0xf0,0x83,0x8f,0x70,0x20,0x00,0x05,
1862 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1863 0xde,0x81,0x5d,0x70,0x00,0x00,0x05,
1865 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1866 0xf0,0x83,0x8f,0x70,0x20,0x00,0x05,
1868 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1869 0xde,0x81,0x5d,0x70,0x00,0x00,0x05,
1871 {{0x64,0x4f,0x88,0x55,0x80,0x6f,0xba,
1872 0x20,0x83,0xdf,0x70,0x00,0x00,0x05,
1874 {{0x73,0x63,0x97,0x69,0x8e,0xec,0xf0,
1875 0x90,0x8c,0x57,0xed,0x20,0x00,0x05,
1879 static const SiS_LVDSCRT1DataStruct SiS300_CHTVCRT1SOPAL[] =
1881 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1882 0xf0,0x83,0x8f,0x70,0x20,0x00,0x05,
1884 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1885 0xde,0x81,0x5d,0x70,0x00,0x00,0x05,
1887 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1888 0xf0,0x83,0x8f,0x70,0x20,0x00,0x05,
1890 {{0x79,0x4f,0x9d,0x5a,0x90,0x6f,0x3e,
1891 0xde,0x81,0x5d,0x70,0x00,0x00,0x05,
1893 {{0x64,0x4f,0x88,0x55,0x80,0x6f,0xba, /* TODO */
1894 0x20,0x83,0xdf,0x70,0x00,0x00,0x05,
1896 {{0x73,0x63,0x97,0x69,0x8e,0xec,0xf0, /* TODO */
1897 0x90,0x8c,0x57,0xed,0x20,0x00,0x05,
1901 static const SiS_CHTVRegDataStruct SiS300_CHTVReg_UNTSC[] =
1903 {{0x4a,0x94,0x00,0x48,0xfe,0,0,0,0,0,0,0,0,0,0,0}},
1904 {{0x4a,0x94,0x00,0x48,0xfe,0,0,0,0,0,0,0,0,0,0,0}},
1905 {{0x4a,0x94,0x00,0x48,0xfe,0,0,0,0,0,0,0,0,0,0,0}},
1906 {{0x4a,0x94,0x00,0x48,0xfe,0,0,0,0,0,0,0,0,0,0,0}},
1907 {{0x6a,0x6a,0x00,0x2d,0xfa,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 17: 640x480 NTSC 7/8 */
1908 {{0x8d,0xc4,0x00,0x3b,0xfb,0,0,0,0,0,0,0,0,0,0,0}} /* Mode 24: 800x600 NTSC 7/10 */
1911 static const SiS_CHTVRegDataStruct SiS300_CHTVReg_ONTSC[] =
1913 {{0x49,0x94,0x00,0x34,0xfe,0,0,0,0,0,0,0,0,0,0,0}},
1914 {{0x49,0x94,0x00,0x34,0xfe,0,0,0,0,0,0,0,0,0,0,0}},
1915 {{0x49,0x94,0x00,0x34,0xfe,0,0,0,0,0,0,0,0,0,0,0}},
1916 {{0x49,0x94,0x00,0x34,0xfe,0,0,0,0,0,0,0,0,0,0,0}},
1917 {{0x69,0x6a,0x00,0x1e,0xfd,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 16: 640x480 NTSC 1/1 */
1918 {{0x8c,0xb4,0x00,0x32,0xf9,0,0,0,0,0,0,0,0,0,0,0}} /* Mode 23: 800x600 NTSC 3/4 */
1921 static const SiS_CHTVRegDataStruct SiS300_CHTVReg_UPAL[] =
1923 {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}},
1924 {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}},
1925 {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}},
1926 {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}},
1927 {{0x63,0x94,0x01,0x50,0x30,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 15: 640x480 PAL 5/6 */
1928 {{0x84,0x64,0x01,0x4e,0x2f,0,0,0,0,0,0,0,0,0,0,0}} /* Mode 21: 800x600 PAL 3/4 */
1932 static const SiS_CHTVRegDataStruct SiS300_CHTVReg_OPAL[] =
1934 {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 9: 640x400 PAL 1/1 */
1935 {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}},
1936 {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}},
1937 {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}},
1938 {{0x61,0x94,0x01,0x36,0x30,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 14: 640x480 PAL 1/1 */
1939 {{0x83,0x76,0x01,0x40,0x31,0,0,0,0,0,0,0,0,0,0,0}} /* Mode 20: 800x600 PAL 5/6 */
1943 static const SiS_CHTVRegDataStruct SiS300_CHTVReg_SOPAL[] =
1945 {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}}, /* Mode 9: 640x400 PAL 1/1 */
1946 {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}},
1947 {{0x41,0x12,0x01,0x50,0x34,0,0,0,0,0,0,0,0,0,0,0}},
1948 {{0x41,0x12,0x00,0x50,0x00,0,0,0,0,0,0,0,0,0,0,0}},
1949 {{0x60,0x30,0x00,0x10,0x00,0,0,0,0,0,0,0,0,0,0,0}}, /* TW: Mode 13: 640x480 PAL 5/4 */
1950 {{0x81,0x50,0x00,0x1b,0x00,0,0,0,0,0,0,0,0,0,0,0}} /* TW: Mode 19: 800x600 PAL 1/1 */
1953 static const UCHAR SiS300_CHTVVCLKUNTSC[] = {0x29,0x29,0x29,0x29,0x2a,0x2e};
1955 static const UCHAR SiS300_CHTVVCLKONTSC[] = {0x2c,0x2c,0x2c,0x2c,0x2d,0x2b};
1957 static const UCHAR SiS300_CHTVVCLKSONTSC[] = {0x2c,0x2c,0x2c,0x2c,0x2d,0x2b};
1959 static const UCHAR SiS300_CHTVVCLKUPAL[] = {0x2f,0x2f,0x2f,0x2f,0x2f,0x31};
1961 static const UCHAR SiS300_CHTVVCLKOPAL[] = {0x2f,0x2f,0x2f,0x2f,0x30,0x32};
1963 static const UCHAR SiS300_CHTVVCLKSOPAL[] = {0x2f,0x2f,0x2f,0x2f,0x36,0x29};