]> git.baikalelectronics.ru Git - kernel.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)
commitbe07786ea8016b454f34002cb12ffca1f20dee10
tree9773583ec49a5b875dbde4145f048cf6f3341960
parent74a85119b6a782e321c743daedb5f72a77cd64fa
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