drm/i915/dp: clean up source rate limiting for cnl
authorJani Nikula <jani.nikula@intel.com>
Thu, 1 Feb 2018 11:03:42 +0000 (13:03 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 2 Feb 2018 07:50:45 +0000 (09:50 +0200)
commit4ba285d4154ab587cc00bf9bd04bb8c7b19b595a
tree28d7d468464691d6d8f83ca8c2e8869819534eb2
parent10ebb736960cd90eeec7239da2c2b3e8c8a24ef6
drm/i915/dp: clean up source rate limiting for cnl

Make the limiting rate based instead of messing with the array size.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/cb03b9419191a7d6359bf371aacb2d3725c746de.1517482774.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp.c