[Spice-devel] [PATCH xf86-qxl 14/27] Add some error message if pci revision < 4
Marc-André Lureau
marcandre.lureau at gmail.com
Mon Jul 16 08:38:38 PDT 2012
---
src/qxl_driver.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index e1cd097..a24932f 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1897,7 +1897,9 @@ qxl_pre_init(ScrnInfoPtr pScrn, int flags)
qxl->pci_tag = pciTag(qxl->pci->bus, qxl->pci->device, qxl->pci->func);
#endif
#endif /* XSPICE */
-
+ if (qxl->pci->revision < 4) {
+ ErrorF ("Ignoring monitor config, device revision < 4\n");
+ }
pScrn->monitor = pScrn->confScreen->monitor;
if (!qxl_color_setup(pScrn))
--
1.7.10.4
More information about the Spice-devel
mailing list