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

Christophe Fergeau cfergeau at redhat.com
Fri Oct 28 10:18:21 UTC 2016


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



More information about the Spice-devel mailing list