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

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