drm/edid: Retry EDID fetch up to four times
authorAdam Jackson <ajax@redhat.com>
Mon, 23 Nov 2009 19:23:05 +0000 (14:23 -0500)
committerDave Airlie <airlied@redhat.com>
Tue, 24 Nov 2009 01:24:22 +0000 (11:24 +1000)
commit47ee4ccf745ea88ee1aadcf5895d91af3b73ea64
treed9d74932f2610d37abf2c2c6a9c8b92d1464523b
parentf985dedb57bae741b4326415f72fe1a1e556563b
drm/edid: Retry EDID fetch up to four times

This matches the X server's retry logic.  Note that we'll only retry if
we get a DDC response but fail validation; legitimately disconnected
outputs will bomb out early.

See also: http://bugzilla.redhat.com/532957

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c