[Intel-gfx] [PATCH v3 0/3] Various retries for LSPCON

Shashank Sharma shashank.sharma at intel.com
Tue Oct 10 10:07:41 UTC 2017


This patch series adds various retries and delays
in DRM and I915 layer, to handle some of the read
failures while dealing with LSPCON devices.

LSPCON devices are sometimes slow to respond and
the vendores expect us to retry while probing the
device.

The typical scenarios are getting fixed / handled with
this patch series are look like this failure during LSPCON
suspend/resume:
[drm:drm_lspcon_get_mode] *ERROR* LSPCON read(0x80, 0x41) failed
[drm:lspcon_wait_mode [i915]] *ERROR* Error reading LSPCON mode
[drm:drm_lspcon_get_mode] *ERROR* LSPCON read(0x80, 0x41) failed
[drm:lspcon_change_mode.constprop.4 [i915]] *ERROR* Error reading LSPCON mode
[drm:lspcon_resume [i915]] *ERROR* LSPCON resume failed
Setting dangerous option reset - tainting kernel

Shashank Sharma (3):
  drm: Add retries for lspcon mode detection
  drm/i915: Don't give up waiting on INVALID_MODE
  drm/i915: Add retries for LSPCON detection

 drivers/gpu/drm/drm_dp_dual_mode_helper.c | 16 +++++++++++++---
 drivers/gpu/drm/i915/intel_lspcon.c       | 22 +++++++++++++++-------
 2 files changed, 28 insertions(+), 10 deletions(-)

-- 
2.7.4



More information about the Intel-gfx mailing list