[Spice-devel] [PATCH qxl-wddm-dod 20/26] Support future Qxl revisions
Sameeh Jubran
sameeh at daynix.com
Tue Aug 9 15:31:25 UTC 2016
From: Dmitry Fleytman <dmitry at daynix.com>
The driver determines operation mode
(QXL or VGA) by checking device hardware
ids including revision id field.
Without this patch driver operates in VGA
mode for all revisions other than 4.
This patch makes driver operate in QXL
mode revision 4 and newer devices.
Signed-off-by: Sameeh Jubran <sameeh at daynix.com>
Signed-off-by: Dmitry Fleytman <dmitry at daynix.com>
---
qxldod/QxlDod.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 6d07b5d..6ab45fe 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -107,7 +107,7 @@ NTSTATUS QxlDod::CheckHardware()
Status = STATUS_GRAPHICS_DRIVER_MISMATCH;
if (Header.VendorID == REDHAT_PCI_VENDOR_ID &&
Header.DeviceID == 0x0100 &&
- Header.RevisionID == 4)
+ Header.RevisionID >= 4)
{
Status = STATUS_SUCCESS;
}
--
2.7.0.windows.1
More information about the Spice-devel
mailing list