[PATCH 0/6] Implement proper MST fallback retraining in i915

From: Lyude Paul
Date: Thu Mar 08 2018 - 18:26:04 EST


This is the first version of my patch series to implement MST fallback
retraining in i915, along with improving the stability of i915's mst
retraining in general. Additionally, it also introduces helpers into DRM
to help with correctly handling MST fallback retraining so that other
drivers may also implement it. If your driver has a homegrown
implementation of this, you should convert it to these helpers to ensure
that the behavior of atomic commits and connector's link status
properties in the event of requiring retraining on an MST topology
remains consistent between DRM drivers.

Additionally, this lets me use the DisplayPort on my dock so I can
finally free up the thunderbolt 3 connector on it for more useful
things. At long last :).

Cc: Manasi Navare <manasi.d.navare@xxxxxxxxx>
Cc: Ville SyrjÃlà <ville.syrjala@xxxxxxxxxxxxxxx>

Lyude Paul (6):
drm/i915: Remove unused DP_LINK_CHECK_TIMEOUT
drm/i915: Move DP modeset retry work into intel_dp
drm/i915: Only use one link bw config for MST topologies
drm/dp_mst: Add drm_dp_mst_topology_mgr_lower_link_rate()
drm/dp_mst: Add drm_atomic_dp_mst_retrain_topology()
drm/i915: Implement proper fallback training for MST

drivers/gpu/drm/drm_dp_mst_topology.c | 296 ++++++++++++++++++++-
drivers/gpu/drm/i915/intel_display.c | 23 +-
drivers/gpu/drm/i915/intel_dp.c | 360 +++++++++++++++++++-------
drivers/gpu/drm/i915/intel_dp_link_training.c | 2 +-
drivers/gpu/drm/i915/intel_dp_mst.c | 64 +++--
drivers/gpu/drm/i915/intel_drv.h | 23 +-
include/drm/drm_dp_mst_helper.h | 5 +
7 files changed, 662 insertions(+), 111 deletions(-)

--
2.14.3