Commit 9566e9af authored by Daniel Vetter's avatar Daniel Vetter

drm/i915: remove redundant has_pch_encoder check

If we compute the pch pll state, we _have_ a pch encoder.
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 4f4134ac
......@@ -5569,8 +5569,7 @@ static uint32_t ironlake_compute_dpll(struct intel_crtc *intel_crtc,
}
dpll |= DPLL_DVO_HIGH_SPEED;
}
if (intel_crtc->config.has_dp_encoder &&
intel_crtc->config.has_pch_encoder)
if (intel_crtc->config.has_dp_encoder)
dpll |= DPLL_DVO_HIGH_SPEED;
/* compute bitmask from p1 value */
......
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