From d5c8bc5740a703d3c58997b4a09ba5b64c1f80a6 Mon Sep 17 00:00:00 2001 From: dumbbell Date: Sun, 22 Dec 2013 23:52:11 +0000 Subject: [PATCH] Merge from stable/10, r259745: 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 Approved by: re (gjb) git-svn-id: svn://svn.freebsd.org/base/releng/10.0@259755 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/drm2/drm_edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/drm2/drm_edid.c b/sys/dev/drm2/drm_edid.c index 86306b9d..178ab740 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) -- 2.45.0