drm/i915: avoid premature DP AUX timeouts
authorImre Deak <imre.deak@intel.com>
Tue, 21 May 2013 17:03:20 +0000 (20:03 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 May 2013 11:51:26 +0000 (13:51 +0200)
commit3598706b52cb45ba0a9e8aa99ce5ac59140f2b8b
tree2dfeb6b1e1f59b39cfbd5cc20477efc2101b3c7b
parente054cc3937a4a58e77870d4c922a7b21824b610a
drm/i915: avoid premature DP AUX timeouts

During DP AUX communication we might time out 1 jiffy too early, because
the calculated expiry jiffy value is one less than needed.

This is only one reason for false DP AUX timeouts. For a complete
solution we also need the following fix, which is now queued for
mainline: http://marc.info/?l=linux-kernel&m=136748515710837&w=2

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64133

Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_i2c.c