Disable surfaces when KMS is used

This is not working properly at the moment.
This commit is contained in:
Dave Airlie
2016-08-05 16:55:31 +02:00
committed by Christophe Fergeau
parent 4d7160c496
commit 0daf59bd23

View File

@@ -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;