diff options
author | Dave Airlie <airlied@redhat.com> | 2016-08-05 16:58:04 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2016-12-12 15:29:03 +0100 |
commit | 4fbe63601d5806814b9bcaef07349759a4b0834d (patch) | |
tree | 0f4863c2a453f4ad4463d5df6f835487d2666fde | |
parent | 0daf59bd23b8b92b69a28b7bb1fa5961a8e86d97 (diff) |
Disable composite/a8 surfaces for KMS
This should help with bug #974198
-rw-r--r-- | src/qxl_uxa.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 |