[Intel-gfx] [PATCH 4/8] drm/i915/dp: try to read receiver capabilities 3 times when detecting

Keith Packard keithp at keithp.com
Sat Jul 2 01:45:48 CEST 2011


On Fri,  1 Jul 2011 15:22:54 -0700, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> If ->detect is called too soon after a hot plug event, the sink may not
> be ready yet.  So try up to 3 times with 1ms sleeps in between tries to
> get the data (spec dictates that receivers must be ready to respond within
> 1ms and that sources should try 3 times).

See previous patch comment -- the dpcd read should be stuffed into a
separate function and shared between the four current users.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110701/315b74aa/attachment.sig>


More information about the Intel-gfx mailing list