summaryrefslogtreecommitdiff
path: root/extra/xf86-video-siliconmotion/98_sm712_CRT_enable.diff
blob: 9ff473aff584c9450c0f78f61fc1a1329b5fd68f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- ../xx/xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c	2010-03-09 23:39:23.451798382 +0800
+++ xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c	2010-03-10 10:36:58.835798871 +0800
@@ -1805,6 +1797,11 @@
     pScreen->SaveScreen = SMI_SaveScreen;
     pSmi->CloseScreen = pScreen->CloseScreen;
     pScreen->CloseScreen = SMI_CloseScreen;
+        /* Added by Belcon to enable LCD Panel Control Select */
+        if (pSmi->Chipset == SMI_LYNXEMplus)
+        {
+                VGAOUT8_INDEX (pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x22, 2);
+        }
 
     if ((IS_MSOC(pSmi) &&
 	 !xf86DPMSInit(pScreen, SMI501_DisplayPowerManagementSet, 0)) ||