[PATCH v2 0/4] Handle link training failure during modeset for DDI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Link training failure is handled by lowering the link rate/lane count
as per the Dp Spec 1.2 and sending a hotplug uevent to userspace to notify
that it needs to redo a modeset. This is notified by setting connector link
status property which should be tracked by userspace to take the action.

This behaviour complies with Dp spec as tested by DP compliance test suite.

Manasi Navare (4):
  drm: Add a new connector property for link status
  drm/i915: Set link status property for DP connector
  drm/i915: Find fallback link rate/lane count
  drm/i915: Implement Link Rate fallback on Link training failure

 drivers/gpu/drm/drm_atomic_helper.c           |   4 +
 drivers/gpu/drm/drm_connector.c               |  17 ++++
 drivers/gpu/drm/i915/intel_ddi.c              |  23 ++++-
 drivers/gpu/drm/i915/intel_dp.c               | 128 +++++++++++++++++++++++++-
 drivers/gpu/drm/i915/intel_dp_link_training.c |  12 ++-
 drivers/gpu/drm/i915/intel_drv.h              |  13 ++-
 include/drm/drm_connector.h                   |   4 +-
 include/drm/drm_crtc.h                        |   5 +
 include/uapi/drm/drm_mode.h                   |   4 +
 9 files changed, 201 insertions(+), 9 deletions(-)

-- 
1.9.1

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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux