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 <sameeh@daynix.com> Signed-off-by: Dmitry Fleytman <dmitry@daynix.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
27713ea765
commit
aa0b291186
@ -102,7 +102,7 @@ NTSTATUS QxlDod::CheckHardware()
|
|||||||
Status = STATUS_GRAPHICS_DRIVER_MISMATCH;
|
Status = STATUS_GRAPHICS_DRIVER_MISMATCH;
|
||||||
if (Header.VendorID == REDHAT_PCI_VENDOR_ID &&
|
if (Header.VendorID == REDHAT_PCI_VENDOR_ID &&
|
||||||
Header.DeviceID == 0x0100 &&
|
Header.DeviceID == 0x0100 &&
|
||||||
Header.RevisionID == 4)
|
Header.RevisionID >= 4)
|
||||||
{
|
{
|
||||||
Status = STATUS_SUCCESS;
|
Status = STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user