[Spice-devel] [qxl] qxl: call provider init
Christophe Fergeau
cfergeau at redhat.com
Mon Jun 19 11:56:29 UTC 2017
I've now pushed this upstream.
Christophe
On Mon, Jun 19, 2017 at 12:08:33PM +0200, Christophe Fergeau wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> 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;
> --
> 2.13.0
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170619/25891eba/attachment.sig>
More information about the Spice-devel
mailing list