[Spice-devel] [qxl 1/5] Disable surfaces when KMS is used

Christophe Fergeau cfergeau at redhat.com
Fri Oct 28 10:24:34 UTC 2016


This one is from Dave Airlie, not me, I've amended the author in my
local copy.

Christophe

On Fri, Oct 28, 2016 at 12:18:21PM +0200, Christophe Fergeau wrote:
> This is not working properly at the moment.
> ---
>  src/qxl_uxa.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/qxl_uxa.c b/src/qxl_uxa.c
> index 875d663..694db27 100644
> --- a/src/qxl_uxa.c
> +++ b/src/qxl_uxa.c
> @@ -414,6 +414,8 @@ qxl_create_pixmap (ScreenPtr screen, int w, int h, int depth, unsigned usage)
>      ErrorF ("Create pixmap: %d %d @ %d (usage: %d)\n", w, h, depth, usage);
>  #endif
>  
> +    if (qxl->kms_enabled)
> +	goto fallback;
>      if (uxa_swapped_out (screen))
>  	goto fallback;
>  
> -- 
> 2.9.3
> 
> _______________________________________________
> 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/20161028/b65ccd2f/attachment-0001.sig>


More information about the Spice-devel mailing list