I've now pushed this upstream.

Christophe

On Mon, Jun 19, 2017 at 12:08:33PM +0200, Christophe Fergeau wrote:
> From: Dave Airlie <airl...@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to