From aa0b29118666dffa599bc5a9780555429535d296 Mon Sep 17 00:00:00 2001 From: Sameeh Jubran Date: Wed, 7 Sep 2016 17:22:53 +0300 Subject: [PATCH] Support future Qxl revisions 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 Signed-off-by: Dmitry Fleytman Acked-by: Frediano Ziglio --- qxldod/QxlDod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index 6a73690..d9d6977 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -102,7 +102,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; }