mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 08:17:46 +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
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue