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

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