summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-08-05 16:55:31 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2016-12-12 15:29:03 +0100
commit0daf59bd23b8b92b69a28b7bb1fa5961a8e86d97 (patch)
treec08764498fe62e99a5420819d9c9c6d1344ec1bd
parent4d7160c49614c9132e7b7ae4ccfda952daffeefb (diff)
Disable surfaces when KMS is used
This is not working properly at the moment.
-rw-r--r--src/qxl_uxa.c2
1 files changed, 2 insertions, 0 deletions
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;