From: Jesse Barnes Date: Thu, 7 Jul 2011 18:11:00 +0000 (-0700) Subject: drm/i915/dp: try to read receiver capabilities 3 times when detecting X-Git-Tag: v3.0~44^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899526d9a73fda47516cf11ccb3467ad6702f568;p=pandora-kernel.git drm/i915/dp: try to read receiver capabilities 3 times when detecting 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 section 9.1 of the 1.1a DisplayPort spec. Signed-off-by: Jesse Barnes Reviewed-by: Keith Packard Signed-off-by: Keith Packard --- Reading git-diff-tree failed