]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add retries for LSPCON detection
authorShashank Sharma <shashank.sharma@intel.com>
Tue, 10 Oct 2017 10:07:44 +0000 (15:37 +0530)
committerJani Nikula <jani.nikula@intel.com>
Fri, 13 Oct 2017 09:15:10 +0000 (12:15 +0300)
commit933ae4e7e37c6eb8ab48a1dc542664d4326917a1
tree6c7cd10802edb6ad167883c357554fa2ef9ce064
parentcabc8d558b2dade1ec9b08557b8ecd0e56a296d4
drm/i915: Add retries for LSPCON detection

We read the dp dual mode Adapter identifier to detect the
LSPCON device. It's been observed from the CI testing that in
few cases, this read can get delayed or fail. For such scenarios,
LSPCON vendors suggest to retry the read operation.

This patch adds retry in the probe function, while reading
LSPCON identifier.

V3: added this patch in the series

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102294
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102295
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102359
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103186
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1507630064-17908-4-git-send-email-shashank.sharma@intel.com
drivers/gpu/drm/i915/intel_lspcon.c