diff options
author | Jani Nikula <jani.nikula@intel.com> | 2013-09-20 15:42:14 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-01 07:45:47 +0200 |
commit | 58c67ce9f0a0d9f016cded91b652642e2aca9e07 (patch) | |
tree | ca6f3438a558e898ec62cc1deb5514ae24fbc72c /drivers | |
parent | drm/i915/vlv: reduce GT FIFO error info to a debug message (diff) | |
download | linux-58c67ce9f0a0d9f016cded91b652642e2aca9e07.tar.xz linux-58c67ce9f0a0d9f016cded91b652642e2aca9e07.zip |
drm/i915/dp: retry i2c-over-aux seven times on AUX DEFER
Per DP1.2 spec.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Todd Previte <tprevite@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 95a31598feda..5b02f9d069c3 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -654,7 +654,12 @@ intel_dp_i2c_aux_ch(struct i2c_adapter *adapter, int mode, break; } - for (retry = 0; retry < 5; retry++) { + /* + * DP1.2 sections 2.7.7.1.5.6.1 and 2.7.7.1.6.6.1: A DP Source device is + * required to retry at least seven times upon receiving AUX_DEFER + * before giving up the AUX transaction. + */ + for (retry = 0; retry < 7; retry++) { ret = intel_dp_aux_ch(intel_dp, msg, msg_bytes, reply, reply_bytes); |