summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-11-26 09:11:05 +1000
committerDave Airlie <airlied@redhat.com>2013-11-26 09:11:05 +1000
commit170d3e3af3adb0de38d1980b0f85618a15a16bb2 (patch)
tree2409a25a42c834b65e25ac1703f7c05327d6aec9
parent0c897e650a2a99b928bbc712b275acd87f2bb350 (diff)
disable kms surf
-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 47371e4..c715b15 100644
--- a/src/qxl_uxa.c
+++ b/src/qxl_uxa.c
@@ -422,6 +422,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;