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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]