All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Handle link training failure for DDI platforms
@ 2016-10-21 23:45 Manasi Navare
  2016-10-21 23:45 ` [PATCH 1/5] drm: Add atomic helper to redo a modeset on current mode Manasi Navare
                   ` (5 more replies)
  0 siblings, 6 replies; 33+ messages in thread
From: Manasi Navare @ 2016-10-21 23:45 UTC (permalink / raw)
  To: intel-gfx

According to the DP spec 1.2, link training failure needs to be handled
by lowering the link rate and retraining the link. These patches
implement this link rate fallback. Currently the driver trains the link
in atomic commit. This could fail if Clock Recovery or Channel EQ fails
during actual link training. In this case, we track the link parameters
at which it failed, validate the mode list based on new link constraints
and redo a modeset within the kernel if the current mode is still valid
but on lower link rate and lower bpp else send a hotplug uevent to 
notify userspace to try a different mode.

This has been tested only on DDI platforms now using DPR120 DP Compliance
tests. More patches will be submitted to scale this to older non DDI platforms.

Manasi Navare (4):
  drm: Add atomic helper to redo a modeset on current mode
  drm: Define a work struct for scheduling a uevent for modeset retry
  drm/i915; Add a function to return index of link rate
  drm/i915: Link Rate fallback on Link training failure

Navare, Manasi D (1):
  drm/i915: Change the placement of some static functions in intel_dp.c

 drivers/gpu/drm/drm_atomic_helper.c           |  58 +++++++
 drivers/gpu/drm/i915/intel_ddi.c              |  15 +-
 drivers/gpu/drm/i915/intel_dp.c               | 234 +++++++++++++++++---------
 drivers/gpu/drm/i915/intel_dp_link_training.c |  12 +-
 drivers/gpu/drm/i915/intel_drv.h              |   6 +-
 include/drm/drm_atomic_helper.h               |   1 +
 include/drm/drm_connector.h                   |   5 +
 7 files changed, 249 insertions(+), 82 deletions(-)

-- 
1.9.1

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

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

end of thread, other threads:[~2016-10-25 22:38 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-21 23:45 [PATCH 0/5] Handle link training failure for DDI platforms Manasi Navare
2016-10-21 23:45 ` [PATCH 1/5] drm: Add atomic helper to redo a modeset on current mode Manasi Navare
2016-10-22  8:47   ` Daniel Vetter
2016-10-22 14:01     ` [Intel-gfx] " Daniel Vetter
2016-10-22 14:46       ` Ville Syrjälä
2016-10-24  6:00         ` Daniel Vetter
2016-10-24  6:12           ` Manasi Navare
2016-10-24  6:33             ` Daniel Vetter
2016-10-24  7:00               ` Manasi Navare
2016-10-24  7:12                 ` Daniel Vetter
2016-10-24 18:38                   ` [Intel-gfx] " Sean Paul
2016-10-25  6:35                     ` Daniel Vetter
2016-10-24 22:08                   ` Manasi Navare
2016-10-25  6:40                     ` [Intel-gfx] " Daniel Vetter
2016-10-25 12:09   ` Jani Nikula
2016-10-25 22:28     ` Manasi Navare
2016-10-25 22:38     ` Rodrigo Vivi
2016-10-21 23:45 ` [PATCH 2/5] drm: Define a work struct for scheduling a uevent for modeset retry Manasi Navare
2016-10-22  8:48   ` Daniel Vetter
2016-10-25  6:28     ` Manasi Navare
2016-10-25  6:30       ` Pandiyan, Dhinakaran
2016-10-25  6:45         ` [Intel-gfx] " Daniel Vetter
2016-10-21 23:45 ` [PATCH 3/5] drm/i915: Change the placement of some static functions in intel_dp.c Manasi Navare
2016-10-21 23:45 ` [PATCH 4/5] drm/i915; Add a function to return index of link rate Manasi Navare
2016-10-25  6:33   ` Pandiyan, Dhinakaran
2016-10-21 23:45 ` [PATCH 5/5] drm/i915: Link Rate fallback on Link training failure Manasi Navare
2016-10-24 17:53   ` Jim Bride
2016-10-25  6:23   ` Pandiyan, Dhinakaran
2016-10-25 18:32     ` Manasi Navare
2016-10-25 12:17   ` Jani Nikula
2016-10-25 18:00     ` Jim Bride
2016-10-25 18:37     ` Manasi Navare
2016-10-22  0:16 ` ✗ Fi.CI.BAT: warning for Handle link training failure for DDI platforms Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.