drm/i915/dp: limit sink rates based on rate
authorJani Nikula <jani.nikula@intel.com>
Mon, 9 Oct 2017 09:29:59 +0000 (12:29 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 11 Oct 2017 19:04:33 +0000 (22:04 +0300)
commita8a08886ef8c6a5a740e50e3897466cfd11724ff
tree39bb36348d3903e6a1ebdb084c58ff4b59865210
parentfc603ca7f81d729bbec7ced294f25a93113c49f7
drm/i915/dp: limit sink rates based on rate

Get rid of redundant intel_dp_num_rates(). We can simply look at the
rate and limit based on that.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: <manasi.d.navare@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171009092959.29021-3-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp.c