Skip to content

Commit

Permalink
drm/i915/dp: increase native aux defer retry timeout
Browse files Browse the repository at this point in the history
Give more slack to sink devices before retrying on native aux
defer. AFAICT the 100 us timeout was not based on the DP spec.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Cc: stable@vger.kernel.org (on Jani's request)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Jani Nikula authored and Daniel Vetter committed Feb 13, 2014
1 parent f66fab8 commit 04eada2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ intel_dp_aux_native_write(struct intel_dp *intel_dp,
if ((ack & DP_AUX_NATIVE_REPLY_MASK) == DP_AUX_NATIVE_REPLY_ACK)
break;
else if ((ack & DP_AUX_NATIVE_REPLY_MASK) == DP_AUX_NATIVE_REPLY_DEFER)
udelay(100);
usleep_range(400, 500);
else
return -EIO;
}
Expand Down Expand Up @@ -608,7 +608,7 @@ intel_dp_aux_native_read(struct intel_dp *intel_dp,
return ret - 1;
}
else if ((ack & DP_AUX_NATIVE_REPLY_MASK) == DP_AUX_NATIVE_REPLY_DEFER)
udelay(100);
usleep_range(400, 500);
else
return -EIO;
}
Expand Down

0 comments on commit 04eada2

Please sign in to comment.