drm/i915/dp: Really try 5 times before giving up.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 18 Aug 2010 17:12:56 +0000 (18:12 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Sep 2010 10:14:17 +0000 (11:14 +0100)
commit4f7f7b7eb94bd37c449f06932459bbed78826f8d
treeeacee3cafd4203425ebef3ce5096368935974353
parentb66d842467311ac3434aa19c5c41deaab8295bd0
drm/i915/dp: Really try 5 times before giving up.

Only stop trying if the aux channel sucessfully reports that the
transmission was completed, otherwise try again. On the 5th failure,
bail and report that something is amiss.

This fixes a sporadic failure in reading the EDID for my external panel
over DP.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
drivers/gpu/drm/i915/intel_dp.c