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

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