svn commit: r259717 - head/sys/dev/drm2
Jean-Sebastien Pedron
dumbbell at FreeBSD.org
Sun Dec 22 11:11:23 UTC 2013
Author: dumbbell
Date: Sun Dec 22 11:11:23 2013
New Revision: 259717
URL: http://svnweb.freebsd.org/changeset/base/259717
Log:
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 at lerctr.org>
Modified:
head/sys/dev/drm2/drm_edid.c
Modified: head/sys/dev/drm2/drm_edid.c
==============================================================================
--- head/sys/dev/drm2/drm_edid.c Sun Dec 22 11:10:08 2013 (r259716)
+++ head/sys/dev/drm2/drm_edid.c Sun Dec 22 11:11:23 2013 (r259717)
@@ -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)
More information about the svn-src-head
mailing list