drm-backend: remove log that advertises universal planes support
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>
Tue, 28 Jul 2020 14:08:12 +0000 (11:08 -0300)
committerLeandro Ribeiro <leandro.ribeiro@collabora.com>
Tue, 28 Jul 2020 14:13:53 +0000 (11:13 -0300)
There's a log that advertises support for universal planes. That
can make users think there's something wrong with Weston or their
systems when universal planes are not supported, but that's not
the case. Remove this log from the code.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
libweston/backend-drm/kms.c

index b349ec13a6640bde8a90b3f6a1275584f2f8d147..f5215f20d694aeedf6168edcb295ed2786d71614 100644 (file)
@@ -1463,8 +1463,6 @@ init_kms_caps(struct drm_backend *b)
                ret = drmSetClientCap(b->drm.fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1);
                b->universal_planes = (ret == 0);
        }
-       weston_log("DRM: %s universal planes\n",
-                  b->universal_planes ? "supports" : "does not support");
 
        if (b->universal_planes && !getenv("WESTON_DISABLE_ATOMIC")) {
                ret = drmGetCap(b->drm.fd, DRM_CAP_CRTC_IN_VBLANK_EVENT, &cap);