drm: Lower priority of two messages related to invalid EDID

Like in r259717, the prority goes from "error" to "debug" to avoid
spamming logs when the connectors are polled.

MFC after:	1 week
This commit is contained in:
Jean-Sébastien Pédron 2014-11-02 09:52:22 +00:00
parent 0ac327af11
commit 6e2c3e8562
2 changed files with 3 additions and 3 deletions

View File

@ -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_DEBUG("EDID checksum is invalid, remainder is %d\n", csum);
DRM_DEBUG_KMS("EDID checksum is invalid, remainder is %d\n", csum);
/* allow CEA to slide through, switches mangle this */
if (raw_edid[0] != 0x02)
@ -366,7 +366,7 @@ drm_do_get_edid(struct drm_connector *connector, device_t adapter)
return block;
carp:
DRM_ERROR("%s: EDID block %d invalid.\n",
DRM_DEBUG_KMS("%s: EDID block %d invalid.\n",
drm_get_connector_name(connector), j);
out:

View File

@ -748,7 +748,7 @@ radeon_vga_detect(struct drm_connector *connector, bool force)
radeon_connector->edid = drm_get_edid(&radeon_connector->base, radeon_connector->ddc_bus->adapter);
if (!radeon_connector->edid) {
DRM_ERROR("%s: probed a monitor but no|invalid EDID\n",
DRM_DEBUG_KMS("%s: probed a monitor but no|invalid EDID\n",
drm_get_connector_name(connector));
ret = connector_status_connected;
} else {