mirror of
https://github.com/torvalds/linux
synced 2024-10-27 05:39:25 +00:00
drm/i915: remove redundant has_pch_encoder check
If we compute the pch pll state, we _have_ a pch encoder. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
4f4134ace0
commit
9566e9af52
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue