Blame SOURCES/0003-qxl-call-provider-init.patch

25660e
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
25660e
From: Dave Airlie <airlied@redhat.com>
25660e
Date: Wed, 8 Mar 2017 10:50:56 +1000
25660e
Subject: [PATCH] qxl: call provider init
25660e
25660e
This prevents crashes when multiple QXL devices are configured in a VM.
25660e
25660e
https://bugzilla.redhat.com/show_bug.cgi?id=1428340
25660e
---
25660e
 src/qxl_drmmode.c | 3 +++
25660e
 1 file changed, 3 insertions(+)
25660e
25660e
diff --git a/src/qxl_drmmode.c b/src/qxl_drmmode.c
25660e
index ff164cd..a2f84b1 100644
25660e
--- a/src/qxl_drmmode.c
25660e
+++ b/src/qxl_drmmode.c
25660e
@@ -938,6 +938,9 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp)
25660e
 	for (i = 0; i < drmmode->mode_res->count_connectors; i++)
25660e
 	    drmmode_output_init(pScrn, drmmode, i);
25660e
 
25660e
+#if XF86_CRTC_VERSION >= 5
25660e
+	xf86ProviderSetup(pScrn, NULL, "qxl");
25660e
+#endif
25660e
 	xf86InitialConfiguration(pScrn, TRUE);
25660e
 
25660e
 	return TRUE;