Commit ee8f904a authored by Dave Airlie's avatar Dave Airlie Committed by Christophe Fergeau

qxl: call provider init

This prevents crashes when multiple QXL devices are configured in a VM.
parent 78abd522
......@@ -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");
xf86InitialConfiguration(pScrn, TRUE);
return TRUE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment