18c2ecf20Sopenharmony_ci/* $XFree86$ */ 28c2ecf20Sopenharmony_ci/* $XdotOrg$ */ 38c2ecf20Sopenharmony_ci/* 48c2ecf20Sopenharmony_ci * Data and prototypes for init.c 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * If distributed as part of the Linux kernel, the following license terms 98c2ecf20Sopenharmony_ci * apply: 108c2ecf20Sopenharmony_ci * 118c2ecf20Sopenharmony_ci * * This program is free software; you can redistribute it and/or modify 128c2ecf20Sopenharmony_ci * * it under the terms of the GNU General Public License as published by 138c2ecf20Sopenharmony_ci * * the Free Software Foundation; either version 2 of the named License, 148c2ecf20Sopenharmony_ci * * or any later version. 158c2ecf20Sopenharmony_ci * * 168c2ecf20Sopenharmony_ci * * This program is distributed in the hope that it will be useful, 178c2ecf20Sopenharmony_ci * * but WITHOUT ANY WARRANTY; without even the implied warranty of 188c2ecf20Sopenharmony_ci * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 198c2ecf20Sopenharmony_ci * * GNU General Public License for more details. 208c2ecf20Sopenharmony_ci * * 218c2ecf20Sopenharmony_ci * * You should have received a copy of the GNU General Public License 228c2ecf20Sopenharmony_ci * * along with this program; if not, write to the Free Software 238c2ecf20Sopenharmony_ci * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 248c2ecf20Sopenharmony_ci * 258c2ecf20Sopenharmony_ci * Otherwise, the following license terms apply: 268c2ecf20Sopenharmony_ci * 278c2ecf20Sopenharmony_ci * * Redistribution and use in source and binary forms, with or without 288c2ecf20Sopenharmony_ci * * modification, are permitted provided that the following conditions 298c2ecf20Sopenharmony_ci * * are met: 308c2ecf20Sopenharmony_ci * * 1) Redistributions of source code must retain the above copyright 318c2ecf20Sopenharmony_ci * * notice, this list of conditions and the following disclaimer. 328c2ecf20Sopenharmony_ci * * 2) Redistributions in binary form must reproduce the above copyright 338c2ecf20Sopenharmony_ci * * notice, this list of conditions and the following disclaimer in the 348c2ecf20Sopenharmony_ci * * documentation and/or other materials provided with the distribution. 358c2ecf20Sopenharmony_ci * * 3) The name of the author may not be used to endorse or promote products 368c2ecf20Sopenharmony_ci * * derived from this software without specific prior written permission. 378c2ecf20Sopenharmony_ci * * 388c2ecf20Sopenharmony_ci * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 398c2ecf20Sopenharmony_ci * * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 408c2ecf20Sopenharmony_ci * * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 418c2ecf20Sopenharmony_ci * * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 428c2ecf20Sopenharmony_ci * * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 438c2ecf20Sopenharmony_ci * * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 448c2ecf20Sopenharmony_ci * * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 458c2ecf20Sopenharmony_ci * * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 468c2ecf20Sopenharmony_ci * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 478c2ecf20Sopenharmony_ci * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 488c2ecf20Sopenharmony_ci * 498c2ecf20Sopenharmony_ci * Author: Thomas Winischhofer <thomas@winischhofer.net> 508c2ecf20Sopenharmony_ci * 518c2ecf20Sopenharmony_ci */ 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ci#ifndef _INIT_H_ 548c2ecf20Sopenharmony_ci#define _INIT_H_ 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci#include "initdef.h" 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ci#include "vgatypes.h" 598c2ecf20Sopenharmony_ci#include "vstruct.h" 608c2ecf20Sopenharmony_ci#ifdef SIS_CP 618c2ecf20Sopenharmony_ci#undef SIS_CP 628c2ecf20Sopenharmony_ci#endif 638c2ecf20Sopenharmony_ci#include <linux/types.h> 648c2ecf20Sopenharmony_ci#include <asm/io.h> 658c2ecf20Sopenharmony_ci#include <linux/fb.h> 668c2ecf20Sopenharmony_ci#include "sis.h" 678c2ecf20Sopenharmony_ci#include <video/sisfb.h> 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ci/* Mode numbers */ 708c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_320x200[] = {0x59, 0x41, 0x00, 0x4f}; 718c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_320x240[] = {0x50, 0x56, 0x00, 0x53}; 728c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_320x240_FSTN[] = {0x5a, 0x5b, 0x00, 0x00}; /* FSTN */ 738c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_400x300[] = {0x51, 0x57, 0x00, 0x54}; 748c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_512x384[] = {0x52, 0x58, 0x00, 0x5c}; 758c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_640x400[] = {0x2f, 0x5d, 0x00, 0x5e}; 768c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_640x480[] = {0x2e, 0x44, 0x00, 0x62}; 778c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_720x480[] = {0x31, 0x33, 0x00, 0x35}; 788c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_720x576[] = {0x32, 0x34, 0x00, 0x36}; 798c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_768x576[] = {0x5f, 0x60, 0x00, 0x61}; 808c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_800x480[] = {0x70, 0x7a, 0x00, 0x76}; 818c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_800x600[] = {0x30, 0x47, 0x00, 0x63}; 828c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_848x480[] = {0x39, 0x3b, 0x00, 0x3e}; 838c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_856x480[] = {0x3f, 0x42, 0x00, 0x45}; 848c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_960x540[] = {0x1d, 0x1e, 0x00, 0x1f}; /* 315 series only */ 858c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_960x600[] = {0x20, 0x21, 0x00, 0x22}; /* 315 series only */ 868c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1024x768[] = {0x38, 0x4a, 0x00, 0x64}; 878c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1024x576[] = {0x71, 0x74, 0x00, 0x77}; 888c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1024x600[] = {0x20, 0x21, 0x00, 0x22}; /* 300 series only */ 898c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1280x1024[] = {0x3a, 0x4d, 0x00, 0x65}; 908c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1280x960[] = {0x7c, 0x7d, 0x00, 0x7e}; 918c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1152x768[] = {0x23, 0x24, 0x00, 0x25}; /* 300 series only */ 928c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1152x864[] = {0x29, 0x2a, 0x00, 0x2b}; 938c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_300_1280x768[] = {0x55, 0x5a, 0x00, 0x5b}; 948c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_310_1280x768[] = {0x23, 0x24, 0x00, 0x25}; 958c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1280x720[] = {0x79, 0x75, 0x00, 0x78}; 968c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1280x800[] = {0x14, 0x15, 0x00, 0x16}; 978c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1280x854[] = {0x1a, 0x1b, 0x00, 0x1c}; 988c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1360x768[] = {0x48, 0x4b, 0x00, 0x4e}; 998c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_300_1360x1024[]= {0x67, 0x6f, 0x00, 0x72}; /* 300 series, BARCO only */ 1008c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1400x1050[] = {0x26, 0x27, 0x00, 0x28}; /* 315 series only */ 1018c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1680x1050[] = {0x17, 0x18, 0x00, 0x19}; /* 315 series only */ 1028c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1600x1200[] = {0x3c, 0x3d, 0x00, 0x66}; 1038c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1920x1080[] = {0x2c, 0x2d, 0x00, 0x73}; /* 315 series only */ 1048c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_1920x1440[] = {0x68, 0x69, 0x00, 0x6b}; 1058c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_300_2048x1536[]= {0x6c, 0x6d, 0x00, 0x00}; 1068c2ecf20Sopenharmony_cistatic const unsigned short ModeIndex_310_2048x1536[]= {0x6c, 0x6d, 0x00, 0x6e}; 1078c2ecf20Sopenharmony_ci 1088c2ecf20Sopenharmony_cistatic const unsigned char SiS_MDA_DAC[] = 1098c2ecf20Sopenharmony_ci{ 1108c2ecf20Sopenharmony_ci 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 1118c2ecf20Sopenharmony_ci 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, 1128c2ecf20Sopenharmony_ci 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, 1138c2ecf20Sopenharmony_ci 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F, 1148c2ecf20Sopenharmony_ci 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 1158c2ecf20Sopenharmony_ci 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, 1168c2ecf20Sopenharmony_ci 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, 1178c2ecf20Sopenharmony_ci 0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F 1188c2ecf20Sopenharmony_ci}; 1198c2ecf20Sopenharmony_ci 1208c2ecf20Sopenharmony_cistatic const unsigned char SiS_CGA_DAC[] = 1218c2ecf20Sopenharmony_ci{ 1228c2ecf20Sopenharmony_ci 0x00,0x10,0x04,0x14,0x01,0x11,0x09,0x15, 1238c2ecf20Sopenharmony_ci 0x00,0x10,0x04,0x14,0x01,0x11,0x09,0x15, 1248c2ecf20Sopenharmony_ci 0x2A,0x3A,0x2E,0x3E,0x2B,0x3B,0x2F,0x3F, 1258c2ecf20Sopenharmony_ci 0x2A,0x3A,0x2E,0x3E,0x2B,0x3B,0x2F,0x3F, 1268c2ecf20Sopenharmony_ci 0x00,0x10,0x04,0x14,0x01,0x11,0x09,0x15, 1278c2ecf20Sopenharmony_ci 0x00,0x10,0x04,0x14,0x01,0x11,0x09,0x15, 1288c2ecf20Sopenharmony_ci 0x2A,0x3A,0x2E,0x3E,0x2B,0x3B,0x2F,0x3F, 1298c2ecf20Sopenharmony_ci 0x2A,0x3A,0x2E,0x3E,0x2B,0x3B,0x2F,0x3F 1308c2ecf20Sopenharmony_ci}; 1318c2ecf20Sopenharmony_ci 1328c2ecf20Sopenharmony_cistatic const unsigned char SiS_EGA_DAC[] = 1338c2ecf20Sopenharmony_ci{ 1348c2ecf20Sopenharmony_ci 0x00,0x10,0x04,0x14,0x01,0x11,0x05,0x15, 1358c2ecf20Sopenharmony_ci 0x20,0x30,0x24,0x34,0x21,0x31,0x25,0x35, 1368c2ecf20Sopenharmony_ci 0x08,0x18,0x0C,0x1C,0x09,0x19,0x0D,0x1D, 1378c2ecf20Sopenharmony_ci 0x28,0x38,0x2C,0x3C,0x29,0x39,0x2D,0x3D, 1388c2ecf20Sopenharmony_ci 0x02,0x12,0x06,0x16,0x03,0x13,0x07,0x17, 1398c2ecf20Sopenharmony_ci 0x22,0x32,0x26,0x36,0x23,0x33,0x27,0x37, 1408c2ecf20Sopenharmony_ci 0x0A,0x1A,0x0E,0x1E,0x0B,0x1B,0x0F,0x1F, 1418c2ecf20Sopenharmony_ci 0x2A,0x3A,0x2E,0x3E,0x2B,0x3B,0x2F,0x3F 1428c2ecf20Sopenharmony_ci}; 1438c2ecf20Sopenharmony_ci 1448c2ecf20Sopenharmony_cistatic const unsigned char SiS_VGA_DAC[] = 1458c2ecf20Sopenharmony_ci{ 1468c2ecf20Sopenharmony_ci 0x00,0x10,0x04,0x14,0x01,0x11,0x09,0x15, 1478c2ecf20Sopenharmony_ci 0x2A,0x3A,0x2E,0x3E,0x2B,0x3B,0x2F,0x3F, 1488c2ecf20Sopenharmony_ci 0x00,0x05,0x08,0x0B,0x0E,0x11,0x14,0x18, 1498c2ecf20Sopenharmony_ci 0x1C,0x20,0x24,0x28,0x2D,0x32,0x38,0x3F, 1508c2ecf20Sopenharmony_ci 0x00,0x10,0x1F,0x2F,0x3F,0x1F,0x27,0x2F, 1518c2ecf20Sopenharmony_ci 0x37,0x3F,0x2D,0x31,0x36,0x3A,0x3F,0x00, 1528c2ecf20Sopenharmony_ci 0x07,0x0E,0x15,0x1C,0x0E,0x11,0x15,0x18, 1538c2ecf20Sopenharmony_ci 0x1C,0x14,0x16,0x18,0x1A,0x1C,0x00,0x04, 1548c2ecf20Sopenharmony_ci 0x08,0x0C,0x10,0x08,0x0A,0x0C,0x0E,0x10, 1558c2ecf20Sopenharmony_ci 0x0B,0x0C,0x0D,0x0F,0x10 1568c2ecf20Sopenharmony_ci}; 1578c2ecf20Sopenharmony_ci 1588c2ecf20Sopenharmony_cistatic const struct SiS_St SiS_SModeIDTable[] = 1598c2ecf20Sopenharmony_ci{ 1608c2ecf20Sopenharmony_ci {0x01,0x9208,0x01,0x00,0x00,0x00,0x01,0x00,0x40}, 1618c2ecf20Sopenharmony_ci {0x01,0x1210,0x14,0x01,0x01,0x00,0x01,0x00,0x40}, 1628c2ecf20Sopenharmony_ci {0x01,0x1010,0x17,0x02,0x02,0x00,0x01,0x01,0x40}, 1638c2ecf20Sopenharmony_ci {0x03,0x8208,0x03,0x00,0x00,0x00,0x01,0x02,0x40}, 1648c2ecf20Sopenharmony_ci {0x03,0x0210,0x16,0x01,0x01,0x00,0x01,0x02,0x40}, 1658c2ecf20Sopenharmony_ci {0x03,0x0010,0x18,0x02,0x02,0x00,0x01,0x03,0x40}, 1668c2ecf20Sopenharmony_ci {0x05,0x9209,0x05,0x00,0x00,0x00,0x00,0x04,0x40}, 1678c2ecf20Sopenharmony_ci {0x06,0x8209,0x06,0x00,0x00,0x00,0x00,0x05,0x40}, 1688c2ecf20Sopenharmony_ci {0x07,0x0000,0x07,0x03,0x03,0x00,0x01,0x03,0x40}, 1698c2ecf20Sopenharmony_ci {0x07,0x0000,0x19,0x02,0x02,0x00,0x01,0x03,0x40}, 1708c2ecf20Sopenharmony_ci {0x0d,0x920a,0x0d,0x00,0x00,0x00,0x00,0x04,0x40}, 1718c2ecf20Sopenharmony_ci {0x0e,0x820a,0x0e,0x00,0x00,0x00,0x00,0x05,0x40}, 1728c2ecf20Sopenharmony_ci {0x0f,0x0202,0x11,0x01,0x01,0x00,0x00,0x05,0x40}, 1738c2ecf20Sopenharmony_ci {0x10,0x0212,0x12,0x01,0x01,0x00,0x00,0x05,0x40}, 1748c2ecf20Sopenharmony_ci {0x11,0x0212,0x1a,0x04,0x04,0x00,0x00,0x05,0x40}, 1758c2ecf20Sopenharmony_ci {0x12,0x0212,0x1b,0x04,0x04,0x00,0x00,0x05,0x40}, 1768c2ecf20Sopenharmony_ci {0x13,0x021b,0x1c,0x00,0x00,0x00,0x00,0x04,0x40}, 1778c2ecf20Sopenharmony_ci {0x12,0x0010,0x18,0x02,0x02,0x00,0x00,0x05,0x40}, 1788c2ecf20Sopenharmony_ci {0x12,0x0210,0x18,0x01,0x01,0x00,0x00,0x05,0x40}, 1798c2ecf20Sopenharmony_ci {0xff,0x0000,0x00,0x00,0x00,0x00,0x00,0x00,0x00} 1808c2ecf20Sopenharmony_ci}; 1818c2ecf20Sopenharmony_ci 1828c2ecf20Sopenharmony_cistatic const struct SiS_StResInfo_S SiS_StResInfo[]= 1838c2ecf20Sopenharmony_ci{ 1848c2ecf20Sopenharmony_ci { 640,400}, 1858c2ecf20Sopenharmony_ci { 640,350}, 1868c2ecf20Sopenharmony_ci { 720,400}, 1878c2ecf20Sopenharmony_ci { 720,350}, 1888c2ecf20Sopenharmony_ci { 640,480} 1898c2ecf20Sopenharmony_ci}; 1908c2ecf20Sopenharmony_ci 1918c2ecf20Sopenharmony_cistatic const struct SiS_ModeResInfo_S SiS_ModeResInfo[] = 1928c2ecf20Sopenharmony_ci{ 1938c2ecf20Sopenharmony_ci { 320, 200, 8, 8}, /* 0x00 */ 1948c2ecf20Sopenharmony_ci { 320, 240, 8, 8}, /* 0x01 */ 1958c2ecf20Sopenharmony_ci { 320, 400, 8, 8}, /* 0x02 */ 1968c2ecf20Sopenharmony_ci { 400, 300, 8, 8}, /* 0x03 */ 1978c2ecf20Sopenharmony_ci { 512, 384, 8, 8}, /* 0x04 */ 1988c2ecf20Sopenharmony_ci { 640, 400, 8,16}, /* 0x05 */ 1998c2ecf20Sopenharmony_ci { 640, 480, 8,16}, /* 0x06 */ 2008c2ecf20Sopenharmony_ci { 800, 600, 8,16}, /* 0x07 */ 2018c2ecf20Sopenharmony_ci { 1024, 768, 8,16}, /* 0x08 */ 2028c2ecf20Sopenharmony_ci { 1280,1024, 8,16}, /* 0x09 */ 2038c2ecf20Sopenharmony_ci { 1600,1200, 8,16}, /* 0x0a */ 2048c2ecf20Sopenharmony_ci { 1920,1440, 8,16}, /* 0x0b */ 2058c2ecf20Sopenharmony_ci { 2048,1536, 8,16}, /* 0x0c */ 2068c2ecf20Sopenharmony_ci { 720, 480, 8,16}, /* 0x0d */ 2078c2ecf20Sopenharmony_ci { 720, 576, 8,16}, /* 0x0e */ 2088c2ecf20Sopenharmony_ci { 1280, 960, 8,16}, /* 0x0f */ 2098c2ecf20Sopenharmony_ci { 800, 480, 8,16}, /* 0x10 */ 2108c2ecf20Sopenharmony_ci { 1024, 576, 8,16}, /* 0x11 */ 2118c2ecf20Sopenharmony_ci { 1280, 720, 8,16}, /* 0x12 */ 2128c2ecf20Sopenharmony_ci { 856, 480, 8,16}, /* 0x13 */ 2138c2ecf20Sopenharmony_ci { 1280, 768, 8,16}, /* 0x14 */ 2148c2ecf20Sopenharmony_ci { 1400,1050, 8,16}, /* 0x15 */ 2158c2ecf20Sopenharmony_ci { 1152, 864, 8,16}, /* 0x16 */ 2168c2ecf20Sopenharmony_ci { 848, 480, 8,16}, /* 0x17 */ 2178c2ecf20Sopenharmony_ci { 1360, 768, 8,16}, /* 0x18 */ 2188c2ecf20Sopenharmony_ci { 1024, 600, 8,16}, /* 0x19 */ 2198c2ecf20Sopenharmony_ci { 1152, 768, 8,16}, /* 0x1a */ 2208c2ecf20Sopenharmony_ci { 768, 576, 8,16}, /* 0x1b */ 2218c2ecf20Sopenharmony_ci { 1360,1024, 8,16}, /* 0x1c */ 2228c2ecf20Sopenharmony_ci { 1680,1050, 8,16}, /* 0x1d */ 2238c2ecf20Sopenharmony_ci { 1280, 800, 8,16}, /* 0x1e */ 2248c2ecf20Sopenharmony_ci { 1920,1080, 8,16}, /* 0x1f */ 2258c2ecf20Sopenharmony_ci { 960, 540, 8,16}, /* 0x20 */ 2268c2ecf20Sopenharmony_ci { 960, 600, 8,16}, /* 0x21 */ 2278c2ecf20Sopenharmony_ci { 1280, 854, 8,16} /* 0x22 */ 2288c2ecf20Sopenharmony_ci}; 2298c2ecf20Sopenharmony_ci 2308c2ecf20Sopenharmony_ci#if defined(CONFIG_FB_SIS_300) || defined(CONFIG_FB_SIS_315) 2318c2ecf20Sopenharmony_cistatic const struct SiS_StandTable_S SiS_StandTable[]= 2328c2ecf20Sopenharmony_ci{ 2338c2ecf20Sopenharmony_ci/* 0x00: MD_0_200 */ 2348c2ecf20Sopenharmony_ci { 2358c2ecf20Sopenharmony_ci 0x28,0x18,0x08,0x0800, 2368c2ecf20Sopenharmony_ci {0x09,0x03,0x00,0x02}, 2378c2ecf20Sopenharmony_ci 0x63, 2388c2ecf20Sopenharmony_ci {0x2d,0x27,0x28,0x90,0x2b,0xa0,0xbf,0x1f, 2398c2ecf20Sopenharmony_ci 0x00,0xc7,0x06,0x07,0x00,0x00,0x00,0x00, 2408c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x14,0x1f,0x96,0xb9,0xa3, 2418c2ecf20Sopenharmony_ci 0xff}, 2428c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, 2438c2ecf20Sopenharmony_ci 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, 2448c2ecf20Sopenharmony_ci 0x08,0x00,0x0f,0x00}, 2458c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 2468c2ecf20Sopenharmony_ci 0xff} 2478c2ecf20Sopenharmony_ci }, 2488c2ecf20Sopenharmony_ci/* 0x01: MD_1_200 */ 2498c2ecf20Sopenharmony_ci { 2508c2ecf20Sopenharmony_ci 0x28,0x18,0x08,0x0800, 2518c2ecf20Sopenharmony_ci {0x09,0x03,0x00,0x02}, 2528c2ecf20Sopenharmony_ci 0x63, 2538c2ecf20Sopenharmony_ci {0x2d,0x27,0x28,0x90,0x2b,0xa0,0xbf,0x1f, 2548c2ecf20Sopenharmony_ci 0x00,0xc7,0x06,0x07,0x00,0x00,0x00,0x00, 2558c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x14,0x1f,0x96,0xb9,0xa3, 2568c2ecf20Sopenharmony_ci 0xff}, 2578c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, 2588c2ecf20Sopenharmony_ci 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, 2598c2ecf20Sopenharmony_ci 0x08,0x00,0x0f,0x00}, 2608c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 2618c2ecf20Sopenharmony_ci 0xff} 2628c2ecf20Sopenharmony_ci }, 2638c2ecf20Sopenharmony_ci/* 0x02: MD_2_200 */ 2648c2ecf20Sopenharmony_ci { 2658c2ecf20Sopenharmony_ci 0x50,0x18,0x08,0x1000, 2668c2ecf20Sopenharmony_ci {0x01,0x03,0x00,0x02}, 2678c2ecf20Sopenharmony_ci 0x63, 2688c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, 2698c2ecf20Sopenharmony_ci 0x00,0xc7,0x06,0x07,0x00,0x00,0x00,0x00, 2708c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x28,0x1f,0x96,0xb9,0xa3, 2718c2ecf20Sopenharmony_ci 0xff}, 2728c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, 2738c2ecf20Sopenharmony_ci 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, 2748c2ecf20Sopenharmony_ci 0x08,0x00,0x0f,0x00}, 2758c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 2768c2ecf20Sopenharmony_ci 0xff} 2778c2ecf20Sopenharmony_ci }, 2788c2ecf20Sopenharmony_ci/* 0x03: MD_3_200 - mode 0x03 - 0 */ 2798c2ecf20Sopenharmony_ci { 2808c2ecf20Sopenharmony_ci 0x50,0x18,0x08,0x1000, 2818c2ecf20Sopenharmony_ci {0x01,0x03,0x00,0x02}, 2828c2ecf20Sopenharmony_ci 0x63, 2838c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, 2848c2ecf20Sopenharmony_ci 0x00,0xc7,0x06,0x07,0x00,0x00,0x00,0x00, 2858c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x28,0x1f,0x96,0xb9,0xa3, 2868c2ecf20Sopenharmony_ci 0xff}, 2878c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, 2888c2ecf20Sopenharmony_ci 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, 2898c2ecf20Sopenharmony_ci 0x08,0x00,0x0f,0x00}, 2908c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 2918c2ecf20Sopenharmony_ci 0xff} 2928c2ecf20Sopenharmony_ci }, 2938c2ecf20Sopenharmony_ci/* 0x04: MD_4 */ 2948c2ecf20Sopenharmony_ci { 2958c2ecf20Sopenharmony_ci 0x28,0x18,0x08,0x4000, 2968c2ecf20Sopenharmony_ci {0x09,0x03,0x00,0x02}, 2978c2ecf20Sopenharmony_ci 0x63, 2988c2ecf20Sopenharmony_ci {0x2d,0x27,0x28,0x90,0x2c,0x80,0xbf,0x1f, /* 0x2c is 2b for 300 */ 2998c2ecf20Sopenharmony_ci 0x00,0xc1,0x00,0x00,0x00,0x00,0x00,0x00, 3008c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x14,0x00,0x96,0xb9,0xa2, 3018c2ecf20Sopenharmony_ci 0xff}, 3028c2ecf20Sopenharmony_ci {0x00,0x13,0x15,0x17,0x02,0x04,0x06,0x07, 3038c2ecf20Sopenharmony_ci 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, 3048c2ecf20Sopenharmony_ci 0x01,0x00,0x03,0x00}, 3058c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x30,0x0f,0x00, 3068c2ecf20Sopenharmony_ci 0xff} 3078c2ecf20Sopenharmony_ci }, 3088c2ecf20Sopenharmony_ci/* 0x05: MD_5 */ 3098c2ecf20Sopenharmony_ci { 3108c2ecf20Sopenharmony_ci 0x28,0x18,0x08,0x4000, 3118c2ecf20Sopenharmony_ci {0x09,0x03,0x00,0x02}, 3128c2ecf20Sopenharmony_ci 0x63, 3138c2ecf20Sopenharmony_ci {0x2d,0x27,0x28,0x90,0x2c,0x80,0xbf,0x1f, /* 0x2c is 2b for 300 */ 3148c2ecf20Sopenharmony_ci 0x00,0xc1,0x00,0x00,0x00,0x00,0x00,0x00, 3158c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x14,0x00,0x96,0xb9,0xa2, 3168c2ecf20Sopenharmony_ci 0xff}, 3178c2ecf20Sopenharmony_ci {0x00,0x13,0x15,0x17,0x02,0x04,0x06,0x07, 3188c2ecf20Sopenharmony_ci 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, 3198c2ecf20Sopenharmony_ci 0x01,0x00,0x03,0x00}, 3208c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x30,0x0f,0x00, 3218c2ecf20Sopenharmony_ci 0xff} 3228c2ecf20Sopenharmony_ci }, 3238c2ecf20Sopenharmony_ci/* 0x06: MD_6 */ 3248c2ecf20Sopenharmony_ci { 3258c2ecf20Sopenharmony_ci 0x50,0x18,0x08,0x4000, 3268c2ecf20Sopenharmony_ci {0x01,0x01,0x00,0x06}, 3278c2ecf20Sopenharmony_ci 0x63, 3288c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, /* 55,81 is 54,80 for 300 */ 3298c2ecf20Sopenharmony_ci 0x00,0xc1,0x00,0x00,0x00,0x00,0x00,0x00, 3308c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x28,0x00,0x96,0xb9,0xc2, 3318c2ecf20Sopenharmony_ci 0xff}, 3328c2ecf20Sopenharmony_ci {0x00,0x17,0x17,0x17,0x17,0x17,0x17,0x17, 3338c2ecf20Sopenharmony_ci 0x17,0x17,0x17,0x17,0x17,0x17,0x17,0x17, 3348c2ecf20Sopenharmony_ci 0x01,0x00,0x01,0x00}, 3358c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x00, 3368c2ecf20Sopenharmony_ci 0xff} 3378c2ecf20Sopenharmony_ci }, 3388c2ecf20Sopenharmony_ci/* 0x07: MD_7 */ 3398c2ecf20Sopenharmony_ci { 3408c2ecf20Sopenharmony_ci 0x50,0x18,0x0e,0x1000, 3418c2ecf20Sopenharmony_ci {0x00,0x03,0x00,0x03}, 3428c2ecf20Sopenharmony_ci 0xa6, 3438c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, 3448c2ecf20Sopenharmony_ci 0x00,0x4d,0x0b,0x0c,0x00,0x00,0x00,0x00, 3458c2ecf20Sopenharmony_ci 0x83,0x85,0x5d,0x28,0x0d,0x63,0xba,0xa3, 3468c2ecf20Sopenharmony_ci 0xff}, 3478c2ecf20Sopenharmony_ci {0x00,0x08,0x08,0x08,0x08,0x08,0x08,0x08, 3488c2ecf20Sopenharmony_ci 0x10,0x18,0x18,0x18,0x18,0x18,0x18,0x18, 3498c2ecf20Sopenharmony_ci 0x0e,0x00,0x0f,0x08}, 3508c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0a,0x00, 3518c2ecf20Sopenharmony_ci 0xff} 3528c2ecf20Sopenharmony_ci }, 3538c2ecf20Sopenharmony_ci/* 0x08: MDA_DAC */ 3548c2ecf20Sopenharmony_ci { 3558c2ecf20Sopenharmony_ci 0x00,0x00,0x00,0x0000, 3568c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x15}, 3578c2ecf20Sopenharmony_ci 0x15, 3588c2ecf20Sopenharmony_ci {0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, 3598c2ecf20Sopenharmony_ci 0x15,0x15,0x15,0x15,0x15,0x15,0x3f,0x3f, 3608c2ecf20Sopenharmony_ci 0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x00,0x00, 3618c2ecf20Sopenharmony_ci 0x00}, 3628c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x15,0x15,0x15, 3638c2ecf20Sopenharmony_ci 0x15,0x15,0x15,0x15,0x15,0x15,0x15,0x15, 3648c2ecf20Sopenharmony_ci 0x15,0x15,0x15,0x15}, 3658c2ecf20Sopenharmony_ci {0x15,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f, 3668c2ecf20Sopenharmony_ci 0x3f} 3678c2ecf20Sopenharmony_ci }, 3688c2ecf20Sopenharmony_ci/* 0x09: CGA_DAC */ 3698c2ecf20Sopenharmony_ci { 3708c2ecf20Sopenharmony_ci 0x00,0x10,0x04,0x0114, 3718c2ecf20Sopenharmony_ci {0x11,0x09,0x15,0x00}, 3728c2ecf20Sopenharmony_ci 0x10, 3738c2ecf20Sopenharmony_ci {0x04,0x14,0x01,0x11,0x09,0x15,0x2a,0x3a, 3748c2ecf20Sopenharmony_ci 0x2e,0x3e,0x2b,0x3b,0x2f,0x3f,0x2a,0x3a, 3758c2ecf20Sopenharmony_ci 0x2e,0x3e,0x2b,0x3b,0x2f,0x3f,0x00,0x10, 3768c2ecf20Sopenharmony_ci 0x04}, 3778c2ecf20Sopenharmony_ci {0x14,0x01,0x11,0x09,0x15,0x00,0x10,0x04, 3788c2ecf20Sopenharmony_ci 0x14,0x01,0x11,0x09,0x15,0x2a,0x3a,0x2e, 3798c2ecf20Sopenharmony_ci 0x3e,0x2b,0x3b,0x2f}, 3808c2ecf20Sopenharmony_ci {0x3f,0x2a,0x3a,0x2e,0x3e,0x2b,0x3b,0x2f, 3818c2ecf20Sopenharmony_ci 0x3f} 3828c2ecf20Sopenharmony_ci }, 3838c2ecf20Sopenharmony_ci/* 0x0a: EGA_DAC */ 3848c2ecf20Sopenharmony_ci { 3858c2ecf20Sopenharmony_ci 0x00,0x10,0x04,0x0114, 3868c2ecf20Sopenharmony_ci {0x11,0x05,0x15,0x20}, 3878c2ecf20Sopenharmony_ci 0x30, 3888c2ecf20Sopenharmony_ci {0x24,0x34,0x21,0x31,0x25,0x35,0x08,0x18, 3898c2ecf20Sopenharmony_ci 0x0c,0x1c,0x09,0x19,0x0d,0x1d,0x28,0x38, 3908c2ecf20Sopenharmony_ci 0x2c,0x3c,0x29,0x39,0x2d,0x3d,0x02,0x12, 3918c2ecf20Sopenharmony_ci 0x06}, 3928c2ecf20Sopenharmony_ci {0x16,0x03,0x13,0x07,0x17,0x22,0x32,0x26, 3938c2ecf20Sopenharmony_ci 0x36,0x23,0x33,0x27,0x37,0x0a,0x1a,0x0e, 3948c2ecf20Sopenharmony_ci 0x1e,0x0b,0x1b,0x0f}, 3958c2ecf20Sopenharmony_ci {0x1f,0x2a,0x3a,0x2e,0x3e,0x2b,0x3b,0x2f, 3968c2ecf20Sopenharmony_ci 0x3f} 3978c2ecf20Sopenharmony_ci }, 3988c2ecf20Sopenharmony_ci/* 0x0b: VGA_DAC */ 3998c2ecf20Sopenharmony_ci { 4008c2ecf20Sopenharmony_ci 0x00,0x10,0x04,0x0114, 4018c2ecf20Sopenharmony_ci {0x11,0x09,0x15,0x2a}, 4028c2ecf20Sopenharmony_ci 0x3a, 4038c2ecf20Sopenharmony_ci {0x2e,0x3e,0x2b,0x3b,0x2f,0x3f,0x00,0x05, 4048c2ecf20Sopenharmony_ci 0x08,0x0b,0x0e,0x11,0x14,0x18,0x1c,0x20, 4058c2ecf20Sopenharmony_ci 0x24,0x28,0x2d,0x32,0x38,0x3f,0x00,0x10, 4068c2ecf20Sopenharmony_ci 0x1f}, 4078c2ecf20Sopenharmony_ci {0x2f,0x3f,0x1f,0x27,0x2f,0x37,0x3f,0x2d, 4088c2ecf20Sopenharmony_ci 0x31,0x36,0x3a,0x3f,0x00,0x07,0x0e,0x15, 4098c2ecf20Sopenharmony_ci 0x1c,0x0e,0x11,0x15}, 4108c2ecf20Sopenharmony_ci {0x18,0x1c,0x14,0x16,0x18,0x1a,0x1c,0x00, 4118c2ecf20Sopenharmony_ci 0x04} 4128c2ecf20Sopenharmony_ci }, 4138c2ecf20Sopenharmony_ci/* 0x0c */ 4148c2ecf20Sopenharmony_ci { 4158c2ecf20Sopenharmony_ci 0x08,0x0c,0x10,0x0a08, 4168c2ecf20Sopenharmony_ci {0x0c,0x0e,0x10,0x0b}, 4178c2ecf20Sopenharmony_ci 0x0c, 4188c2ecf20Sopenharmony_ci {0x0d,0x0f,0x10,0x10,0x01,0x08,0x00,0x00, 4198c2ecf20Sopenharmony_ci 0x00,0x00,0x01,0x00,0x02,0x02,0x01,0x00, 4208c2ecf20Sopenharmony_ci 0x04,0x04,0x01,0x00,0x05,0x02,0x05,0x00, 4218c2ecf20Sopenharmony_ci 0x06}, 4228c2ecf20Sopenharmony_ci {0x01,0x06,0x05,0x06,0x00,0x08,0x01,0x08, 4238c2ecf20Sopenharmony_ci 0x00,0x07,0x02,0x07,0x06,0x07,0x00,0x00, 4248c2ecf20Sopenharmony_ci 0x00,0x00,0x00,0x00}, 4258c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 4268c2ecf20Sopenharmony_ci 0x00} 4278c2ecf20Sopenharmony_ci }, 4288c2ecf20Sopenharmony_ci/* 0x0d: MD_D */ 4298c2ecf20Sopenharmony_ci { 4308c2ecf20Sopenharmony_ci 0x28,0x18,0x08,0x2000, 4318c2ecf20Sopenharmony_ci {0x09,0x0f,0x00,0x06}, 4328c2ecf20Sopenharmony_ci 0x63, 4338c2ecf20Sopenharmony_ci {0x2d,0x27,0x28,0x90,0x2c,0x80,0xbf,0x1f, /* 2c is 2b for 300 */ 4348c2ecf20Sopenharmony_ci 0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00, 4358c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x14,0x00,0x96,0xb9,0xe3, 4368c2ecf20Sopenharmony_ci 0xff}, 4378c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, 4388c2ecf20Sopenharmony_ci 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, 4398c2ecf20Sopenharmony_ci 0x01,0x00,0x0f,0x00}, 4408c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x0f, 4418c2ecf20Sopenharmony_ci 0xff} 4428c2ecf20Sopenharmony_ci }, 4438c2ecf20Sopenharmony_ci/* 0x0e: MD_E */ 4448c2ecf20Sopenharmony_ci { 4458c2ecf20Sopenharmony_ci 0x50,0x18,0x08,0x4000, 4468c2ecf20Sopenharmony_ci {0x01,0x0f,0x00,0x06}, 4478c2ecf20Sopenharmony_ci 0x63, 4488c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, /* 55,81 is 54,80 for 300 */ 4498c2ecf20Sopenharmony_ci 0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00, 4508c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x28,0x00,0x96,0xb9,0xe3, 4518c2ecf20Sopenharmony_ci 0xff}, 4528c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, 4538c2ecf20Sopenharmony_ci 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, 4548c2ecf20Sopenharmony_ci 0x01,0x00,0x0f,0x00}, 4558c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x0f, 4568c2ecf20Sopenharmony_ci 0xff} 4578c2ecf20Sopenharmony_ci }, 4588c2ecf20Sopenharmony_ci/* 0x0f: ExtVGATable - modes > 0x13 */ 4598c2ecf20Sopenharmony_ci { 4608c2ecf20Sopenharmony_ci 0x00,0x00,0x00,0x0000, 4618c2ecf20Sopenharmony_ci {0x01,0x0f,0x00,0x0e}, 4628c2ecf20Sopenharmony_ci 0x23, 4638c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x54,0x80,0x0b,0x3e, 4648c2ecf20Sopenharmony_ci 0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00, 4658c2ecf20Sopenharmony_ci 0xea,0x8c,0xdf,0x28,0x40,0xe7,0x04,0xa3, 4668c2ecf20Sopenharmony_ci 0xff}, 4678c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, 4688c2ecf20Sopenharmony_ci 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, 4698c2ecf20Sopenharmony_ci 0x01,0x00,0x00,0x00}, 4708c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0f, 4718c2ecf20Sopenharmony_ci 0xff} 4728c2ecf20Sopenharmony_ci }, 4738c2ecf20Sopenharmony_ci/* 0x10: ROM_SAVEPTR - totally different for 300 */ 4748c2ecf20Sopenharmony_ci { 4758c2ecf20Sopenharmony_ci 0x9f,0x3b,0x00,0x00c0, 4768c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00}, 4778c2ecf20Sopenharmony_ci 0x00, 4788c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0xbb,0x3f, 4798c2ecf20Sopenharmony_ci 0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00, 4808c2ecf20Sopenharmony_ci 0x00,0x00,0x1a,0x00,0xac,0x3e,0x00,0xc0, 4818c2ecf20Sopenharmony_ci 0x00}, 4828c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 4838c2ecf20Sopenharmony_ci 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 4848c2ecf20Sopenharmony_ci 0x00,0x00,0x00,0x00}, 4858c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 4868c2ecf20Sopenharmony_ci 0x00} 4878c2ecf20Sopenharmony_ci }, 4888c2ecf20Sopenharmony_ci/* 0x11: MD_F */ 4898c2ecf20Sopenharmony_ci { 4908c2ecf20Sopenharmony_ci 0x50,0x18,0x0e,0x8000, 4918c2ecf20Sopenharmony_ci {0x01,0x0f,0x00,0x06}, 4928c2ecf20Sopenharmony_ci 0xa2, 4938c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, /* 55,81 is 54,80 on 300 */ 4948c2ecf20Sopenharmony_ci 0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00, 4958c2ecf20Sopenharmony_ci 0x82,0x84,0x5d,0x28,0x0f,0x63,0xba,0xe3, /* 82,84 is 83,85 on 300 */ 4968c2ecf20Sopenharmony_ci 0xff}, 4978c2ecf20Sopenharmony_ci {0x00,0x08,0x00,0x00,0x18,0x18,0x00,0x00, 4988c2ecf20Sopenharmony_ci 0x00,0x08,0x00,0x00,0x00,0x18,0x00,0x00, 4998c2ecf20Sopenharmony_ci 0x0b,0x00,0x05,0x00}, 5008c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x05, 5018c2ecf20Sopenharmony_ci 0xff} 5028c2ecf20Sopenharmony_ci }, 5038c2ecf20Sopenharmony_ci/* 0x12: MD_10 */ 5048c2ecf20Sopenharmony_ci { 5058c2ecf20Sopenharmony_ci 0x50,0x18,0x0e,0x8000, 5068c2ecf20Sopenharmony_ci {0x01,0x0f,0x00,0x06}, 5078c2ecf20Sopenharmony_ci 0xa3, 5088c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, /* 55,81 is 54,80 on 300 */ 5098c2ecf20Sopenharmony_ci 0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00, 5108c2ecf20Sopenharmony_ci 0x82,0x84,0x5d,0x28,0x0f,0x63,0xba,0xe3, /* 82,84 is 83,85 on 300 */ 5118c2ecf20Sopenharmony_ci 0xff}, 5128c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07, 5138c2ecf20Sopenharmony_ci 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, 5148c2ecf20Sopenharmony_ci 0x01,0x00,0x0f,0x00}, 5158c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x0f, 5168c2ecf20Sopenharmony_ci 0xff} 5178c2ecf20Sopenharmony_ci }, 5188c2ecf20Sopenharmony_ci/* 0x13: MD_0_350 */ 5198c2ecf20Sopenharmony_ci { 5208c2ecf20Sopenharmony_ci 0x28,0x18,0x0e,0x0800, 5218c2ecf20Sopenharmony_ci {0x09,0x03,0x00,0x02}, 5228c2ecf20Sopenharmony_ci 0xa3, 5238c2ecf20Sopenharmony_ci {0x2d,0x27,0x28,0x90,0x2b,0xb1,0xbf,0x1f, /* b1 is a0 on 300 */ 5248c2ecf20Sopenharmony_ci 0x00,0x4d,0x0b,0x0c,0x00,0x00,0x00,0x00, 5258c2ecf20Sopenharmony_ci 0x83,0x85,0x5d,0x14,0x1f,0x63,0xba,0xa3, 5268c2ecf20Sopenharmony_ci 0xff}, 5278c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07, 5288c2ecf20Sopenharmony_ci 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, 5298c2ecf20Sopenharmony_ci 0x08,0x00,0x0f,0x00}, 5308c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 5318c2ecf20Sopenharmony_ci 0xff} 5328c2ecf20Sopenharmony_ci }, 5338c2ecf20Sopenharmony_ci/* 0x14: MD_1_350 */ 5348c2ecf20Sopenharmony_ci { 5358c2ecf20Sopenharmony_ci 0x28,0x18,0x0e,0x0800, 5368c2ecf20Sopenharmony_ci {0x09,0x03,0x00,0x02}, 5378c2ecf20Sopenharmony_ci 0xa3, 5388c2ecf20Sopenharmony_ci {0x2d,0x27,0x28,0x90,0x2b,0xa0,0xbf,0x1f, 5398c2ecf20Sopenharmony_ci 0x00,0x4d,0x0b,0x0c,0x00,0x00,0x00,0x00, 5408c2ecf20Sopenharmony_ci 0x83,0x85,0x5d,0x14,0x1f,0x63,0xba,0xa3, 5418c2ecf20Sopenharmony_ci 0xff}, 5428c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07, 5438c2ecf20Sopenharmony_ci 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, 5448c2ecf20Sopenharmony_ci 0x08,0x00,0x0f,0x00}, 5458c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 5468c2ecf20Sopenharmony_ci 0xff} 5478c2ecf20Sopenharmony_ci }, 5488c2ecf20Sopenharmony_ci/* 0x15: MD_2_350 */ 5498c2ecf20Sopenharmony_ci { 5508c2ecf20Sopenharmony_ci 0x50,0x18,0x0e,0x1000, 5518c2ecf20Sopenharmony_ci {0x01,0x03,0x00,0x02}, 5528c2ecf20Sopenharmony_ci 0xa3, 5538c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, 5548c2ecf20Sopenharmony_ci 0x00,0x4d,0x0b,0x0c,0x00,0x00,0x00,0x00, 5558c2ecf20Sopenharmony_ci 0x83,0x85,0x5d,0x28,0x1f,0x63,0xba,0xa3, 5568c2ecf20Sopenharmony_ci 0xff}, 5578c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07, 5588c2ecf20Sopenharmony_ci 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, 5598c2ecf20Sopenharmony_ci 0x08,0x00,0x0f,0x00}, 5608c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 5618c2ecf20Sopenharmony_ci 0xff} 5628c2ecf20Sopenharmony_ci }, 5638c2ecf20Sopenharmony_ci/* 0x16: MD_3_350 - mode 0x03 - 1 */ 5648c2ecf20Sopenharmony_ci { 5658c2ecf20Sopenharmony_ci 0x50,0x18,0x0e,0x1000, 5668c2ecf20Sopenharmony_ci {0x01,0x03,0x00,0x02}, 5678c2ecf20Sopenharmony_ci 0xa3, 5688c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, 5698c2ecf20Sopenharmony_ci 0x00,0x4d,0x0b,0x0c,0x00,0x00,0x00,0x00, 5708c2ecf20Sopenharmony_ci 0x83,0x85,0x5d,0x28,0x1f,0x63,0xba,0xa3, 5718c2ecf20Sopenharmony_ci 0xff}, 5728c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07, 5738c2ecf20Sopenharmony_ci 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, 5748c2ecf20Sopenharmony_ci 0x08,0x00,0x0f,0x00}, 5758c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 5768c2ecf20Sopenharmony_ci 0xff} 5778c2ecf20Sopenharmony_ci }, 5788c2ecf20Sopenharmony_ci/* 0x17: MD_0_1_400 */ 5798c2ecf20Sopenharmony_ci { 5808c2ecf20Sopenharmony_ci 0x28,0x18,0x10,0x0800, 5818c2ecf20Sopenharmony_ci {0x08,0x03,0x00,0x02}, 5828c2ecf20Sopenharmony_ci 0x67, 5838c2ecf20Sopenharmony_ci {0x2d,0x27,0x28,0x90,0x2b,0xb1,0xbf,0x1f, /* b1 is a0 on 300 */ 5848c2ecf20Sopenharmony_ci 0x00,0x4f,0x0d,0x0e,0x00,0x00,0x00,0x00, 5858c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x14,0x1f,0x96,0xb9,0xa3, 5868c2ecf20Sopenharmony_ci 0xff}, 5878c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07, 5888c2ecf20Sopenharmony_ci 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, 5898c2ecf20Sopenharmony_ci 0x0c,0x00,0x0f,0x08}, 5908c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 5918c2ecf20Sopenharmony_ci 0xff} 5928c2ecf20Sopenharmony_ci }, 5938c2ecf20Sopenharmony_ci/* 0x18: MD_2_3_400 - mode 0x03 - 2 */ 5948c2ecf20Sopenharmony_ci { 5958c2ecf20Sopenharmony_ci 0x50,0x18,0x10,0x1000, 5968c2ecf20Sopenharmony_ci {0x00,0x03,0x00,0x02}, 5978c2ecf20Sopenharmony_ci 0x67, 5988c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, 5998c2ecf20Sopenharmony_ci 0x00,0x4f,0x0d,0x0e,0x00,0x00,0x00,0x00, 6008c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x28,0x1f,0x96,0xb9,0xa3, 6018c2ecf20Sopenharmony_ci 0xff}, 6028c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07, 6038c2ecf20Sopenharmony_ci 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, 6048c2ecf20Sopenharmony_ci 0x0c,0x00,0x0f,0x08}, 6058c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0e,0x00, 6068c2ecf20Sopenharmony_ci 0xff} 6078c2ecf20Sopenharmony_ci }, 6088c2ecf20Sopenharmony_ci/* 0x19: MD_7_400 */ 6098c2ecf20Sopenharmony_ci { 6108c2ecf20Sopenharmony_ci 0x50,0x18,0x10,0x1000, 6118c2ecf20Sopenharmony_ci {0x00,0x03,0x00,0x02}, 6128c2ecf20Sopenharmony_ci 0x66, 6138c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, 6148c2ecf20Sopenharmony_ci 0x00,0x4f,0x0d,0x0e,0x00,0x00,0x00,0x00, 6158c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x28,0x0f,0x96,0xb9,0xa3, 6168c2ecf20Sopenharmony_ci 0xff}, 6178c2ecf20Sopenharmony_ci {0x00,0x08,0x08,0x08,0x08,0x08,0x08,0x08, 6188c2ecf20Sopenharmony_ci 0x10,0x18,0x18,0x18,0x18,0x18,0x18,0x18, 6198c2ecf20Sopenharmony_ci 0x0e,0x00,0x0f,0x08}, 6208c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x10,0x0a,0x00, 6218c2ecf20Sopenharmony_ci 0xff} 6228c2ecf20Sopenharmony_ci }, 6238c2ecf20Sopenharmony_ci/* 0x1a: MD_11 */ 6248c2ecf20Sopenharmony_ci { 6258c2ecf20Sopenharmony_ci 0x50,0x1d,0x10,0xa000, 6268c2ecf20Sopenharmony_ci {0x01,0x0f,0x00,0x06}, 6278c2ecf20Sopenharmony_ci 0xe3, 6288c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0x0b,0x3e, /* 55,81 is 54,80 on 300 */ 6298c2ecf20Sopenharmony_ci 0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00, 6308c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x28,0x00,0xe7,0x04,0xc3, /* e9,8b is ea,8c on 300 */ 6318c2ecf20Sopenharmony_ci 0xff}, 6328c2ecf20Sopenharmony_ci {0x00,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f, 6338c2ecf20Sopenharmony_ci 0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f,0x3f, 6348c2ecf20Sopenharmony_ci 0x01,0x00,0x0f,0x00}, 6358c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x01, 6368c2ecf20Sopenharmony_ci 0xff} 6378c2ecf20Sopenharmony_ci }, 6388c2ecf20Sopenharmony_ci/* 0x1b: ExtEGATable - Modes <= 0x02 */ 6398c2ecf20Sopenharmony_ci { 6408c2ecf20Sopenharmony_ci 0x50,0x1d,0x10,0xa000, 6418c2ecf20Sopenharmony_ci {0x01,0x0f,0x00,0x06}, 6428c2ecf20Sopenharmony_ci 0xe3, 6438c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0x0b,0x3e, /* 55,81 is 54,80 on 300 */ 6448c2ecf20Sopenharmony_ci 0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00, 6458c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x28,0x00,0xe7,0x04,0xe3, /* e9,8b is ea,8c on 300 */ 6468c2ecf20Sopenharmony_ci 0xff}, 6478c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x14,0x07, 6488c2ecf20Sopenharmony_ci 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, 6498c2ecf20Sopenharmony_ci 0x01,0x00,0x0f,0x00}, 6508c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x0f, 6518c2ecf20Sopenharmony_ci 0xff} 6528c2ecf20Sopenharmony_ci }, 6538c2ecf20Sopenharmony_ci/* 0x1c: MD_13 */ 6548c2ecf20Sopenharmony_ci { 6558c2ecf20Sopenharmony_ci 0x28,0x18,0x08,0x2000, 6568c2ecf20Sopenharmony_ci {0x01,0x0f,0x00,0x0e}, 6578c2ecf20Sopenharmony_ci 0x63, 6588c2ecf20Sopenharmony_ci {0x5f,0x4f,0x50,0x82,0x55,0x81,0xbf,0x1f, /* 55,81 is 54,80 on 300 */ 6598c2ecf20Sopenharmony_ci 0x00,0x41,0x00,0x00,0x00,0x00,0x00,0x00, 6608c2ecf20Sopenharmony_ci 0x9c,0x8e,0x8f,0x28,0x40,0x96,0xb9,0xa3, 6618c2ecf20Sopenharmony_ci 0xff}, 6628c2ecf20Sopenharmony_ci {0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, 6638c2ecf20Sopenharmony_ci 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, 6648c2ecf20Sopenharmony_ci 0x41,0x00,0x0f,0x00}, 6658c2ecf20Sopenharmony_ci {0x00,0x00,0x00,0x00,0x00,0x40,0x05,0x0f, 6668c2ecf20Sopenharmony_ci 0xff} 6678c2ecf20Sopenharmony_ci } 6688c2ecf20Sopenharmony_ci}; 6698c2ecf20Sopenharmony_ci#endif 6708c2ecf20Sopenharmony_ci 6718c2ecf20Sopenharmony_ci/**************************************************************/ 6728c2ecf20Sopenharmony_ci/* SIS VIDEO BRIDGE ----------------------------------------- */ 6738c2ecf20Sopenharmony_ci/**************************************************************/ 6748c2ecf20Sopenharmony_ci 6758c2ecf20Sopenharmony_cistatic const unsigned char SiS_SoftSetting = 0x30; /* RAM setting */ 6768c2ecf20Sopenharmony_ci 6778c2ecf20Sopenharmony_cistatic const unsigned char SiS_OutputSelect = 0x40; 6788c2ecf20Sopenharmony_ci 6798c2ecf20Sopenharmony_cistatic const unsigned char SiS_NTSCTiming[] = { 6808c2ecf20Sopenharmony_ci 0x17,0x1d,0x03,0x09,0x05,0x06,0x0c,0x0c, 6818c2ecf20Sopenharmony_ci 0x94,0x49,0x01,0x0a,0x06,0x0d,0x04,0x0a, 6828c2ecf20Sopenharmony_ci 0x06,0x14,0x0d,0x04,0x0a,0x00,0x85,0x1b, 6838c2ecf20Sopenharmony_ci 0x0c,0x50,0x00,0x97,0x00,0xda,0x4a,0x17, 6848c2ecf20Sopenharmony_ci 0x7d,0x05,0x4b,0x00,0x00,0xe2,0x00,0x02, 6858c2ecf20Sopenharmony_ci 0x03,0x0a,0x65,0x9d,0x08,0x92,0x8f,0x40, 6868c2ecf20Sopenharmony_ci 0x60,0x80,0x14,0x90,0x8c,0x60,0x14,0x50, 6878c2ecf20Sopenharmony_ci 0x00,0x40,0x44,0x00,0xdb,0x02,0x3b,0x00 6888c2ecf20Sopenharmony_ci}; 6898c2ecf20Sopenharmony_ci 6908c2ecf20Sopenharmony_cistatic const unsigned char SiS_PALTiming[] = { 6918c2ecf20Sopenharmony_ci 0x19,0x52,0x35,0x6e,0x04,0x38,0x3d,0x70, 6928c2ecf20Sopenharmony_ci 0x94,0x49,0x01,0x12,0x06,0x3e,0x35,0x6d, 6938c2ecf20Sopenharmony_ci 0x06,0x14,0x3e,0x35,0x6d,0x00,0x45,0x2b, 6948c2ecf20Sopenharmony_ci 0x70,0x50,0x00,0x9b,0x00,0xd9,0x5d,0x17, 6958c2ecf20Sopenharmony_ci 0x7d,0x05,0x45,0x00,0x00,0xe8,0x00,0x02, 6968c2ecf20Sopenharmony_ci 0x0d,0x00,0x68,0xb0,0x0b,0x92,0x8f,0x40, 6978c2ecf20Sopenharmony_ci 0x60,0x80,0x14,0x90,0x8c,0x60,0x14,0x63, 6988c2ecf20Sopenharmony_ci 0x00,0x40,0x3e,0x00,0xe1,0x02,0x28,0x00 6998c2ecf20Sopenharmony_ci}; 7008c2ecf20Sopenharmony_ci 7018c2ecf20Sopenharmony_cistatic const unsigned char SiS_HiTVExtTiming[] = { 7028c2ecf20Sopenharmony_ci 0x32,0x65,0x2c,0x5f,0x08,0x31,0x3a,0x64, 7038c2ecf20Sopenharmony_ci 0x28,0x02,0x01,0x3d,0x06,0x3e,0x35,0x6d, 7048c2ecf20Sopenharmony_ci 0x06,0x14,0x3e,0x35,0x6d,0x00,0xc5,0x3f, 7058c2ecf20Sopenharmony_ci 0x64,0x90,0x33,0x8c,0x18,0x36,0x3e,0x13, 7068c2ecf20Sopenharmony_ci 0x2a,0xde,0x2a,0x44,0x40,0x2a,0x44,0x40, 7078c2ecf20Sopenharmony_ci 0x8e,0x8e,0x82,0x07,0x0b,0x92,0x0f,0x40, 7088c2ecf20Sopenharmony_ci 0x60,0x80,0x14,0x90,0x8c,0x60,0x14,0x3d, 7098c2ecf20Sopenharmony_ci 0x63,0x4f,0x27,0x00,0xfc,0xff,0x6a,0x00 7108c2ecf20Sopenharmony_ci}; 7118c2ecf20Sopenharmony_ci 7128c2ecf20Sopenharmony_cistatic const unsigned char SiS_HiTVSt1Timing[] = { 7138c2ecf20Sopenharmony_ci 0x32,0x65,0x2c,0x5f,0x08,0x31,0x3a,0x65, 7148c2ecf20Sopenharmony_ci 0x28,0x02,0x01,0x3d,0x06,0x3e,0x35,0x6d, 7158c2ecf20Sopenharmony_ci 0x06,0x14,0x3e,0x35,0x6d,0x00,0xc5,0x3f, 7168c2ecf20Sopenharmony_ci 0x65,0x90,0x7b,0xa8,0x03,0xf0,0x87,0x03, 7178c2ecf20Sopenharmony_ci 0x11,0x15,0x11,0xcf,0x10,0x11,0xcf,0x10, 7188c2ecf20Sopenharmony_ci 0x35,0x35,0x3b,0x69,0x1d,0x92,0x0f,0x40, 7198c2ecf20Sopenharmony_ci 0x60,0x80,0x14,0x90,0x8c,0x60,0x04,0x86, 7208c2ecf20Sopenharmony_ci 0xaf,0x5d,0x0e,0x00,0xfc,0xff,0x2d,0x00 7218c2ecf20Sopenharmony_ci}; 7228c2ecf20Sopenharmony_ci 7238c2ecf20Sopenharmony_cistatic const unsigned char SiS_HiTVSt2Timing[] = { 7248c2ecf20Sopenharmony_ci 0x32,0x65,0x2c,0x5f,0x08,0x31,0x3a,0x64, 7258c2ecf20Sopenharmony_ci 0x28,0x02,0x01,0x3d,0x06,0x3e,0x35,0x6d, 7268c2ecf20Sopenharmony_ci 0x06,0x14,0x3e,0x35,0x6d,0x00,0xc5,0x3f, 7278c2ecf20Sopenharmony_ci 0x64,0x90,0x33,0x8c,0x18,0x36,0x3e,0x13, 7288c2ecf20Sopenharmony_ci 0x2a,0xde,0x2a,0x44,0x40,0x2a,0x44,0x40, 7298c2ecf20Sopenharmony_ci 0x8e,0x8e,0x82,0x07,0x0b,0x92,0x0f,0x40, 7308c2ecf20Sopenharmony_ci 0x60,0x80,0x14,0x90,0x8c,0x60,0x14,0x3d, 7318c2ecf20Sopenharmony_ci 0x63,0x4f,0x27,0x00,0xfc,0xff,0x6a,0x00 7328c2ecf20Sopenharmony_ci}; 7338c2ecf20Sopenharmony_ci 7348c2ecf20Sopenharmony_ci#if 0 7358c2ecf20Sopenharmony_cistatic const unsigned char SiS_HiTVTextTiming[] = { 7368c2ecf20Sopenharmony_ci 0x32,0x65,0x2c,0x5f,0x08,0x31,0x3a,0x65, 7378c2ecf20Sopenharmony_ci 0x28,0x02,0x01,0x3d,0x06,0x3e,0x35,0x6d, 7388c2ecf20Sopenharmony_ci 0x06,0x14,0x3e,0x35,0x6d,0x00,0xc5,0x3f, 7398c2ecf20Sopenharmony_ci 0x65,0x90,0xe7,0xbc,0x03,0x0c,0x97,0x03, 7408c2ecf20Sopenharmony_ci 0x14,0x78,0x14,0x08,0x20,0x14,0x08,0x20, 7418c2ecf20Sopenharmony_ci 0xc8,0xc8,0x3b,0xd2,0x26,0x92,0x0f,0x40, 7428c2ecf20Sopenharmony_ci 0x60,0x80,0x14,0x90,0x8c,0x60,0x04,0x96, 7438c2ecf20Sopenharmony_ci 0x72,0x5c,0x11,0x00,0xfc,0xff,0x32,0x00 7448c2ecf20Sopenharmony_ci}; 7458c2ecf20Sopenharmony_ci#endif 7468c2ecf20Sopenharmony_ci 7478c2ecf20Sopenharmony_cistatic const unsigned char SiS_HiTVGroup3Data[] = { 7488c2ecf20Sopenharmony_ci 0x00,0x1a,0x22,0x63,0x62,0x22,0x08,0x5f, 7498c2ecf20Sopenharmony_ci 0x05,0x21,0xb2,0xb2,0x55,0x77,0x2a,0xa6, 7508c2ecf20Sopenharmony_ci 0x25,0x2f,0x47,0xfa,0xc8,0xff,0x8e,0x20, 7518c2ecf20Sopenharmony_ci 0x8c,0x6e,0x60,0x2e,0x58,0x48,0x72,0x44, 7528c2ecf20Sopenharmony_ci 0x56,0x36,0x4f,0x6e,0x3f,0x80,0x00,0x80, 7538c2ecf20Sopenharmony_ci 0x4f,0x7f,0x03,0xa8,0x7d,0x20,0x1a,0xa9, 7548c2ecf20Sopenharmony_ci 0x14,0x05,0x03,0x7e,0x64,0x31,0x14,0x75, 7558c2ecf20Sopenharmony_ci 0x18,0x05,0x18,0x05,0x4c,0xa8,0x01 7568c2ecf20Sopenharmony_ci}; 7578c2ecf20Sopenharmony_ci 7588c2ecf20Sopenharmony_cistatic const unsigned char SiS_HiTVGroup3Simu[] = { 7598c2ecf20Sopenharmony_ci 0x00,0x1a,0x22,0x63,0x62,0x22,0x08,0x95, 7608c2ecf20Sopenharmony_ci 0xdb,0x20,0xb8,0xb8,0x55,0x47,0x2a,0xa6, 7618c2ecf20Sopenharmony_ci 0x25,0x2f,0x47,0xfa,0xc8,0xff,0x8e,0x20, 7628c2ecf20Sopenharmony_ci 0x8c,0x6e,0x60,0x15,0x26,0xd3,0xe4,0x11, 7638c2ecf20Sopenharmony_ci 0x56,0x36,0x4f,0x6e,0x3f,0x80,0x00,0x80, 7648c2ecf20Sopenharmony_ci 0x67,0x36,0x01,0x47,0x0e,0x10,0xbe,0xb4, 7658c2ecf20Sopenharmony_ci 0x01,0x05,0x03,0x7e,0x65,0x31,0x14,0x75, 7668c2ecf20Sopenharmony_ci 0x18,0x05,0x18,0x05,0x4c,0xa8,0x01 7678c2ecf20Sopenharmony_ci}; 7688c2ecf20Sopenharmony_ci 7698c2ecf20Sopenharmony_ci#if 0 7708c2ecf20Sopenharmony_cistatic const unsigned char SiS_HiTVGroup3Text[] = { 7718c2ecf20Sopenharmony_ci 0x00,0x1a,0x22,0x63,0x62,0x22,0x08,0xa7, 7728c2ecf20Sopenharmony_ci 0xf5,0x20,0xce,0xce,0x55,0x47,0x2a,0xa6, 7738c2ecf20Sopenharmony_ci 0x25,0x2f,0x47,0xfa,0xc8,0xff,0x8e,0x20, 7748c2ecf20Sopenharmony_ci 0x8c,0x6e,0x60,0x18,0x2c,0x0c,0x20,0x22, 7758c2ecf20Sopenharmony_ci 0x56,0x36,0x4f,0x6e,0x3f,0x80,0x00,0x80, 7768c2ecf20Sopenharmony_ci 0x93,0x3c,0x01,0x50,0x2f,0x10,0xf4,0xca, 7778c2ecf20Sopenharmony_ci 0x01,0x05,0x03,0x7e,0x65,0x31,0x14,0x75, 7788c2ecf20Sopenharmony_ci 0x18,0x05,0x18,0x05,0x4c,0xa8,0x01 7798c2ecf20Sopenharmony_ci}; 7808c2ecf20Sopenharmony_ci#endif 7818c2ecf20Sopenharmony_ci 7828c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_StPALData[] = 7838c2ecf20Sopenharmony_ci{ 7848c2ecf20Sopenharmony_ci { 1, 1, 864, 525,1270, 400, 100, 0, 760, 0,0xf4,0xff,0x1c,0x22}, 7858c2ecf20Sopenharmony_ci { 1, 1, 864, 525,1270, 350, 100, 0, 760, 0,0xf4,0xff,0x1c,0x22}, 7868c2ecf20Sopenharmony_ci { 1, 1, 864, 525,1270, 400, 0, 0, 720, 0,0xf1,0x04,0x1f,0x18}, 7878c2ecf20Sopenharmony_ci { 1, 1, 864, 525,1270, 350, 0, 0, 720, 0,0xf4,0x0b,0x1c,0x0a}, 7888c2ecf20Sopenharmony_ci { 1, 1, 864, 525,1270, 480, 50, 0, 760, 0,0xf4,0xff,0x1c,0x22}, 7898c2ecf20Sopenharmony_ci { 1, 1, 864, 525,1270, 600, 50, 0, 0,0x300,0xf4,0xff,0x1c,0x22} 7908c2ecf20Sopenharmony_ci}; 7918c2ecf20Sopenharmony_ci 7928c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_ExtPALData[] = 7938c2ecf20Sopenharmony_ci{ 7948c2ecf20Sopenharmony_ci { 27, 10, 848, 448,1270, 530, 50, 0, 50, 0,0xf4,0xff,0x1c,0x22}, /* 640x400, 320x200 */ 7958c2ecf20Sopenharmony_ci { 108, 35, 848, 398,1270, 530, 50, 0, 50, 0,0xf4,0xff,0x1c,0x22}, 7968c2ecf20Sopenharmony_ci { 12, 5, 954, 448,1270, 530, 50, 0, 50, 0,0xf1,0x04,0x1f,0x18}, 7978c2ecf20Sopenharmony_ci { 9, 4, 960, 463,1644, 438, 50, 0, 50, 0,0xf4,0x0b,0x1c,0x0a}, 7988c2ecf20Sopenharmony_ci { 9, 4, 848, 528,1270, 530, 0, 0, 50, 0,0xf5,0xfb,0x1b,0x2a}, /* 640x480, 320x240 */ 7998c2ecf20Sopenharmony_ci { 36, 25,1060, 648,1270, 530, 438, 0, 438, 0,0xeb,0x05,0x25,0x16}, /* 800x600, 400x300 */ 8008c2ecf20Sopenharmony_ci { 3, 2,1080, 619,1270, 540, 438, 0, 438, 0,0xf3,0x00,0x1d,0x20}, /* 720x576 */ 8018c2ecf20Sopenharmony_ci { 1, 1,1170, 821,1270, 520, 686, 0, 686, 0,0xF3,0x00,0x1D,0x20}, /* 1024x768 */ 8028c2ecf20Sopenharmony_ci { 1, 1,1170, 821,1270, 520, 686, 0, 686, 0,0xF3,0x00,0x1D,0x20}, /* 1024x768 (for NTSC equ) */ 8038c2ecf20Sopenharmony_ci { 9, 4, 848, 528,1270, 530, 0, 0, 50, 0,0xf5,0xfb,0x1b,0x2a} /* 720x480 */ 8048c2ecf20Sopenharmony_ci}; 8058c2ecf20Sopenharmony_ci 8068c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_StNTSCData[] = 8078c2ecf20Sopenharmony_ci{ 8088c2ecf20Sopenharmony_ci { 1, 1, 858, 525,1270, 400, 50, 0, 760, 0,0xf1,0x04,0x1f,0x18}, 8098c2ecf20Sopenharmony_ci { 1, 1, 858, 525,1270, 350, 50, 0, 640, 0,0xf1,0x04,0x1f,0x18}, 8108c2ecf20Sopenharmony_ci { 1, 1, 858, 525,1270, 400, 0, 0, 720, 0,0xf1,0x04,0x1f,0x18}, 8118c2ecf20Sopenharmony_ci { 1, 1, 858, 525,1270, 350, 0, 0, 720, 0,0xf4,0x0b,0x1c,0x0a}, 8128c2ecf20Sopenharmony_ci { 1, 1, 858, 525,1270, 480, 0, 0, 760, 0,0xf1,0x04,0x1f,0x18} 8138c2ecf20Sopenharmony_ci}; 8148c2ecf20Sopenharmony_ci 8158c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_ExtNTSCData[] = 8168c2ecf20Sopenharmony_ci{ 8178c2ecf20Sopenharmony_ci { 143, 65, 858, 443,1270, 440, 171, 0, 171, 0,0xf1,0x04,0x1f,0x18}, /* 640x400, 320x200 */ 8188c2ecf20Sopenharmony_ci { 88, 35, 858, 393,1270, 440, 171, 0, 171, 0,0xf1,0x04,0x1f,0x18}, 8198c2ecf20Sopenharmony_ci { 143, 70, 924, 443,1270, 440, 92, 0, 92, 0,0xf1,0x04,0x1f,0x18}, 8208c2ecf20Sopenharmony_ci { 143, 70, 924, 393,1270, 440, 92, 0, 92, 0,0xf4,0x0b,0x1c,0x0a}, 8218c2ecf20Sopenharmony_ci { 143, 76, 836, 523,1270, 440, 224, 0, 0, 0,0xf1,0x05,0x1f,0x16}, /* 640x480, 320x240 */ 8228c2ecf20Sopenharmony_ci { 143, 120,1056, 643,1270, 440, 0, 1, 0, 0,0xf4,0x10,0x1c,0x00}, /* 800x600, 400x300 */ 8238c2ecf20Sopenharmony_ci { 143, 76, 836, 523,1270, 440, 0, 1, 0, 0,0xee,0x0c,0x22,0x08}, /* 720x480 - BETTER (from 300 series) */ 8248c2ecf20Sopenharmony_ci { 1, 1,1100, 811,1412, 440, 0, 1, 0, 0,0xee,0x0c,0x22,0x08}, /* 1024x768 (525i) CORRECTED */ 8258c2ecf20Sopenharmony_ci#if 0 /* flimmert und ist unten abgeschnitten (NTSCHT, NTSC clock) */ 8268c2ecf20Sopenharmony_ci { 65, 64,1056, 791,1270, 480, 455, 0, 0, 0,0x00,0x00,0x00,0x00} /* 1024x768 (525p) */ 8278c2ecf20Sopenharmony_ci#endif 8288c2ecf20Sopenharmony_ci#if 0 8298c2ecf20Sopenharmony_ci { 1, 1,1100, 811,1412, 440, 0, 1, 0, 0,0x00,0x00,0x00,0x00} /* 1024x768 (525p) */ 8308c2ecf20Sopenharmony_ci#endif 8318c2ecf20Sopenharmony_ci#if 0 8328c2ecf20Sopenharmony_ci { 1, 1,1120, 821,1516, 420, 0, 1, 0, 0,0x00,0x00,0x00,0x00} /* 1024x768 (525p) */ 8338c2ecf20Sopenharmony_ci#endif 8348c2ecf20Sopenharmony_ci#if 0 8358c2ecf20Sopenharmony_ci { 1, 1, 938, 821,1516, 420, 0, 1, 0, 0,0x00,0x00,0x00,0x00} /* 1024x768 (525p) */ 8368c2ecf20Sopenharmony_ci#endif 8378c2ecf20Sopenharmony_ci#if 0 /* zoom hin, unten abgeschnitten (NTSC2HT, NTSC1024 clock) */ 8388c2ecf20Sopenharmony_ci { 1, 1,1072, 791,1270, 480, 455, 0, 0, 0,0x00,0x00,0x00,0x00} /* 1024x768 (525p) */ 8398c2ecf20Sopenharmony_ci#endif 8408c2ecf20Sopenharmony_ci#if 1 /* zu weit links (squeezed) (NTSC2HT, NTSC1024 clock) */ 8418c2ecf20Sopenharmony_ci { 1, 1,1100, 846,1270, 440, 455, 0, 0, 0,0x00,0x00,0x00,0x00} /* 1024x768 (525p) */ 8428c2ecf20Sopenharmony_ci#endif 8438c2ecf20Sopenharmony_ci#if 0 /* zu weit links, rechts abgeschnitten (NTSC2HT, NTSC1024 clock) */ 8448c2ecf20Sopenharmony_ci { 1, 1,1100, 846,1412, 440, 455, 0, 0, 0,0x00,0x00,0x00,0x00} /* 1024x768 (525p) */ 8458c2ecf20Sopenharmony_ci#endif 8468c2ecf20Sopenharmony_ci}; 8478c2ecf20Sopenharmony_ci 8488c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_StHiTVData[] = /* Slave + TVSimu */ 8498c2ecf20Sopenharmony_ci{ 8508c2ecf20Sopenharmony_ci { 1, 1, 0x37c,0x233,0x2b2,0x320, 0, 0, 0, 0, 0, 0, 0, 0}, 8518c2ecf20Sopenharmony_ci { 1, 1, 0x37c,0x233,0x2b2,0x2bc, 0, 0, 0, 0, 0, 0, 0, 0}, 8528c2ecf20Sopenharmony_ci { 1, 1, 0x37c,0x233,0x2b2,0x320, 0, 0, 0, 0, 0, 0, 0, 0}, 8538c2ecf20Sopenharmony_ci { 1, 1, 0x37c,0x233,0x2b2,0x2bc, 0, 0, 0, 0, 0, 0, 0, 0}, 8548c2ecf20Sopenharmony_ci { 1, 1, 0x37c,0x233,0x2b2,0x3c0, 0, 0, 0, 0, 0, 0, 0, 0}, 8558c2ecf20Sopenharmony_ci { 8, 5, 0x41a,0x2ab,0x670,0x3c0,0x150, 1, 0, 0, 0, 0, 0, 0} 8568c2ecf20Sopenharmony_ci}; 8578c2ecf20Sopenharmony_ci 8588c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_St2HiTVData[] = /* Slave */ 8598c2ecf20Sopenharmony_ci{ 8608c2ecf20Sopenharmony_ci { 3, 1, 0x348,0x1e3,0x670,0x3c0,0x032, 0, 0, 0, 0, 0, 0, 0}, 8618c2ecf20Sopenharmony_ci { 1, 1, 0x37c,0x233,0x2b2,0x2bc, 0, 0, 0, 0, 0, 0, 0, 0}, 8628c2ecf20Sopenharmony_ci { 3, 1, 0x348,0x1e3,0x670,0x3c0,0x032, 0, 0, 0, 0, 0, 0, 0}, 8638c2ecf20Sopenharmony_ci { 1, 1, 0x37c,0x233,0x2b2,0x2bc, 0, 0, 0, 0, 0, 0, 0, 0}, 8648c2ecf20Sopenharmony_ci { 5, 2, 0x348,0x233,0x670,0x3c0,0x08d, 1, 0, 0, 0, 0, 0, 0}, 8658c2ecf20Sopenharmony_ci { 8, 5, 0x41a,0x2ab,0x670,0x3c0,0x17c, 1, 0, 0, 0, 0, 0, 0} 8668c2ecf20Sopenharmony_ci}; 8678c2ecf20Sopenharmony_ci 8688c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_ExtHiTVData[] = 8698c2ecf20Sopenharmony_ci{ /* all ok */ 8708c2ecf20Sopenharmony_ci { 6, 1, 0x348,0x233,0x660,0x3c0, 0, 0, 0, 0, 0, 0, 0, 0}, 8718c2ecf20Sopenharmony_ci { 3, 1, 0x3c0,0x233,0x660,0x3c0, 0, 0, 0, 0, 0, 0, 0, 0}, 8728c2ecf20Sopenharmony_ci { 6, 1, 0x348,0x233,0x660,0x3c0, 0, 0, 0, 0, 0, 0, 0, 0}, 8738c2ecf20Sopenharmony_ci { 3, 1, 0x3c0,0x233,0x660,0x3c0, 0, 0, 0, 0, 0, 0, 0, 0}, 8748c2ecf20Sopenharmony_ci { 5, 1, 0x348,0x233,0x670,0x3c0,0x166, 1, 0, 0, 0, 0, 0, 0}, /* 640x480 */ 8758c2ecf20Sopenharmony_ci { 16, 5, 0x41a,0x2ab,0x670,0x3c0,0x143, 1, 0, 0, 0, 0, 0, 0}, /* 800x600 */ 8768c2ecf20Sopenharmony_ci { 25, 12, 0x4ec,0x353,0x670,0x3c0,0x032, 0, 0, 0, 0, 0, 0, 0}, /* 1024x768 */ 8778c2ecf20Sopenharmony_ci { 5, 4, 0x627,0x464,0x670,0x3c0,0x128, 0, 0, 0, 0, 0, 0, 0}, /* 1280x1024 */ 8788c2ecf20Sopenharmony_ci { 4, 1, 0x41a,0x233,0x60c,0x3c0,0x143, 1, 0, 0, 0, 0, 0, 0}, /* 800x480 */ 8798c2ecf20Sopenharmony_ci { 5, 2, 0x578,0x293,0x670,0x3c0,0x032, 0, 0, 0, 0, 0, 0, 0}, /* 1024x576 */ 8808c2ecf20Sopenharmony_ci { 8, 5, 0x6d6,0x323,0x670,0x3c0,0x128, 0, 0, 0, 0, 0, 0, 0}, /* 1280x720 */ 8818c2ecf20Sopenharmony_ci { 8, 3, 0x4ec,0x353,0x670,0x3c0,0x032, 0, 0, 0, 0, 0, 0, 0}, /* 960x600 */ 8828c2ecf20Sopenharmony_ci}; 8838c2ecf20Sopenharmony_ci 8848c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_St525pData[] = 8858c2ecf20Sopenharmony_ci{ 8868c2ecf20Sopenharmony_ci { 1, 1, 0x6b4,0x20d,0x4f6,0x190, 50, 0, 0x2f8, 0, 0, 0, 0, 0}, 8878c2ecf20Sopenharmony_ci { 1, 1, 0x6b4,0x20d,0x4f6,0x15e, 50, 0, 0x280, 0, 0, 0, 0, 0}, 8888c2ecf20Sopenharmony_ci { 1, 1, 0x6b4,0x20d,0x4f6,0x190, 50, 0, 0x2f8, 0, 0, 0, 0, 0}, 8898c2ecf20Sopenharmony_ci { 1, 1, 0x6b4,0x20d,0x4f6,0x15e, 50, 0, 0x280, 0, 0, 0, 0, 0}, 8908c2ecf20Sopenharmony_ci { 1, 1, 0x6b4,0x20d,0x4f6,0x1e0, 0, 0, 0x2f8, 0, 0, 0, 0, 0} 8918c2ecf20Sopenharmony_ci}; 8928c2ecf20Sopenharmony_ci 8938c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_St750pData[] = 8948c2ecf20Sopenharmony_ci{ 8958c2ecf20Sopenharmony_ci { 1, 1, 0x672,0x2ee,0x500,0x190, 50, 0, 0x2f8, 0, 0, 0, 0, 0}, 8968c2ecf20Sopenharmony_ci { 1, 1, 0x672,0x2ee,0x500,0x15e, 50, 0, 0x280, 0, 0, 0, 0, 0}, 8978c2ecf20Sopenharmony_ci { 1, 1, 0x672,0x2ee,0x500,0x190, 0, 0, 0x2d0, 0, 0, 0, 0, 0}, 8988c2ecf20Sopenharmony_ci { 1, 1, 0x672,0x2ee,0x500,0x15e, 0, 0, 0x2d0, 0, 0, 0, 0, 0}, 8998c2ecf20Sopenharmony_ci { 1, 1, 0x672,0x2ee,0x500,0x1e0, 0, 0, 0x2f8, 0, 0, 0, 0, 0} 9008c2ecf20Sopenharmony_ci}; 9018c2ecf20Sopenharmony_ci 9028c2ecf20Sopenharmony_cistatic const struct SiS_TVData SiS_Ext750pData[] = 9038c2ecf20Sopenharmony_ci{ /* all ok */ 9048c2ecf20Sopenharmony_ci { 3, 1, 935, 470, 1130, 680, 50, 0, 0, 0, 0, 0, 0, 0}, /* 320x200/640x400 */ 9058c2ecf20Sopenharmony_ci { 24, 7, 935, 420, 1130, 680, 50, 0, 0, 0, 0, 0, 0, 0}, 9068c2ecf20Sopenharmony_ci { 3, 1, 935, 470, 1130, 680, 50, 0, 0, 0, 0, 0, 0, 0}, 9078c2ecf20Sopenharmony_ci { 24, 7, 935, 420, 1130, 680, 50, 0, 0, 0, 0, 0, 0, 0}, 9088c2ecf20Sopenharmony_ci { 2, 1, 1100, 590, 1130, 640, 50, 0, 0, 0, 0, 0, 0, 0}, /* 640x480 */ 9098c2ecf20Sopenharmony_ci { 3, 2, 1210, 690, 1130, 660, 50, 0, 0, 0, 0, 0, 0, 0}, /* 800x600 OK */ 9108c2ecf20Sopenharmony_ci { 2, 1, 1100, 562, 1130, 640, 0, 1, 0, 0, 0, 0, 0, 0}, /* 720x480 OK */ 9118c2ecf20Sopenharmony_ci { 1, 1, 1375, 878, 1130, 640, 638, 0, 0, 0, 0, 0, 0, 0}, /* 1024x768 OK */ 9128c2ecf20Sopenharmony_ci { 5, 3, 1100, 675, 1130, 640, 0, 1, 0, 0, 0, 0, 0, 0}, /* 720/768x576 OK */ 9138c2ecf20Sopenharmony_ci { 25, 24, 1496, 755, 1120, 680, 50, 0, 0, 0, 0, 0, 0, 0} /* 1280x720 OK */ 9148c2ecf20Sopenharmony_ci}; 9158c2ecf20Sopenharmony_ci 9168c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_LCD1280x720Data[] = /* 2.03.00 */ 9178c2ecf20Sopenharmony_ci{ 9188c2ecf20Sopenharmony_ci { 44, 15, 864, 430, 1408, 806 }, /* 640x400 */ 9198c2ecf20Sopenharmony_ci { 128, 35, 792, 385, 1408, 806 }, 9208c2ecf20Sopenharmony_ci { 44, 15, 864, 430, 1408, 806 }, 9218c2ecf20Sopenharmony_ci { 128, 35, 792, 385, 1408, 806 }, 9228c2ecf20Sopenharmony_ci { 22, 9, 864, 516, 1408, 806 }, /* 640x480 */ 9238c2ecf20Sopenharmony_ci { 8, 5, 1056, 655, 1408, 806 }, /* 800x600 */ 9248c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, /* 1024x768 */ 9258c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, /* 1280x1024 */ 9268c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 9278c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 9288c2ecf20Sopenharmony_ci { 1, 1, 1408, 806, 1408, 806 } /* 1280x720 */ 9298c2ecf20Sopenharmony_ci}; 9308c2ecf20Sopenharmony_ci 9318c2ecf20Sopenharmony_ci/* About 1280x768: For TMDS, Panel_1280x768 will only be set if 9328c2ecf20Sopenharmony_ci * the panel is a Fujitsu 7911 (VL-17WDX8) (with clock 81, 1688x802) 9338c2ecf20Sopenharmony_ci * Other TMDS panels of this resolution will be treated as custom. 9348c2ecf20Sopenharmony_ci * For LVDS, we know another type (_2). 9358c2ecf20Sopenharmony_ci * (Note: 1280x768_3 is now special for SiS301/NetVista 9368c2ecf20Sopenharmony_ci */ 9378c2ecf20Sopenharmony_ci 9388c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_StLCD1280x768_2Data[] = /* 2.03.00 */ 9398c2ecf20Sopenharmony_ci{ 9408c2ecf20Sopenharmony_ci { 64, 21, 858, 434, 1408, 806 }, /* 640x400 */ 9418c2ecf20Sopenharmony_ci { 32, 9, 858, 372, 1408, 806 }, 9428c2ecf20Sopenharmony_ci { 64, 21, 858, 434, 1408, 806 }, 9438c2ecf20Sopenharmony_ci { 32, 9, 858, 372, 1408, 806 }, 9448c2ecf20Sopenharmony_ci { 143, 68, 1024, 527, 1408, 806 }, /* 640x480 */ 9458c2ecf20Sopenharmony_ci { 64, 51, 1364, 663, 1408, 806 }, /* 800x600 */ 9468c2ecf20Sopenharmony_ci { 88, 81, 1296, 806, 1408, 806 }, /* 1024x768 */ 9478c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 9488c2ecf20Sopenharmony_ci { 1, 1, 1408, 806, 1408, 806 }, /* 1280x768 */ 9498c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 9508c2ecf20Sopenharmony_ci { 16, 15, 1600, 750, 1600, 806 } /* 1280x720 - from Ext */ 9518c2ecf20Sopenharmony_ci}; 9528c2ecf20Sopenharmony_ci 9538c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_ExtLCD1280x768_2Data[] = /* 2.03.00 */ 9548c2ecf20Sopenharmony_ci{ 9558c2ecf20Sopenharmony_ci { 16, 5, 960, 410, 1600, 806 }, /* 640x400 */ 9568c2ecf20Sopenharmony_ci { 64, 21, 1152, 364, 1600, 806 }, 9578c2ecf20Sopenharmony_ci { 16, 5, 960, 410, 1600, 806 }, 9588c2ecf20Sopenharmony_ci { 64, 21, 1152, 364, 1600, 806 }, 9598c2ecf20Sopenharmony_ci { 32, 13, 1040, 493, 1600, 806 }, /* 640x480 */ 9608c2ecf20Sopenharmony_ci { 16, 9, 1152, 618, 1600, 806 }, /* 800x600 */ 9618c2ecf20Sopenharmony_ci { 25, 21, 1344, 796, 1600, 806 }, /* 1024x768 */ 9628c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 9638c2ecf20Sopenharmony_ci { 1, 1, 1600, 806, 1600, 806 }, /* 1280x768 */ 9648c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 9658c2ecf20Sopenharmony_ci { 16, 15, 1600, 750, 1600, 806 } /* 1280x720 */ 9668c2ecf20Sopenharmony_ci}; 9678c2ecf20Sopenharmony_ci 9688c2ecf20Sopenharmony_ci#if 0 /* Not used; _3 now reserved for NetVista (SiS301) */ 9698c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_LCD1280x768_3Data[] = 9708c2ecf20Sopenharmony_ci{ 9718c2ecf20Sopenharmony_ci { 64, 25, 1056, 422, 1664, 798 }, /* 640x400 */ 9728c2ecf20Sopenharmony_ci { 128, 39, 884, 396, 1408, 806 }, /* ,640 */ 9738c2ecf20Sopenharmony_ci { 64, 25, 1056, 422, 1664, 798 }, /* 640x400 */ 9748c2ecf20Sopenharmony_ci { 128, 39, 884, 396, 1408, 806 }, /* ,640 */ 9758c2ecf20Sopenharmony_ci { 32, 15, 1056, 513, 1408, 806 }, /* ,664 */ /* 640x480 */ 9768c2ecf20Sopenharmony_ci { 176, 125, 1280, 640, 1408, 806 }, /* ,768 */ /* 800x600 */ 9778c2ecf20Sopenharmony_ci { 64, 61, 1342, 806, 1408, 806 }, /* 1024x768 */ 9788c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 9798c2ecf20Sopenharmony_ci { 1, 1, 1408, 806, 1408, 806 }, /* 1280x768 */ 9808c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 9818c2ecf20Sopenharmony_ci { 16, 15, 1600, 750, 1600, 806 } /* 1280x720 from above */ 9828c2ecf20Sopenharmony_ci}; 9838c2ecf20Sopenharmony_ci#endif 9848c2ecf20Sopenharmony_ci 9858c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_LCD1280x800Data[] = /* 0.93.12a (TMDS) */ 9868c2ecf20Sopenharmony_ci{ 9878c2ecf20Sopenharmony_ci { 128, 51, 1122, 412, 1408, 816 }, /* 640x400 */ 9888c2ecf20Sopenharmony_ci { 128, 49, 1232, 361, 1408, 816 }, 9898c2ecf20Sopenharmony_ci { 128, 51, 1122, 412, 1408, 816 }, 9908c2ecf20Sopenharmony_ci { 128, 49, 1232, 361, 1408, 816 }, 9918c2ecf20Sopenharmony_ci { 8, 3, 880, 491, 1408, 816 }, /* 640x480 */ 9928c2ecf20Sopenharmony_ci { 11, 6, 1024, 612, 1408, 816 }, /* 800x600 */ 9938c2ecf20Sopenharmony_ci { 22, 21, 1400, 784, 1408, 816 }, /* 1024x768 */ 9948c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, /* 1280x1024 */ 9958c2ecf20Sopenharmony_ci { 1, 1, 1408, 816, 1408, 816 }, /* 1280x800 */ 9968c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, /* 1280x768 (patch index) */ 9978c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 } /* 1280x720 */ 9988c2ecf20Sopenharmony_ci}; 9998c2ecf20Sopenharmony_ci 10008c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_LCD1280x800_2Data[] = /* 2.03.00 (LVDS) */ 10018c2ecf20Sopenharmony_ci{ 10028c2ecf20Sopenharmony_ci { 97, 42, 1344, 409, 1552, 812 }, /* 640x400 */ 10038c2ecf20Sopenharmony_ci { 97, 35, 1280, 358, 1552, 812 }, 10048c2ecf20Sopenharmony_ci { 97, 42, 1344, 409, 1552, 812 }, 10058c2ecf20Sopenharmony_ci { 97, 35, 1280, 358, 1552, 812 }, 10068c2ecf20Sopenharmony_ci { 97, 39, 1040, 488, 1552, 812 }, /* 640x480 */ 10078c2ecf20Sopenharmony_ci { 194, 105, 1120, 608, 1552, 812 }, /* 800x600 */ 10088c2ecf20Sopenharmony_ci { 97, 84, 1400, 780, 1552, 812 }, /* 1024x768 */ 10098c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, /* 1280x1024 */ 10108c2ecf20Sopenharmony_ci { 1, 1, 1552, 812, 1552, 812 }, /* 1280x800 */ 10118c2ecf20Sopenharmony_ci { 97, 96, 1600, 780, 1552, 812 }, /* 1280x768 - patch index */ 10128c2ecf20Sopenharmony_ci { 97, 90, 1600, 730, 1552, 812 } /* 1280x720 */ 10138c2ecf20Sopenharmony_ci}; 10148c2ecf20Sopenharmony_ci 10158c2ecf20Sopenharmony_ci#if 0 10168c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_LCD1280x800_3Data[] = /* 2.02.05a (LVDS); m250 */ 10178c2ecf20Sopenharmony_ci{ 10188c2ecf20Sopenharmony_ci { 128, 51, 1122, 412, 1408, 816 }, /* 640x400 */ 10198c2ecf20Sopenharmony_ci { 128, 49, 1232, 361, 1408, 816 }, 10208c2ecf20Sopenharmony_ci { 128, 51, 1122, 412, 1408, 816 }, 10218c2ecf20Sopenharmony_ci { 128, 49, 1232, 361, 1408, 816 }, 10228c2ecf20Sopenharmony_ci { 8, 3, 880, 491, 1408, 816 }, /* 640x480 */ 10238c2ecf20Sopenharmony_ci { 11, 6, 1024, 612, 1408, 816 }, /* 800x600 */ 10248c2ecf20Sopenharmony_ci { 22, 21, 1400, 784, 1408, 816 }, /* 1024x768 */ 10258c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, /* 1280x1024 */ 10268c2ecf20Sopenharmony_ci { 1, 1, 1408, 816, 1408, 816 }, /* 1280x800 */ 10278c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, /* 1280x768 - patch index */ 10288c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 } /* 1280x720 */ 10298c2ecf20Sopenharmony_ci}; 10308c2ecf20Sopenharmony_ci#endif 10318c2ecf20Sopenharmony_ci 10328c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_LCD1280x854Data[] = /* 2.21.00CS (LVDS) */ 10338c2ecf20Sopenharmony_ci{ 10348c2ecf20Sopenharmony_ci { 56, 15, 936, 410, 1664, 861 }, /* 640x400 */ 10358c2ecf20Sopenharmony_ci { 64, 25, 1586, 355, 1664, 861 }, 10368c2ecf20Sopenharmony_ci { 56, 15, 936, 410, 1664, 861 }, 10378c2ecf20Sopenharmony_ci { 64, 25, 1586, 355, 1664, 861 }, 10388c2ecf20Sopenharmony_ci { 91, 45, 1464, 485, 1664, 861 }, /* 640x480 */ 10398c2ecf20Sopenharmony_ci { 182, 75, 976, 605, 1664, 861 }, /* 800x600 */ 10408c2ecf20Sopenharmony_ci { 91, 66, 1342, 774, 1664, 861 }, /* 1024x768 */ 10418c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, /* 1280x1024 */ 10428c2ecf20Sopenharmony_ci { 26, 25, 1708, 807, 1664, 861 }, /* 1280x800 */ 10438c2ecf20Sopenharmony_ci { 13, 12, 1708, 774, 1664, 861 }, /* 1280x768 - patch index */ 10448c2ecf20Sopenharmony_ci { 52, 45, 1708, 725, 1664, 861 }, /* 1280x720 */ 10458c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10468c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10478c2ecf20Sopenharmony_ci { 1, 1, 1664, 861, 1664, 861 } /* 1280x854 */ 10488c2ecf20Sopenharmony_ci}; 10498c2ecf20Sopenharmony_ci 10508c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_LCD1280x960Data[] = 10518c2ecf20Sopenharmony_ci{ 10528c2ecf20Sopenharmony_ci { 9, 2, 800, 500, 1800, 1000 }, 10538c2ecf20Sopenharmony_ci { 9, 2, 800, 500, 1800, 1000 }, 10548c2ecf20Sopenharmony_ci { 4, 1, 900, 500, 1800, 1000 }, 10558c2ecf20Sopenharmony_ci { 4, 1, 900, 500, 1800, 1000 }, 10568c2ecf20Sopenharmony_ci { 9, 2, 800, 500, 1800, 1000 }, 10578c2ecf20Sopenharmony_ci { 30, 11, 1056, 625, 1800, 1000 }, 10588c2ecf20Sopenharmony_ci { 5, 3, 1350, 800, 1800, 1000 }, 10598c2ecf20Sopenharmony_ci { 1, 1, 1576, 1050, 1576, 1050 }, 10608c2ecf20Sopenharmony_ci { 1, 1, 1800, 1000, 1800, 1000 }, 10618c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10628c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10638c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10648c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10658c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 } 10668c2ecf20Sopenharmony_ci}; 10678c2ecf20Sopenharmony_ci 10688c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_StLCD1400x1050Data[] = 10698c2ecf20Sopenharmony_ci{ 10708c2ecf20Sopenharmony_ci { 211, 100, 2100, 408, 1688, 1066 }, 10718c2ecf20Sopenharmony_ci { 211, 64, 1536, 358, 1688, 1066 }, 10728c2ecf20Sopenharmony_ci { 211, 100, 2100, 408, 1688, 1066 }, 10738c2ecf20Sopenharmony_ci { 211, 64, 1536, 358, 1688, 1066 }, 10748c2ecf20Sopenharmony_ci { 211, 48, 840, 488, 1688, 1066 }, 10758c2ecf20Sopenharmony_ci { 211, 72, 1008, 609, 1688, 1066 }, 10768c2ecf20Sopenharmony_ci { 211, 128, 1400, 776, 1688, 1066 }, 10778c2ecf20Sopenharmony_ci { 211, 205, 1680, 1041, 1688, 1066 }, 10788c2ecf20Sopenharmony_ci { 1, 1, 1688, 1066, 1688, 1066 }, 10798c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10808c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10818c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10828c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 10838c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 } 10848c2ecf20Sopenharmony_ci}; 10858c2ecf20Sopenharmony_ci 10868c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_ExtLCD1400x1050Data[] = 10878c2ecf20Sopenharmony_ci{ 10888c2ecf20Sopenharmony_ci/* { 211, 60, 1260, 410, 1688, 1066 }, 640x400 (6330) */ 10898c2ecf20Sopenharmony_ci { 211, 100, 2100, 408, 1688, 1066 }, /* 640x400 (6325) WORKS */ 10908c2ecf20Sopenharmony_ci { 211, 64, 1536, 358, 1688, 1066 }, 10918c2ecf20Sopenharmony_ci { 211, 100, 2100, 408, 1688, 1066 }, 10928c2ecf20Sopenharmony_ci { 211, 64, 1536, 358, 1688, 1066 }, 10938c2ecf20Sopenharmony_ci/* { 211, 80, 1400, 490, 1688, 1066 }, 640x480 (6330) */ 10948c2ecf20Sopenharmony_ci { 211, 48, 840, 488, 1688, 1066 }, /* 640x480 (6325) WORKS */ 10958c2ecf20Sopenharmony_ci/* { 211, 117, 1638, 613, 1688, 1066 }, 800x600 (6330) */ 10968c2ecf20Sopenharmony_ci { 211, 72, 1008, 609, 1688, 1066 }, /* 800x600 (6325) WORKS */ 10978c2ecf20Sopenharmony_ci { 211, 128, 1400, 776, 1688, 1066 }, /* 1024x768 */ 10988c2ecf20Sopenharmony_ci { 211, 205, 1680, 1041, 1688, 1066 }, /* 1280x1024 - not used (always unscaled) */ 10998c2ecf20Sopenharmony_ci { 1, 1, 1688, 1066, 1688, 1066 }, /* 1400x1050 */ 11008c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, /* kludge */ 11018c2ecf20Sopenharmony_ci { 211, 120, 1400, 730, 1688, 1066 }, /* 1280x720 */ 11028c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 11038c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 11048c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 } 11058c2ecf20Sopenharmony_ci}; 11068c2ecf20Sopenharmony_ci 11078c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_LCD1680x1050Data[] = 11088c2ecf20Sopenharmony_ci{ 11098c2ecf20Sopenharmony_ci { 95, 24, 1260, 410, 1900, 1066 }, /* 0 640x400 */ 11108c2ecf20Sopenharmony_ci { 10, 3, 1710, 362, 1900, 1066 }, 11118c2ecf20Sopenharmony_ci { 95, 24, 1260, 410, 1900, 1066 }, 11128c2ecf20Sopenharmony_ci { 10, 3, 1710, 362, 1900, 1066 }, 11138c2ecf20Sopenharmony_ci { 95, 32, 1400, 490, 1900, 1066 }, /* 4 640x480 */ 11148c2ecf20Sopenharmony_ci { 95, 42, 1470, 610, 1900, 1066 }, /* 5 800x600 */ 11158c2ecf20Sopenharmony_ci { 95, 64, 1750, 784, 1900, 1066 }, /* 6 1024x768 */ 11168c2ecf20Sopenharmony_ci { 95, 94, 1900, 1055, 1900, 1066 }, /* 7 1280x1024 */ 11178c2ecf20Sopenharmony_ci { 41, 31, 1900, 806, 1900, 1066 }, /* 8 1280x768 */ 11188c2ecf20Sopenharmony_ci { 95, 69, 1800, 817, 1900, 1066 }, /* 9 1280x800 patch index */ 11198c2ecf20Sopenharmony_ci { 13, 9, 1900, 739, 1900, 1066 }, /* 10 1280x720 */ 11208c2ecf20Sopenharmony_ci { 95, 94, 1880, 1066, 1900, 1066 }, /* 11 1400x1050 patch index */ 11218c2ecf20Sopenharmony_ci { 1, 1, 1900, 1066, 1900, 1066 }, /* 12 1680x1050 */ 11228c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 } 11238c2ecf20Sopenharmony_ci}; 11248c2ecf20Sopenharmony_ci 11258c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_StLCD1600x1200Data[] = 11268c2ecf20Sopenharmony_ci{ 11278c2ecf20Sopenharmony_ci {27, 4, 800, 500, 2160, 1250 }, 11288c2ecf20Sopenharmony_ci {27, 4, 800, 500, 2160, 1250 }, 11298c2ecf20Sopenharmony_ci { 6, 1, 900, 500, 2160, 1250 }, 11308c2ecf20Sopenharmony_ci { 6, 1, 900, 500, 2160, 1250 }, 11318c2ecf20Sopenharmony_ci {27, 1, 800, 500, 2160, 1250 }, 11328c2ecf20Sopenharmony_ci { 4, 1,1080, 625, 2160, 1250 }, 11338c2ecf20Sopenharmony_ci { 5, 2,1350, 800, 2160, 1250 }, 11348c2ecf20Sopenharmony_ci {135,88,1600,1100, 2160, 1250 }, 11358c2ecf20Sopenharmony_ci {72, 49,1680,1092, 2160, 1250 }, 11368c2ecf20Sopenharmony_ci { 1, 1,2160,1250, 2160, 1250 }, 11378c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 11388c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 11398c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 11408c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 } 11418c2ecf20Sopenharmony_ci}; 11428c2ecf20Sopenharmony_ci 11438c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_ExtLCD1600x1200Data[] = 11448c2ecf20Sopenharmony_ci{ 11458c2ecf20Sopenharmony_ci {72,11, 990, 422, 2160, 1250 }, /* 640x400 (6330) WORKS */ 11468c2ecf20Sopenharmony_ci/* {27, 4, 800, 500, 2160, 1250 }, 640x400 (6235) */ 11478c2ecf20Sopenharmony_ci {27, 4, 800, 500, 2160, 1250 }, 11488c2ecf20Sopenharmony_ci { 6, 1, 900, 500, 2160, 1250 }, 11498c2ecf20Sopenharmony_ci { 6, 1, 900, 500, 2160, 1250 }, 11508c2ecf20Sopenharmony_ci {45, 8, 960, 505, 2160, 1250 }, /* 640x480 (6330) WORKS */ 11518c2ecf20Sopenharmony_ci/* {27, 1, 800, 500, 2160, 1250 }, 640x480 (6325) */ 11528c2ecf20Sopenharmony_ci { 4, 1,1080, 625, 2160, 1250 }, 11538c2ecf20Sopenharmony_ci { 5, 2,1350, 800, 2160, 1250 }, 11548c2ecf20Sopenharmony_ci {27,16,1500,1064, 2160, 1250 }, /* 1280x1024 */ 11558c2ecf20Sopenharmony_ci {72,49,1680,1092, 2160, 1250 }, /* 1400x1050 (6330, was not supported on 6325) */ 11568c2ecf20Sopenharmony_ci { 1, 1,2160,1250, 2160, 1250 }, 11578c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 11588c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 11598c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 }, 11608c2ecf20Sopenharmony_ci { 0, 0, 0, 0, 0, 0 } 11618c2ecf20Sopenharmony_ci}; 11628c2ecf20Sopenharmony_ci 11638c2ecf20Sopenharmony_cistatic const struct SiS_LCDData SiS_NoScaleData[] = 11648c2ecf20Sopenharmony_ci{ 11658c2ecf20Sopenharmony_ci { 1, 1, 800, 449, 800, 449 }, /* 0x00: 320x200, 640x400 */ 11668c2ecf20Sopenharmony_ci { 1, 1, 800, 449, 800, 449 }, 11678c2ecf20Sopenharmony_ci { 1, 1, 900, 449, 900, 449 }, 11688c2ecf20Sopenharmony_ci { 1, 1, 900, 449, 900, 449 }, 11698c2ecf20Sopenharmony_ci { 1, 1, 800, 525, 800, 525 }, /* 0x04: 320x240, 640x480 */ 11708c2ecf20Sopenharmony_ci { 1, 1,1056, 628,1056, 628 }, /* 0x05: 400x300, 800x600 */ 11718c2ecf20Sopenharmony_ci { 1, 1,1344, 806,1344, 806 }, /* 0x06: 512x384, 1024x768 */ 11728c2ecf20Sopenharmony_ci { 1, 1,1688,1066,1688,1066 }, /* 0x07: 1280x1024 */ 11738c2ecf20Sopenharmony_ci { 1, 1,1688, 802,1688, 802 }, /* 0x08: 1280x768: Fujitsu, TMDS only */ 11748c2ecf20Sopenharmony_ci { 1, 1,2160,1250,2160,1250 }, /* 0x09: 1600x1200 */ 11758c2ecf20Sopenharmony_ci { 1, 1,1800,1000,1800,1000 }, /* 0x0a: 1280x960 */ 11768c2ecf20Sopenharmony_ci { 1, 1,1688,1066,1688,1066 }, /* 0x0b: 1400x1050 */ 11778c2ecf20Sopenharmony_ci { 1, 1,1650, 750,1650, 750 }, /* 0x0c: 1280x720 (TMDS, projector) */ 11788c2ecf20Sopenharmony_ci { 1, 1,1552, 812,1552, 812 }, /* 0x0d: 1280x800_2 (LVDS) (was: 1408,816/ 1656,841) */ 11798c2ecf20Sopenharmony_ci { 1, 1,1900,1066,1900,1066 }, /* 0x0e: 1680x1050 (LVDS) */ 11808c2ecf20Sopenharmony_ci { 1, 1,1660, 806,1660, 806 }, /* 0x0f: 1280x768_2 (LVDS) */ 11818c2ecf20Sopenharmony_ci { 1, 1,1664, 798,1664, 798 }, /* 0x10: 1280x768_3 (NetVista SiS 301) - TODO */ 11828c2ecf20Sopenharmony_ci { 1, 1,1688, 802,1688, 802 }, /* 0x11: 1280x768 (TMDS Fujitsu) */ 11838c2ecf20Sopenharmony_ci { 1, 1,1408, 806,1408, 806 }, /* 0x12: 1280x720 (LVDS) */ 11848c2ecf20Sopenharmony_ci { 1, 1, 896, 497, 896, 497 }, /* 0x13: 720x480 */ 11858c2ecf20Sopenharmony_ci { 1, 1, 912, 597, 912, 597 }, /* 0x14: 720x576 */ 11868c2ecf20Sopenharmony_ci { 1, 1, 912, 597, 912, 597 }, /* 0x15: 768x576 */ 11878c2ecf20Sopenharmony_ci { 1, 1,1056, 497,1056, 497 }, /* 0x16: 848x480 */ 11888c2ecf20Sopenharmony_ci { 1, 1,1064, 497,1064, 497 }, /* 0x17: 856x480 */ 11898c2ecf20Sopenharmony_ci { 1, 1,1056, 497,1056, 497 }, /* 0x18: 800x480 */ 11908c2ecf20Sopenharmony_ci { 1, 1,1328, 739,1328, 739 }, /* 0x19: 1024x576 */ 11918c2ecf20Sopenharmony_ci { 1, 1,1680, 892,1680, 892 }, /* 0x1a: 1152x864 */ 11928c2ecf20Sopenharmony_ci { 1, 1,1808, 808,1808, 808 }, /* 0x1b: 1360x768 */ 11938c2ecf20Sopenharmony_ci { 1, 1,1104, 563,1104, 563 }, /* 0x1c: 960x540 */ 11948c2ecf20Sopenharmony_ci { 1, 1,1120, 618,1120, 618 }, /* 0x1d: 960x600 */ 11958c2ecf20Sopenharmony_ci { 1, 1,1408, 816,1408, 816 }, /* 0x1f: 1280x800 (TMDS special) */ 11968c2ecf20Sopenharmony_ci { 1, 1,1760,1235,1760,1235 }, /* 0x20: 1600x1200 for LCDA */ 11978c2ecf20Sopenharmony_ci { 1, 1,2048,1320,2048,1320 }, /* 0x21: 1600x1200 for non-SiS LVDS */ 11988c2ecf20Sopenharmony_ci { 1, 1,1664, 861,1664, 861 } /* 0x22: 1280x854 */ 11998c2ecf20Sopenharmony_ci}; 12008c2ecf20Sopenharmony_ci 12018c2ecf20Sopenharmony_ci/**************************************************************/ 12028c2ecf20Sopenharmony_ci/* LVDS ----------------------------------------------------- */ 12038c2ecf20Sopenharmony_ci/**************************************************************/ 12048c2ecf20Sopenharmony_ci 12058c2ecf20Sopenharmony_ci/* FSTN/DSTN 320x240, 2 variants */ 12068c2ecf20Sopenharmony_cistatic const struct SiS_LVDSData SiS_LVDS320x240Data_1[]= 12078c2ecf20Sopenharmony_ci{ 12088c2ecf20Sopenharmony_ci { 848, 433, 400, 525}, 12098c2ecf20Sopenharmony_ci { 848, 389, 400, 525}, 12108c2ecf20Sopenharmony_ci { 848, 433, 400, 525}, 12118c2ecf20Sopenharmony_ci { 848, 389, 400, 525}, 12128c2ecf20Sopenharmony_ci { 848, 518, 400, 525}, 12138c2ecf20Sopenharmony_ci {1056, 628, 400, 525}, 12148c2ecf20Sopenharmony_ci { 400, 525, 400, 525} /* xSTN */ 12158c2ecf20Sopenharmony_ci}; 12168c2ecf20Sopenharmony_ci 12178c2ecf20Sopenharmony_cistatic const struct SiS_LVDSData SiS_LVDS320x240Data_2[]= 12188c2ecf20Sopenharmony_ci{ 12198c2ecf20Sopenharmony_ci { 800, 445, 800, 525}, 12208c2ecf20Sopenharmony_ci { 800, 395, 800, 525}, 12218c2ecf20Sopenharmony_ci { 800, 445, 800, 525}, 12228c2ecf20Sopenharmony_ci { 800, 395, 800, 525}, 12238c2ecf20Sopenharmony_ci { 800, 525, 800, 525}, 12248c2ecf20Sopenharmony_ci {1056, 628,1056, 628}, 12258c2ecf20Sopenharmony_ci { 480, 525, 480, 525} /* xSTN */ 12268c2ecf20Sopenharmony_ci}; 12278c2ecf20Sopenharmony_ci 12288c2ecf20Sopenharmony_cistatic const struct SiS_LVDSData SiS_LVDS640x480Data_1[]= 12298c2ecf20Sopenharmony_ci{ 12308c2ecf20Sopenharmony_ci { 800, 445, 800, 525}, /* 800, 449, 800, 449 */ 12318c2ecf20Sopenharmony_ci { 800, 395, 800, 525}, 12328c2ecf20Sopenharmony_ci { 800, 445, 800, 525}, 12338c2ecf20Sopenharmony_ci { 800, 395, 800, 525}, 12348c2ecf20Sopenharmony_ci { 800, 525, 800, 525} 12358c2ecf20Sopenharmony_ci}; 12368c2ecf20Sopenharmony_ci 12378c2ecf20Sopenharmony_cistatic const struct SiS_LVDSData SiS_LVDS800x600Data_1[]= 12388c2ecf20Sopenharmony_ci{ 12398c2ecf20Sopenharmony_ci { 848, 433,1060, 629}, 12408c2ecf20Sopenharmony_ci { 848, 389,1060, 629}, 12418c2ecf20Sopenharmony_ci { 848, 433,1060, 629}, 12428c2ecf20Sopenharmony_ci { 848, 389,1060, 629}, 12438c2ecf20Sopenharmony_ci { 848, 518,1060, 629}, 12448c2ecf20Sopenharmony_ci {1056, 628,1056, 628} 12458c2ecf20Sopenharmony_ci}; 12468c2ecf20Sopenharmony_ci 12478c2ecf20Sopenharmony_cistatic const struct SiS_LVDSData SiS_LVDS1024x600Data_1[] = 12488c2ecf20Sopenharmony_ci{ 12498c2ecf20Sopenharmony_ci { 840, 604,1344, 800}, 12508c2ecf20Sopenharmony_ci { 840, 560,1344, 800}, 12518c2ecf20Sopenharmony_ci { 840, 604,1344, 800}, 12528c2ecf20Sopenharmony_ci { 840, 560,1344, 800}, 12538c2ecf20Sopenharmony_ci { 840, 689,1344, 800}, 12548c2ecf20Sopenharmony_ci {1050, 800,1344, 800}, 12558c2ecf20Sopenharmony_ci {1344, 800,1344, 800} 12568c2ecf20Sopenharmony_ci}; 12578c2ecf20Sopenharmony_ci 12588c2ecf20Sopenharmony_cistatic const struct SiS_LVDSData SiS_LVDS1024x768Data_1[]= 12598c2ecf20Sopenharmony_ci{ 12608c2ecf20Sopenharmony_ci { 840, 438,1344, 806}, 12618c2ecf20Sopenharmony_ci { 840, 409,1344, 806}, 12628c2ecf20Sopenharmony_ci { 840, 438,1344, 806}, 12638c2ecf20Sopenharmony_ci { 840, 409,1344, 806}, 12648c2ecf20Sopenharmony_ci { 840, 518,1344, 806}, /* 640x480 */ 12658c2ecf20Sopenharmony_ci {1050, 638,1344, 806}, /* 800x600 */ 12668c2ecf20Sopenharmony_ci {1344, 806,1344, 806}, /* 1024x768 */ 12678c2ecf20Sopenharmony_ci}; 12688c2ecf20Sopenharmony_ci 12698c2ecf20Sopenharmony_cistatic const struct SiS_LVDSData SiS_CHTVUNTSCData[]= 12708c2ecf20Sopenharmony_ci{ 12718c2ecf20Sopenharmony_ci { 840, 600, 840, 600}, 12728c2ecf20Sopenharmony_ci { 840, 600, 840, 600}, 12738c2ecf20Sopenharmony_ci { 840, 600, 840, 600}, 12748c2ecf20Sopenharmony_ci { 840, 600, 840, 600}, 12758c2ecf20Sopenharmony_ci { 784, 600, 784, 600}, 12768c2ecf20Sopenharmony_ci {1064, 750,1064, 750}, 12778c2ecf20Sopenharmony_ci {1160, 945,1160, 945} 12788c2ecf20Sopenharmony_ci}; 12798c2ecf20Sopenharmony_ci 12808c2ecf20Sopenharmony_cistatic const struct SiS_LVDSData SiS_CHTVONTSCData[]= 12818c2ecf20Sopenharmony_ci{ 12828c2ecf20Sopenharmony_ci { 840, 525, 840, 525}, 12838c2ecf20Sopenharmony_ci { 840, 525, 840, 525}, 12848c2ecf20Sopenharmony_ci { 840, 525, 840, 525}, 12858c2ecf20Sopenharmony_ci { 840, 525, 840, 525}, 12868c2ecf20Sopenharmony_ci { 784, 525, 784, 525}, 12878c2ecf20Sopenharmony_ci {1040, 700,1040, 700}, 12888c2ecf20Sopenharmony_ci {1160, 840,1160, 840} 12898c2ecf20Sopenharmony_ci}; 12908c2ecf20Sopenharmony_ci 12918c2ecf20Sopenharmony_ci/* CRT1 CRTC data for slave modes */ 12928c2ecf20Sopenharmony_ci 12938c2ecf20Sopenharmony_cistatic const struct SiS_LVDSCRT1Data SiS_LVDSCRT1320x240_1[] = 12948c2ecf20Sopenharmony_ci{ 12958c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0xaa,0x1f, 12968c2ecf20Sopenharmony_ci 0x90,0x85,0x8f,0xab,0x30,0x00,0x05, 12978c2ecf20Sopenharmony_ci 0x00 }}, 12988c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0x83,0x1f, 12998c2ecf20Sopenharmony_ci 0x5e,0x83,0x5d,0x79,0x10,0x00,0x05, 13008c2ecf20Sopenharmony_ci 0x00 }}, 13018c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x54,0x9f,0xc4,0x1f, 13028c2ecf20Sopenharmony_ci 0x92,0x89,0x8f,0xb5,0x30,0x00,0x01, 13038c2ecf20Sopenharmony_ci 0x00 }}, 13048c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0x83,0x1f, 13058c2ecf20Sopenharmony_ci 0x5e,0x83,0x5d,0x79,0x10,0x00,0x05, 13068c2ecf20Sopenharmony_ci 0x00 }}, 13078c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0x04,0x3e, 13088c2ecf20Sopenharmony_ci 0xe0,0x85,0xdf,0xfb,0x10,0x00,0x05, 13098c2ecf20Sopenharmony_ci 0x00 }}, 13108c2ecf20Sopenharmony_ci {{0x7f,0x63,0x83,0x6c,0x1c,0x72,0xf0, 13118c2ecf20Sopenharmony_ci 0x58,0x8c,0x57,0x73,0x20,0x00,0x06, 13128c2ecf20Sopenharmony_ci 0x01 }}, 13138c2ecf20Sopenharmony_ci {{0x2d,0x27,0x90,0x2c,0x80,0x0b,0x3e, 13148c2ecf20Sopenharmony_ci 0xe9,0x8b,0xe7,0x04,0x00,0x00,0x00, 13158c2ecf20Sopenharmony_ci 0x00 }} 13168c2ecf20Sopenharmony_ci}; 13178c2ecf20Sopenharmony_ci 13188c2ecf20Sopenharmony_cistatic const struct SiS_LVDSCRT1Data SiS_LVDSCRT1320x240_2[] = 13198c2ecf20Sopenharmony_ci{ 13208c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13218c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 13228c2ecf20Sopenharmony_ci 0x00}}, 13238c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13248c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 13258c2ecf20Sopenharmony_ci 0x00}}, 13268c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13278c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 13288c2ecf20Sopenharmony_ci 0x00}}, 13298c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13308c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 13318c2ecf20Sopenharmony_ci 0x00}}, 13328c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13338c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 13348c2ecf20Sopenharmony_ci 0x00}}, 13358c2ecf20Sopenharmony_ci {{0x7f,0x63,0x83,0x6c,0x1c,0x72,0xf0, 13368c2ecf20Sopenharmony_ci 0x58,0x8c,0x57,0x73,0x20,0x00,0x06, 13378c2ecf20Sopenharmony_ci 0x01}}, 13388c2ecf20Sopenharmony_ci#if 0 13398c2ecf20Sopenharmony_ci {{0x2d,0x27,0x90,0x2c,0x80,0x0b,0x3e, 13408c2ecf20Sopenharmony_ci 0xe9,0x8b,0xe7,0x04,0x00,0x00,0x00, 13418c2ecf20Sopenharmony_ci 0x00}} 13428c2ecf20Sopenharmony_ci#endif 13438c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x83,0x55,0x81,0x0b,0x3e, 13448c2ecf20Sopenharmony_ci 0xe9,0x8b,0xe8,0x0c,0x00,0x00,0x05, 13458c2ecf20Sopenharmony_ci 0x00}}, 13468c2ecf20Sopenharmony_ci}; 13478c2ecf20Sopenharmony_ci 13488c2ecf20Sopenharmony_cistatic const struct SiS_LVDSCRT1Data SiS_LVDSCRT1320x240_2_H[] = 13498c2ecf20Sopenharmony_ci{ 13508c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0xaa,0x1f, 13518c2ecf20Sopenharmony_ci 0x90,0x85,0x8f,0xab,0x30,0x00,0x05, 13528c2ecf20Sopenharmony_ci 0x00}}, 13538c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0x83,0x1f, 13548c2ecf20Sopenharmony_ci 0x5e,0x83,0x5d,0x79,0x10,0x00,0x05, 13558c2ecf20Sopenharmony_ci 0x00}}, 13568c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x54,0x9f,0xc4,0x1f, 13578c2ecf20Sopenharmony_ci 0x92,0x89,0x8f,0xb5,0x30,0x00,0x01, 13588c2ecf20Sopenharmony_ci 0x00}}, 13598c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0x83,0x1f, 13608c2ecf20Sopenharmony_ci 0x5e,0x83,0x5d,0x79,0x10,0x00,0x05, 13618c2ecf20Sopenharmony_ci 0x00}}, 13628c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0x04,0x3e, 13638c2ecf20Sopenharmony_ci 0xe0,0x85,0xdf,0xfb,0x10,0x00,0x05, 13648c2ecf20Sopenharmony_ci 0x00}}, 13658c2ecf20Sopenharmony_ci {{0x7f,0x63,0x83,0x6c,0x1c,0x72,0xf0, 13668c2ecf20Sopenharmony_ci 0x58,0x8c,0x57,0x73,0x20,0x00,0x06, 13678c2ecf20Sopenharmony_ci 0x01}}, 13688c2ecf20Sopenharmony_ci {{0x2d,0x27,0x90,0x2c,0x80,0x0b,0x3e, 13698c2ecf20Sopenharmony_ci 0xe9,0x8b,0xe7,0x04,0x00,0x00,0x00, 13708c2ecf20Sopenharmony_ci 0x00}} 13718c2ecf20Sopenharmony_ci}; 13728c2ecf20Sopenharmony_ci 13738c2ecf20Sopenharmony_cistatic const struct SiS_LVDSCRT1Data SiS_LVDSCRT1320x240_3[] = 13748c2ecf20Sopenharmony_ci{ 13758c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13768c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x00,0x00,0x05, 13778c2ecf20Sopenharmony_ci 0x00}}, 13788c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13798c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x00,0x00,0x05, 13808c2ecf20Sopenharmony_ci 0x00}}, 13818c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13828c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x00,0x00,0x05, 13838c2ecf20Sopenharmony_ci 0x00}}, 13848c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13858c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x00,0x00,0x05, 13868c2ecf20Sopenharmony_ci 0x00}}, 13878c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 13888c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x00,0x00,0x05, 13898c2ecf20Sopenharmony_ci 0x00}}, 13908c2ecf20Sopenharmony_ci {{0x7f,0x63,0x83,0x6c,0x1c,0x72,0xf0, 13918c2ecf20Sopenharmony_ci 0x58,0x8c,0x57,0x73,0x20,0x00,0x06, 13928c2ecf20Sopenharmony_ci 0x01}}, 13938c2ecf20Sopenharmony_ci {{0x2d,0x27,0x90,0x2c,0x80,0x0b,0x3e, 13948c2ecf20Sopenharmony_ci 0xe9,0x8b,0xe7,0x04,0x00,0x00,0x00, 13958c2ecf20Sopenharmony_ci 0x00}} 13968c2ecf20Sopenharmony_ci}; 13978c2ecf20Sopenharmony_ci 13988c2ecf20Sopenharmony_cistatic const struct SiS_LVDSCRT1Data SiS_LVDSCRT1320x240_3_H[] = 13998c2ecf20Sopenharmony_ci{ 14008c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0xaa,0x1f, 14018c2ecf20Sopenharmony_ci 0x90,0x85,0x8f,0xab,0x30,0x00,0x05, 14028c2ecf20Sopenharmony_ci 0x00}}, 14038c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0x83,0x1f, 14048c2ecf20Sopenharmony_ci 0x5e,0x83,0x5d,0x79,0x10,0x00,0x05, 14058c2ecf20Sopenharmony_ci 0x00}}, 14068c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x54,0x9f,0xc4,0x1f, 14078c2ecf20Sopenharmony_ci 0x92,0x89,0x8f,0xb5,0x30,0x00,0x01, 14088c2ecf20Sopenharmony_ci 0x00}}, 14098c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0x83,0x1f, 14108c2ecf20Sopenharmony_ci 0x5e,0x83,0x5d,0x79,0x10,0x00,0x05, 14118c2ecf20Sopenharmony_ci 0x00}}, 14128c2ecf20Sopenharmony_ci {{0x65,0x4f,0x89,0x56,0x83,0x04,0x3e, 14138c2ecf20Sopenharmony_ci 0xe0,0x85,0xdf,0xfb,0x10,0x00,0x05, 14148c2ecf20Sopenharmony_ci 0x00}}, 14158c2ecf20Sopenharmony_ci {{0x7f,0x63,0x83,0x6c,0x1c,0x72,0xf0, 14168c2ecf20Sopenharmony_ci 0x58,0x8c,0x57,0x73,0x20,0x00,0x06, 14178c2ecf20Sopenharmony_ci 0x01}}, 14188c2ecf20Sopenharmony_ci {{0x2d,0x27,0x90,0x2c,0x80,0x0b,0x3e, 14198c2ecf20Sopenharmony_ci 0xe9,0x8b,0xe7,0x04,0x00,0x00,0x00, 14208c2ecf20Sopenharmony_ci 0x00}} 14218c2ecf20Sopenharmony_ci}; 14228c2ecf20Sopenharmony_ci 14238c2ecf20Sopenharmony_cistatic const struct SiS_LVDSCRT1Data SiS_LVDSCRT1640x480_1[] = 14248c2ecf20Sopenharmony_ci{ 14258c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 14268c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 14278c2ecf20Sopenharmony_ci 0x00}}, 14288c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 14298c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 14308c2ecf20Sopenharmony_ci 0x00}}, 14318c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 14328c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 14338c2ecf20Sopenharmony_ci 0x00}}, 14348c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 14358c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 14368c2ecf20Sopenharmony_ci 0x00}}, 14378c2ecf20Sopenharmony_ci {{0x5f,0x4f,0x82,0x55,0x81,0x0b,0x3e, 14388c2ecf20Sopenharmony_ci 0xe9,0x8b,0xdf,0x04,0x30,0x00,0x05, 14398c2ecf20Sopenharmony_ci 0x00}}, 14408c2ecf20Sopenharmony_ci {{0x7f,0x63,0x83,0x6c,0x1c,0x72,0xf0, 14418c2ecf20Sopenharmony_ci 0x58,0x8c,0x57,0x73,0x20,0x00,0x06, 14428c2ecf20Sopenharmony_ci 0x01}} 14438c2ecf20Sopenharmony_ci}; 14448c2ecf20Sopenharmony_ci 14458c2ecf20Sopenharmony_cistatic const struct SiS_LVDSCRT1Data SiS_LVDSCRT1640x480_1_H[] = 14468c2ecf20Sopenharmony_ci{ 14478c2ecf20Sopenharmony_ci {{0x2d,0x28,0x90,0x2b,0xa0,0xbf,0x1f, 14488c2ecf20Sopenharmony_ci 0x9c,0x8e,0x96,0xb9,0x00,0x00,0x00, 14498c2ecf20Sopenharmony_ci 0x00}}, 14508c2ecf20Sopenharmony_ci {{0x2d,0x28,0x90,0x2b,0xa0,0xbf,0x1f, 14518c2ecf20Sopenharmony_ci 0x83,0x85,0x63,0xba,0x00,0x00,0x00, 14528c2ecf20Sopenharmony_ci 0x00}}, 14538c2ecf20Sopenharmony_ci {{0x2d,0x28,0x90,0x2b,0xa0,0xbf,0x1f, 14548c2ecf20Sopenharmony_ci 0x9c,0x8e,0x96,0xb9,0x00,0x00,0x00, 14558c2ecf20Sopenharmony_ci 0x00}}, 14568c2ecf20Sopenharmony_ci {{0x2d,0x28,0x90,0x2b,0xa0,0xbf,0x1f, 14578c2ecf20Sopenharmony_ci 0x83,0x85,0x63,0xba,0x00,0x00,0x00, 14588c2ecf20Sopenharmony_ci 0x00}}, 14598c2ecf20Sopenharmony_ci {{0x2d,0x28,0x90,0x2c,0x80,0x0b,0x3e, 14608c2ecf20Sopenharmony_ci 0xe9,0x8b,0xe7,0x04,0x00,0x00,0x00, 14618c2ecf20Sopenharmony_ci 0x00}} 14628c2ecf20Sopenharmony_ci}; 14638c2ecf20Sopenharmony_ci 14648c2ecf20Sopenharmony_ci#endif 14658c2ecf20Sopenharmony_ci 1466