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

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