drm/i915/dp: abstract rate array length limiting
authorJani Nikula <jani.nikula@intel.com>
Thu, 1 Feb 2018 11:03:41 +0000 (13:03 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 2 Feb 2018 07:50:15 +0000 (09:50 +0200)
commit10ebb736960cd90eeec7239da2c2b3e8c8a24ef6
treeaec106a192a95beb27f8417ab1d9e86020444f4f
parent006bb4ccac3901d790b56ed4729cd4080a77a895
drm/i915/dp: abstract rate array length limiting

This will be useful later on. Also move the functions around to not need
forward declarations in subsequent patches. No functional changes.

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/40f37f08cad33234cd86337d39e823ac6e55805f.1517482774.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dp.c