Commit 0502a1af authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915: Drop pointless WARN_ON

intel_dp_link_down() is static and it's only called from the pre-ddi
DP functions, so having a WARN_ON(HAS_DDI) in there is quite pointless.
Remove it.

Signed-off-by: default avatarVille Syrjälä <>

Reviewed-by: default avatarManasi Navare <>
parent 97068c1b
......@@ -3995,9 +3995,6 @@ intel_dp_link_down(struct intel_encoder *encoder,
enum port port = encoder->port;
u32 DP = intel_dp->DP;
if (WARN_ON(HAS_DDI(dev_priv)))
if (WARN_ON((I915_READ(intel_dp->output_reg) & DP_PORT_EN) == 0))
Supports Markdown
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