Commit 6721af21 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Remove dead signal level debugs

If we ever get here with bogus signal levels we've messed
up somewhere earlier. Just use MISSING_CASE().
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210318161015.22070-3-ville.syrjala@linux.intel.com
parent 4b672eb7
...@@ -3310,8 +3310,7 @@ static u32 snb_cpu_edp_signal_levels(u8 train_set) ...@@ -3310,8 +3310,7 @@ static u32 snb_cpu_edp_signal_levels(u8 train_set)
case DP_TRAIN_VOLTAGE_SWING_LEVEL_3 | DP_TRAIN_PRE_EMPH_LEVEL_0: case DP_TRAIN_VOLTAGE_SWING_LEVEL_3 | DP_TRAIN_PRE_EMPH_LEVEL_0:
return EDP_LINK_TRAIN_800_1200MV_0DB_SNB_B; return EDP_LINK_TRAIN_800_1200MV_0DB_SNB_B;
default: default:
DRM_DEBUG_KMS("Unsupported voltage swing/pre-emphasis level:" MISSING_CASE(signal_levels);
"0x%x\n", signal_levels);
return EDP_LINK_TRAIN_400_600MV_0DB_SNB_B; return EDP_LINK_TRAIN_400_600MV_0DB_SNB_B;
} }
} }
...@@ -3362,8 +3361,7 @@ static u32 ivb_cpu_edp_signal_levels(u8 train_set) ...@@ -3362,8 +3361,7 @@ static u32 ivb_cpu_edp_signal_levels(u8 train_set)
return EDP_LINK_TRAIN_800MV_3_5DB_IVB; return EDP_LINK_TRAIN_800MV_3_5DB_IVB;
default: default:
DRM_DEBUG_KMS("Unsupported voltage swing/pre-emphasis level:" MISSING_CASE(signal_levels);
"0x%x\n", signal_levels);
return EDP_LINK_TRAIN_500MV_0DB_IVB; return EDP_LINK_TRAIN_500MV_0DB_IVB;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment