/* $XFree86$ */ /* $XdotOrg$ */ /* * Register settings for SiS 300 series * * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria * * If distributed as part of the Linux kernel, the following license terms * apply: * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the named License, * * or any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the Free Software * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA * * Otherwise, the following license terms apply: * * * Redistribution and use in source and binary forms, with or without * * modification, are permitted provided that the following conditions * * are met: * * 1) Redistributions of source code must retain the above copyright * * notice, this list of conditions and the following disclaimer. * * 2) Redistributions in binary form must reproduce the above copyright * * notice, this list of conditions and the following disclaimer in the * * documentation and/or other materials provided with the distribution. * * 3) The name of the author may not be used to endorse or promote products * * derived from this software without specific prior written permission. * * * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * Author: Thomas Winischhofer <[email protected]> * */ static const struct SiS_Ext SiS300_EModeIDTable[] = …; static const struct SiS_Ext2 SiS300_RefIndex[] = …; static const struct SiS_VBMode SiS300_VBModeIDTable[] = …; static const struct SiS_CRT1Table SiS300_CRT1Table[] = …; static const struct SiS_MCLKData SiS300_MCLKData_630[] = …; static const struct SiS_MCLKData SiS300_MCLKData_300[] = …; static struct SiS_VCLKData SiS300_VCLKData[] = …; static const unsigned char SiS300_SR15[4 * 8] = …; static const struct SiS_PanelDelayTbl SiS300_PanelDelayTbl[] = …; /**************************************************************/ /* SIS VIDEO BRIDGE ----------------------------------------- */ /**************************************************************/ static const struct SiS_LCDData SiS300_St2LCD1024x768Data[] = …; static const struct SiS_LCDData SiS300_ExtLCD1024x768Data[] = …; static const struct SiS_LCDData SiS300_St2LCD1280x1024Data[] = …; static const struct SiS_LCDData SiS300_ExtLCD1280x1024Data[] = …; static const struct SiS_Part2PortTbl SiS300_CRT2Part2_1024x768_1[] = …; static const struct SiS_Part2PortTbl SiS300_CRT2Part2_1024x768_2[] = …; static const struct SiS_Part2PortTbl SiS300_CRT2Part2_1024x768_3[] = …; /**************************************************************/ /* LVDS/Chrontel -------------------------------------------- */ /**************************************************************/ /* Custom data for Barco iQ R series */ static const struct SiS_LVDSData SiS300_LVDSBARCO1366Data_1[]= …; /* Custom data for Barco iQ R series */ static const struct SiS_LVDSData SiS300_LVDSBARCO1366Data_2[]= …; /* Custom data for Barco iQ G series */ static const struct SiS_LVDSData SiS300_LVDSBARCO1024Data_1[]= …; /* Custom data for 848x480 and 856x480 parallel LVDS panels */ static const struct SiS_LVDSData SiS300_LVDS848x480Data_1[]= …; /* Custom data for 848x480 parallel panel */ static const struct SiS_LVDSData SiS300_LVDS848x480Data_2[]= …; static const struct SiS_LVDSData SiS300_CHTVUPALData[] = …; static const struct SiS_LVDSData SiS300_CHTVOPALData[] = …; static const struct SiS_LVDSData SiS300_CHTVSOPALData[] = …; /* Custom des data for Barco iQ R200/300/400 (BIOS 2.00.07) */ static const struct SiS_LVDSDes SiS300_PanelType04_1a[] = …/* 1280x1024 (1366x1024) */ { … }; static const struct SiS_LVDSDes SiS300_PanelType04_2a[] = …; /* Custom des data for Barco iQ G200/300/400 (BIOS 2.00.07) */ static const struct SiS_LVDSDes SiS300_PanelType04_1b[] = …/* 1024x768 */ { … }; static const struct SiS_LVDSDes SiS300_PanelType04_2b[] = …; /* CRT1 CRTC for slave modes */ static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1UNTSC[] = …; static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1ONTSC[] = …; static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1UPAL[] = …; static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1OPAL[] = …; static const struct SiS_LVDSCRT1Data SiS300_CHTVCRT1SOPAL[] = …; static const struct SiS_CHTVRegData SiS300_CHTVReg_UNTSC[] = …; static const struct SiS_CHTVRegData SiS300_CHTVReg_ONTSC[] = …; static const struct SiS_CHTVRegData SiS300_CHTVReg_UPAL[] = …; static const struct SiS_CHTVRegData SiS300_CHTVReg_OPAL[] = …; static const struct SiS_CHTVRegData SiS300_CHTVReg_SOPAL[] = …; static const unsigned char SiS300_CHTVVCLKUNTSC[] = …; static const unsigned char SiS300_CHTVVCLKONTSC[] = …; static const unsigned char SiS300_CHTVVCLKUPAL[] = …; static const unsigned char SiS300_CHTVVCLKOPAL[] = …; static const unsigned char SiS300_CHTVVCLKSOPAL[] = …;