From: Dave Airlie <airl...@redhat.com>

This should help with bug #974198
---
 src/qxl_uxa.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/qxl_uxa.c b/src/qxl_uxa.c
index 694db27..fa7d85f 100644
--- a/src/qxl_uxa.c
+++ b/src/qxl_uxa.c
@@ -221,12 +221,16 @@ qxl_has_composite (qxl_screen_t *qxl)
 {
 #ifdef XF86DRM_MODE
     if (qxl->kms_enabled) {
+#if 0 /* KMS Composite support seems broken - needs better hw support */
        static Bool result, checked;
        if (!checked) {
            result = qxl_kms_check_cap(qxl, SPICE_DISPLAY_CAP_COMPOSITE);
            checked = TRUE;
        }
        return result;
+#else
+       return FALSE;
+#endif
     }
 #endif
 #ifndef XSPICE
@@ -244,12 +248,16 @@ qxl_has_a8_surfaces (qxl_screen_t *qxl)
 {
 #ifdef XF86DRM_MODE
     if (qxl->kms_enabled) {
+#if 0 /* KMS Composite support seems broken - needs better hw support */
         static Bool result, checked;
        if (!checked) {
             result = qxl_kms_check_cap(qxl, SPICE_DISPLAY_CAP_A8_SURFACE);
            checked = TRUE;
        }
        return result;
+#else
+       return FALSE;
+#endif
     }
 #endif
 #ifndef XSPICE
-- 
2.9.3

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to