summaryrefslogtreecommitdiff
path: root/packaging/u_cirrus-qemu.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/u_cirrus-qemu.patch')
-rw-r--r--packaging/u_cirrus-qemu.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packaging/u_cirrus-qemu.patch b/packaging/u_cirrus-qemu.patch
new file mode 100644
index 0000000..906937b
--- /dev/null
+++ b/packaging/u_cirrus-qemu.patch
@@ -0,0 +1,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);