xorg-x11-server/xserver-1.9.0-qxl-fallback.patch
Peter Hutterer 77cc640685 - Today's git snapshot
- Drop hal→udev migration warning. Two releases later should be enough.
- xserver-1.8.0-no-xorg.patch: drop, upstream
- xserver-1.7.0-randr-gamma-restore.patch: drop, upstream
- xserver-1.7.1-gamma-kdm-fix.patch: drop, upstream
- xserver-1.9.0-tcflush-fix.patch: drop, upstream
- xserver-1.9.1-pxtc-crash.patch: drop, upstream
- xserver-1.9.0-vbe-panelid-sanity.patch: drop, upstream
- xserver-1.9.0-classic-default-mode.patch: drop, upstream
2010-12-01 10:37:04 +10:00

31 lines
1010 B
Diff

From 18e7738eb03f131598e1613ce8bf0bff4ab1ecdf Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Wed, 13 Oct 2010 11:16:31 -0400
Subject: [PATCH] qxl v1 fallback
---
hw/xfree86/common/xf86pciBus.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
index aaacf42..048a410 100644
--- a/hw/xfree86/common/xf86pciBus.c
+++ b/hw/xfree86/common/xf86pciBus.c
@@ -1141,7 +1141,12 @@ videoPtrToDriverList(struct pci_device *dev,
}
break;
case 0x1106: driverList[0] = "openchrome"; break;
- case 0x1b36: driverList[0] = "qxl"; break;
+ case 0x1b36:
+ /* The new qxl driver does not work with the old spice-0.4 qxl
+ device for now (falling back to the vesa driver does work). */
+ if (dev->revision != 1)
+ driverList[0] = "qxl";
+ break;
case 0x1163: driverList[0] = "rendition"; break;
case 0x5333:
switch (dev->device_id)
--
1.7.3.2