File u_cirrus-qemu.patch of Package xf86-video-cirrus

diff -up xf86-video-cirrus-1.2.0/src/alp_driver.c.jx xf86-video-cirrus-1.2.0/src/alp_driver.c
--- xf86-video-cirrus-1.2.0/src/alp_driver.c.jx	2008-03-19 10:29:23.000000000 -0400
+++ xf86-video-cirrus-1.2.0/src/alp_driver.c	2009-02-27 10:59:27.000000000 -0500
@@ -812,6 +812,12 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
      else
  	xf86SetDDCproperties(pScrn,xf86PrintEDID(
  	    xf86DoEDID_DDC2(pScrn->scrnIndex,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);
openSUSE Build Service is sponsored by