drm/i915: make DP training try a little harder
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 5 Jan 2011 22:45:24 +0000 (14:45 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 20:22:23 +0000 (20:22 +0000)
commit37f809755845cc3e18e8216c04525bdb885fa13b
tree6665530a9bf156653ffcfa8a3de7f07741ec3947
parent858bc21f0637c407601a05626854ae58b242f75d
drm/i915: make DP training try a little harder

When trying to do channel equalization, we need to make sure we still
have clock recovery on all lanes while training.  We also need to try
clock recovery again if we lose the clock or if channel eq fails 5
times.  We'll try clock recovery up to 5 more times before giving up
entirely.

Gets suspend/resume working on my Vaio again and brings us back into
compliance with the DP training sequence spec.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_dp.c