drm/i915: Fix cpt/ppt max pre-emphasis
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 May 2020 17:41:39 +0000 (20:41 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 3 Jun 2020 13:23:21 +0000 (16:23 +0300)
commitd1d08a4994a8142e1c47ad28949035c507293b03
tree3129f3cfad2ad94bdcc81711e250d565fce95d27
parent5a833995364141a3306e234500800277aea52334
drm/i915: Fix cpt/ppt max pre-emphasis

cpt/ppt support pre-emphasis level 3. Let's actually declare
support for it, instead of clamping things to level 2.

Also tweak the if-ladder in intel_dp_voltage_max() to match
intel_dp_pre_emphasis_max() to make it easier to compare them.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200512174145.3186-2-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c