drm/i915: Use the same vswing->max_preemph mapping on HSW/BDW as on SKL+
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 May 2018 17:03:06 +0000 (20:03 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 May 2018 14:23:40 +0000 (17:23 +0300)
commit4718a365cf12094ed131089518003ac7ecb66743
tree05965bc2fec26041698ff43a8e9a8d600b3a0ec2
parenta393e9649582894078130f5741877bbafa0bd8a9
drm/i915: Use the same vswing->max_preemph mapping on HSW/BDW as on SKL+

All DDI platforms support the full set of preemph settings for each
supported vswing, so let's use the same code for them. We'll also move
the code into intel_ddi.c so that it sits closer to the actual buf trans
tables.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180517170309.28630-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h