]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: do not limit rate seek when not needed
authorJani Nikula <jani.nikula@intel.com>
Thu, 6 Apr 2017 13:44:11 +0000 (16:44 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 11 Apr 2017 13:54:30 +0000 (16:54 +0300)
commit19cd4480c657c5579655a2eb4543019a2d97ede3
tree7a18e13f5e8a378e5670d84345783906f3b2d59f
parent573476516d2776c0656d877c97014c17e61537b8
drm/i915/dp: do not limit rate seek when not needed

In link training fallback, we're trying to find a rate that we know is
in a sorted array of common link rates. We don't need to limit the array
using the max rate. For test request, the DP CTS doesn't say we should
limit the rate based on earlier fallback. This lets us get rid of
intel_dp_link_rate_index() and use intel_dp_rate_index() instead.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/33cab481a3228f31e938b5891a6285d892dcf272.1491485983.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp.c