summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-15 23:53:59 (GMT)
committerAnas Nashif <anas.nashif@intel.com>2012-11-15 23:53:59 (GMT)
commit388a7c64e44ae6f04328c24dd93a94cb0fb380d3 (patch)
treec15c40e25c0cab9a9d162161c0bf6a978f77920c
parent0450b060c29512afaaccfd31ee91c7d80f02e9e9 (diff)
downloadxf86-video-cirrus-388a7c64e44ae6f04328c24dd93a94cb0fb380d3.zip
xf86-video-cirrus-388a7c64e44ae6f04328c24dd93a94cb0fb380d3.tar.gz
xf86-video-cirrus-388a7c64e44ae6f04328c24dd93a94cb0fb380d3.tar.bz2
qemu
-rw-r--r--src/alp_driver.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/alp_driver.c b/src/alp_driver.c
index e38c613..c02741e 100644
--- a/src/alp_driver.c
+++ b/src/alp_driver.c
@@ -775,6 +775,13 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
else
xf86SetDDCproperties(pScrn,xf86PrintEDID(
xf86DoEDID_DDC2(XF86_SCRN_ARG(pScrn),pCir->I2CPtr1)));
+
+#ifdef XSERVER_LIBPCIACCESS
+ if (!pScrn->monitor->DDC &&
+ ((pCir->PciInfo->subvendor_id & 0xffff) == 0x1af4)) {
+ pCir->NoAccel = TRUE;
+ }
+#endif
/* Probe the possible LCD display */
AlpProbeLCD(pScrn);