drm/i915/dp: Generalize intel_dp_link_params function to accept arguments to be validated
authorManasi Navare <manasi.d.navare@intel.com>
Thu, 8 Jun 2017 20:41:02 +0000 (13:41 -0700)
committerJani Nikula <jani.nikula@intel.com>
Tue, 15 Aug 2017 07:31:37 +0000 (10:31 +0300)
commit1a92c70ed8053855811d5e8c62e6a14e1d06e4ab
tree3cd6d4e93bb57daf54a4bb82d1d72f2c5c32f409
parent9db529aac9381e746f31f8109fdb186b69157661
drm/i915/dp: Generalize intel_dp_link_params function to accept arguments to be validated

This function now takes the link rate and lane ocunt to be validated
as an argument so that this can be used for validating even the
compliance test link parameters.

Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com>
Tested-by: Nathan Ciobanu <nathan.d.ciobanu@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1496954463-18038-1-git-send-email-manasi.d.navare@intel.com
drivers/gpu/drm/i915/intel_dp.c