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

this just disables composite and a8 surfaces under KMS
there are still some issues when enabled.

Signed-off-by: Dave Airlie <airl...@redhat.com>
---
 src/qxl_uxa.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/qxl_uxa.c b/src/qxl_uxa.c
index 875d663..47371e4 100644
--- a/src/qxl_uxa.c
+++ b/src/qxl_uxa.c
@@ -222,11 +222,15 @@ qxl_has_composite (qxl_screen_t *qxl)
 #ifdef XF86DRM_MODE
     if (qxl->kms_enabled) {
        static Bool result, checked;
+#if 0 /* KMS Composite support seems broken - needs better hw support */
        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
-- 
1.8.3.1

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

Reply via email to