]> 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)
commit20e08bcf006e06a5b486b52e6ad20b45cf85b014
tree9773583ec49a5b875dbde4145f048cf6f3341960
parent2841868179da57f6817f284900bd1134fa27dc65
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