drm/dp/i915: Make clock recovery in the link training compliant with DP Spec 1.2
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Wed, 7 Sep 2016 18:28:01 +0000 (11:28 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Fri, 9 Sep 2016 21:53:18 +0000 (14:53 -0700)
commit13b1996e842aa4164c4d838908bc6dd76c3bd2b2
tree10c0de37d11d5c1aaad1796d876a33bccc653bfd
parent7bfaddf057f3ae774fa355cb7d87324ca67add94
drm/dp/i915: Make clock recovery in the link training compliant with DP Spec 1.2

This function cleans up clock recovery loop in link training compliant
tp Dp Spec 1.2. It tries the clock recovery 5 times for the same voltage
or until max voltage swing is reached and removes the additional non
compliant retries. This function now returns a boolean values based on
if clock recovery passed or failed.

v3:
* Better Debug prints in case of failures (Mika Kahola)
v2:
* Rebased on top of new revision of vswing patch (Manasi Navare)

Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_dp_link_training.c