diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2013-12-22 21:53:08 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2013-12-22 21:53:08 +0000 |
commit | 7ed70e99db34b4b7c79fa889df6625f997544941 (patch) | |
tree | 7fd90cab14b1ef0a94cabdbe5b53489bcd09db9e | |
parent | 088efa66e670049c8aaed85d41c6051704d7d9ad (diff) | |
download | FreeBSD-src-7ed70e99db34b4b7c79fa889df6625f997544941.zip FreeBSD-src-7ed70e99db34b4b7c79fa889df6625f997544941.tar.gz |
MFC r259717:
drm: Lower priority of "EDID checksum is invalid" message
The priority goes from "error" to "debug".
Connectors are polled every 10 seconds. Reading EDID is part of this
polling. However, when an invalid EDID is returned, this error message
is logged. When using Newcons for instance, having a kernel message
every 10 seconds is getting annoying.
Now that it's a debug message, it'll be logged only if hw.dri.debug is
enabled. This fix console spamming for some users.
Tested by: Larry Rosenman <ler@lerctr.org>
-rw-r--r-- | sys/dev/drm2/drm_edid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/drm_edid.c b/sys/dev/drm2/drm_edid.c index 86306b9..178ab74 100644 --- a/sys/dev/drm2/drm_edid.c +++ b/sys/dev/drm2/drm_edid.c @@ -171,7 +171,7 @@ drm_edid_block_valid(u8 *raw_edid) for (i = 0; i < EDID_LENGTH; i++) csum += raw_edid[i]; if (csum) { - DRM_ERROR("EDID checksum is invalid, remainder is %d\n", csum); + DRM_DEBUG("EDID checksum is invalid, remainder is %d\n", csum); /* allow CEA to slide through, switches mangle this */ if (raw_edid[0] != 0x02) |