diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-11 21:37:48 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-11 21:37:48 +0100 |
commit | fe255d0028903f1132a3c1214edc91cf95b7cd98 (patch) | |
tree | dbfaadc5fe27f24a0505d1bd3fe44e993c5c1300 /drivers | |
parent | 5eddb70ba2b8cdbbdd563f5cb04e26fdc9b017f7 (diff) | |
download | blackbird-op-linux-fe255d0028903f1132a3c1214edc91cf95b7cd98.tar.gz blackbird-op-linux-fe255d0028903f1132a3c1214edc91cf95b7cd98.zip |
drm/i915/dp: Convert a udelay(17000) to a sleep during link-off
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 103a60b3cad4..208a4ec3e432 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -1366,14 +1366,13 @@ intel_dp_link_down(struct intel_dp *intel_dp) if (HAS_PCH_CPT(dev) && !IS_eDP(intel_dp)) { DP &= ~DP_LINK_TRAIN_MASK_CPT; I915_WRITE(intel_dp->output_reg, DP | DP_LINK_TRAIN_PAT_IDLE_CPT); - POSTING_READ(intel_dp->output_reg); } else { DP &= ~DP_LINK_TRAIN_MASK; I915_WRITE(intel_dp->output_reg, DP | DP_LINK_TRAIN_PAT_IDLE); - POSTING_READ(intel_dp->output_reg); } + POSTING_READ(intel_dp->output_reg); - udelay(17000); + msleep(17); if (IS_eDP(intel_dp)) DP |= DP_LINK_TRAIN_OFF; |