public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Various retries for LSPCON
@ 2017-10-10 10:07 Shashank Sharma
  2017-10-10 10:07 ` [PATCH v3 1/3] drm: Add retries for lspcon mode detection Shashank Sharma
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Shashank Sharma @ 2017-10-10 10:07 UTC (permalink / raw)
  To: intel-gfx

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-10-13  9:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-10 10:07 [PATCH v3 0/3] Various retries for LSPCON Shashank Sharma
2017-10-10 10:07 ` [PATCH v3 1/3] drm: Add retries for lspcon mode detection Shashank Sharma
2017-10-12 13:42   ` Imre Deak
2017-10-10 10:07 ` [PATCH v3 2/3] drm/i915: Don't give up waiting on INVALID_MODE Shashank Sharma
2017-10-10 10:07 ` [PATCH v3 3/3] drm/i915: Add retries for LSPCON detection Shashank Sharma
2017-10-12 13:47   ` Imre Deak
2017-10-10 10:12 ` [PATCH v3 0/3] Various retries for LSPCON Saarinen, Jani
2017-10-10 11:03   ` Sharma, Shashank
2017-10-13  9:19     ` Jani Nikula
2017-10-10 10:25 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-10-10 11:46 ` ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox