drm: Retry i2c transfer of EDID block after failure
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 15 Mar 2011 11:04:41 +0000 (11:04 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Mar 2011 01:25:13 +0000 (11:25 +1000)
commit4819d2e4310796c4e9eef674499af9b9caf36b5a
treef2896e922639aa5813646b75ef6d0d4832591b4d
parent942b0e95c34f1ba432d08e1c0288ed032d32c3b2
drm: Retry i2c transfer of EDID block after failure

Usually EDID retrieval is fine. However, sometimes, especially when the
machine is loaded, it fails, but succeeds after a few retries.

Based on a patch by Michael Buesch.

Reported-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c