Blame SOURCES/0001-xwayland-eglstream-Demote-EGLstream-device-warning.patch

85e36e
From 0a7ed9ff7ea20f7b958a2ad9f9bd045080a3ad9a Mon Sep 17 00:00:00 2001
85e36e
From: Olivier Fourdan <ofourdan@redhat.com>
85e36e
Date: Mon, 15 Nov 2021 16:02:34 +0100
85e36e
Subject: [PATCH xserver 1/4] xwayland/eglstream: Demote EGLstream device
85e36e
 warning
85e36e
MIME-Version: 1.0
85e36e
Content-Type: text/plain; charset=UTF-8
85e36e
Content-Transfer-Encoding: 8bit
85e36e
85e36e
If no EGLstream capable device is found at startup, Xwayland's EGLstream
85e36e
backend will log an error message "glamor: No eglstream capable devices
85e36e
found".
85e36e
85e36e
However, considering that the vast majority of drivers do not implement
85e36e
EGLstream, the lack of EGLstream capable device is more of the norm than
85e36e
the exception.
85e36e
85e36e
Change the error message to a log verbose message.
85e36e
85e36e
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
85e36e
Reviewed-by: Simon Ser <contact@emersion.fr>
85e36e
Reviewed-by: Jonas Ã…dahl <jadahl@gmail.com>
85e36e
(cherry picked from commit 96c82befa2c3f3dc3534743c67cc003c2106e9b0)
85e36e
---
85e36e
 hw/xwayland/xwayland-glamor-eglstream.c | 2 +-
85e36e
 1 file changed, 1 insertion(+), 1 deletion(-)
85e36e
85e36e
diff --git a/hw/xwayland/xwayland-glamor-eglstream.c b/hw/xwayland/xwayland-glamor-eglstream.c
85e36e
index 8d18caaf5..93d192d58 100644
85e36e
--- a/hw/xwayland/xwayland-glamor-eglstream.c
85e36e
+++ b/hw/xwayland/xwayland-glamor-eglstream.c
85e36e
@@ -1144,7 +1144,7 @@ xwl_eglstream_get_device(struct xwl_screen *xwl_screen)
85e36e
     free(devices);
85e36e
 out:
85e36e
     if (!device)
85e36e
-        ErrorF("glamor: No eglstream capable devices found\n");
85e36e
+        LogMessageVerb(X_INFO, 3, "glamor: No eglstream capable devices found\n");
85e36e
     return device;
85e36e
 }
85e36e
 
85e36e
-- 
85e36e
2.33.1
85e36e