diff options
author | Zhang Le <r0bertz@gentoo.org> | 2010-03-16 22:22:43 +0800 |
---|---|---|
committer | Zhang Le <r0bertz@gentoo.org> | 2010-03-16 22:22:43 +0800 |
commit | 76e33483adc74f53f6ffb7c04d2cda21e51eb32d (patch) | |
tree | 4ee66651dbbfe2c55d8a00d7d37909dc31952d26 /x11-drivers | |
parent | added binutils-2.20.1.ebuild (diff) | |
download | loongson-76e33483adc74f53f6ffb7c04d2cda21e51eb32d.tar.gz loongson-76e33483adc74f53f6ffb7c04d2cda21e51eb32d.tar.bz2 loongson-76e33483adc74f53f6ffb7c04d2cda21e51eb32d.zip |
added crt enable patch for x11 sm driver
Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Diffstat (limited to 'x11-drivers')
3 files changed, 17 insertions, 1 deletions
diff --git a/x11-drivers/xf86-video-siliconmotion/Manifest b/x11-drivers/xf86-video-siliconmotion/Manifest index cc1d82a..55dea8a 100644 --- a/x11-drivers/xf86-video-siliconmotion/Manifest +++ b/x11-drivers/xf86-video-siliconmotion/Manifest @@ -1,3 +1,4 @@ +AUX 98_sm712_CRT_enable.diff 663 RMD160 77886817676aa974799569240ac620455eed1590 SHA1 eb767d4410614779a0fdd455fc6cb1f1a6577cfa SHA256 d24016e40ee07a0cc1bedc1b9d3832c692b8a78453ac5a84bafab6ace4ff5da3 AUX xf86-video-siliconmotion-1.7.3-fix-loongson.patch 4788 RMD160 a67bd3e41b170149679ecec39874c19a9f7fc70b SHA1 a570c486bb519477ca136af590531670c9d442c8 SHA256 0785b8fd501922f1359572eb0244d8f5696073c3121f3ada30f7e119c1914020 DIST xf86-video-siliconmotion-1.7.3.tar.bz2 330623 RMD160 12c61e9785d280c4ab8cb253dc4879dffa8c5975 SHA1 f3edf5853a17c3725c11ea983edcf4b6bd54d10a SHA256 ebda468be42695c08ceaa4043da3cf5bcd5f9ab15d1482311fd6e826a8060b2b -EBUILD xf86-video-siliconmotion-1.7.3.ebuild 675 RMD160 4adbe6e3f92da5556010430ddb2a0e8193a7e393 SHA1 ca4eb9aa5433893eda2912e48be20dda7f489a27 SHA256 f06cde02c3db5ac99862c06d057b833a4122e0f63522c2e690b1ea005e9c433a +EBUILD xf86-video-siliconmotion-1.7.3.ebuild 715 RMD160 14a40824bcfe740ac27a29afbeb90640940446f2 SHA1 7e148bd63a5123a4117d11c36142c4bdd819d05c SHA256 8026700fa31fb0833464143ddf625557786de07f7ddaf11e3db654c0f9ac4ca6 diff --git a/x11-drivers/xf86-video-siliconmotion/files/98_sm712_CRT_enable.diff b/x11-drivers/xf86-video-siliconmotion/files/98_sm712_CRT_enable.diff new file mode 100644 index 0000000..9ff473a --- /dev/null +++ b/x11-drivers/xf86-video-siliconmotion/files/98_sm712_CRT_enable.diff @@ -0,0 +1,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)) || diff --git a/x11-drivers/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.3.ebuild b/x11-drivers/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.3.ebuild index d6a58b9..5699a80 100644 --- a/x11-drivers/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.3.ebuild +++ b/x11-drivers/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.3.ebuild @@ -21,4 +21,5 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${P}-fix-loongson.patch" + "${FILESDIR}/98_sm712_CRT_enable.diff" ) |