summaryrefslogtreecommitdiff
path: root/packaging/u_cirrus-qemu.patch
blob: 906937b196a9bd23987a5fd032d51c2222dd2fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- xf86-video-cirrus-1.5.1/src/alp_driver.c.orig	2012-09-14 14:02:24.477314000 +0200
+++ xf86-video-cirrus-1.5.1/src/alp_driver.c	2012-09-14 14:02:28.610956000 +0200
@@ -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);