[PATCH 3/4] drm/i915: Find fallback link rate/lane count

2016-12-08 Thread Jani Nikula
On Tue, 06 Dec 2016, Manasi Navare wrote: > If link training fails, then we need to fallback to lower > link rate first and if link training fails at RBR, then > fallback to lower lane count. > This function finds the next lower link rate/lane count > value after link training failure and limits t

[PATCH 3/4] drm/i915: Find fallback link rate/lane count

2016-12-08 Thread Manasi Navare
On Thu, Dec 08, 2016 at 11:46:02PM +0200, Jani Nikula wrote: > On Tue, 06 Dec 2016, Manasi Navare wrote: > > If link training fails, then we need to fallback to lower > > link rate first and if link training fails at RBR, then > > fallback to lower lane count. > > This function finds the next lowe

[PATCH 3/4] drm/i915: Find fallback link rate/lane count

2016-12-08 Thread Manasi Navare
Hi Jani, This patch uses the simplified fallback logic where if link train fails, we first lower the max sink link rate to a lower value until it reaches RBR keeping the max lane count unchanged and then lower the lane count and set max lane count to this lowered lane count and resetting the link

[PATCH 3/4] drm/i915: Find fallback link rate/lane count

2016-12-05 Thread Manasi Navare
If link training fails, then we need to fallback to lower link rate first and if link training fails at RBR, then fallback to lower lane count. This function finds the next lower link rate/lane count value after link training failure and limits the max link_rate and lane_count values to these fallb