[mutter] monitor-manager-kms: Improve EDID error reporting
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] monitor-manager-kms: Improve EDID error reporting
- Date: Sat, 11 Mar 2017 01:18:49 +0000 (UTC)
commit 5aa02c0378199609f1ee42eb8645108ae06e73a0
Author: Jonas Ådahl <jadahl gmail com>
Date: Fri Mar 10 15:12:52 2017 +0800
monitor-manager-kms: Improve EDID error reporting
Include the connector name in the error message, and only include the
reason in the GError message.
https://bugzilla.gnome.org/show_bug.cgi?id=779837
src/backends/native/meta-monitor-manager-kms.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/backends/native/meta-monitor-manager-kms.c b/src/backends/native/meta-monitor-manager-kms.c
index bad4fb6..3cedde1 100644
--- a/src/backends/native/meta-monitor-manager-kms.c
+++ b/src/backends/native/meta-monitor-manager-kms.c
@@ -332,7 +332,7 @@ read_edid_blob (MetaMonitorManagerKms *manager_kms,
if (!edid_blob)
{
g_set_error (error, G_IO_ERROR, g_io_error_from_errno (errno),
- "Failed to get EDID property blob: %s", strerror (errno));
+ "%s", strerror (errno));
return NULL;
}
@@ -907,7 +907,8 @@ init_output (MetaOutput *output,
edid = read_output_edid (manager_kms, output, &error);
if (!edid)
{
- g_warning ("Failed to read EDID: %s", error->message);
+ g_warning ("Failed to read EDID blob from %s: %s",
+ output->name, error->message);
g_error_free (error);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]