drm/edid: limit printk when facing bad edid
authorJerome Glisse <jglisse@redhat.com>
Thu, 9 Aug 2012 15:25:51 +0000 (11:25 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 17 Sep 2012 01:16:40 +0000 (11:16 +1000)
commit0b2443ed4e07d7973e4554a2cc166bc35447b59e
treea996dbd03a8480f6473a7ea2fdea3936760de853
parent09e7dcf081b1100d1cdff57fa9eb25c3a834c9d6
drm/edid: limit printk when facing bad edid

Limit printing bad edid information at one time per connector.
Connector that are connected to a bad monitor/kvm will likely
stay connected to the same bad monitor/kvm and it makes no
sense to keep printing the bad edid message.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/drm_edid_load.c
include/drm/drm_crtc.h