drm/i915/dp: down the DP link even if the reg indicates it's already down
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 8 Oct 2010 17:35:55 +0000 (10:35 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Oct 2010 08:16:44 +0000 (09:16 +0100)
commit736085bcf91720fd90175c288c542c721c281bb0
tree893e59a82d08e777bf502a904dfb46dd983a8fd9
parent701394cc534a4a7883ddc4f8f82fb438b3d664ff
drm/i915/dp: down the DP link even if the reg indicates it's already down

Since the PLL may still be on, and the training pattern may not be
correct.  Fixes suspend/resume on my PCH eDP test system.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[ickle: minor merge conflict and silence the compiler]
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_dp.c