You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
842 B
26 lines
842 B
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 |
|
From: Dave Airlie <airlied@redhat.com> |
|
Date: Wed, 8 Mar 2017 10:50:56 +1000 |
|
Subject: [PATCH] qxl: call provider init |
|
|
|
This prevents crashes when multiple QXL devices are configured in a VM. |
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1428340 |
|
--- |
|
src/qxl_drmmode.c | 3 +++ |
|
1 file changed, 3 insertions(+) |
|
|
|
diff --git a/src/qxl_drmmode.c b/src/qxl_drmmode.c |
|
index ff164cd..a2f84b1 100644 |
|
--- a/src/qxl_drmmode.c |
|
+++ b/src/qxl_drmmode.c |
|
@@ -938,6 +938,9 @@ Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp) |
|
for (i = 0; i < drmmode->mode_res->count_connectors; i++) |
|
drmmode_output_init(pScrn, drmmode, i); |
|
|
|
+#if XF86_CRTC_VERSION >= 5 |
|
+ xf86ProviderSetup(pScrn, NULL, "qxl"); |
|
+#endif |
|
xf86InitialConfiguration(pScrn, TRUE); |
|
|
|
return TRUE;
|
|
|