]> git.openfabrics.org - ~emulex/infiniband.git/commit
drm/i915: Increase the response time for slow SDVO devices
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 23 Nov 2012 11:57:56 +0000 (11:57 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 29 Nov 2012 10:42:38 +0000 (11:42 +0100)
commitfc37381cc8ae2c24b8ece33659e69a0605ca074c
tree9773583ec49a5b875dbde4145f048cf6f3341960
parent9a69b885e964cf93064f1a16ddd06ebb7d46ac17
drm/i915: Increase the response time for slow SDVO devices

Some devices may respond very slowly and only flag that the reply is
pending within the first 15us response window. Be kind to such devices
and wait a further 15ms, before checking for the pending reply. This
moves the existing special case delay of 30ms down from the detection
routine into the common path and pretends to explain it...

v2: Simplify the loop constructs as suggested by Jani Nikula.

References: https://bugs.freedesktop.org/show_bug.cgi?id=36997
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sdvo.c