[PATCH RFC 0/8] Hotplug Uevent on Link training failure on DP

Manasi Navare manasi.d.navare at intel.com
Wed Oct 19 21:46:16 UTC 2016


These patches handle the DP link training failure during atomic modeset.
A new connector property is defined to indicate if link training retry
is requested on failure. If link training fails, we set this connector
property and send a hotplug uevent that gets exceuted after the current modeset
is completed an dlocks are released. The userspace is expected to monitor this
connector property to detect a change in connector and trigger a full modeset.
Here changes are made in fb_dev to monitor this property as well as the
atomic check modeset to use this new property to detect a change.
In the modeset retry, the modes are validated based on link rate lower than
the failed link rate and link is retrained at lower link rate.

Manasi Navare (7):
  drm: Add a link_train_retry field to drm_connector
  drm: Define a work struct for scheduling a uevent for modeset retry
  drm: Trigger a complete modeset if link_train_retry is set
  drm/i915; Add a function to return index of link rate
  drm/i915: Define the modeset retry work function
  drm/i915: Link Rate fallback on Link training failure
  drm/i915: Add support for DP link training compliance

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

 drivers/gpu/drm/drm_atomic_helper.c           |   9 +
 drivers/gpu/drm/drm_fb_helper.c               |   3 +-
 drivers/gpu/drm/i915/intel_ddi.c              |  14 +-
 drivers/gpu/drm/i915/intel_dp.c               | 286 ++++++++++++++++++--------
 drivers/gpu/drm/i915/intel_dp_link_training.c |  12 +-
 drivers/gpu/drm/i915/intel_drv.h              |   8 +-
 include/drm/drm_connector.h                   |  10 +
 7 files changed, 249 insertions(+), 93 deletions(-)

-- 
1.9.1



More information about the dri-devel mailing list