2011-04-18 23:16:35 +00:00
|
|
|
From edf5262c75416c2baf199e3d1c95b43f3e0d0cef Mon Sep 17 00:00:00 2001
|
2010-10-13 15:21:25 +00:00
|
|
|
From: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
Date: Wed, 13 Oct 2010 11:16:31 -0400
|
2011-04-18 23:16:35 +00:00
|
|
|
Subject: [PATCH 6/9] qxl v1 fallback
|
2010-10-13 15:21:25 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
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
|
2011-04-18 23:16:35 +00:00
|
|
|
index 4640ede..a7f0617 100644
|
2010-10-13 15:21:25 +00:00
|
|
|
--- a/hw/xfree86/common/xf86pciBus.c
|
|
|
|
+++ b/hw/xfree86/common/xf86pciBus.c
|
2010-11-24 23:49:36 +00:00
|
|
|
@@ -1141,7 +1141,12 @@ videoPtrToDriverList(struct pci_device *dev,
|
2010-10-13 15:21:25 +00:00
|
|
|
}
|
|
|
|
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)
|
|
|
|
--
|
2011-04-18 23:16:35 +00:00
|
|
|
1.7.4.4
|
2010-10-13 15:21:25 +00:00
|
|
|
|