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

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