drm/i915: don't check for i830 in vlv specific code
Signed-off-by: Jani Nikula <jani.nikula@intel.com> 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
9075e52fac
commit
6a9e736377
|
@ -1527,7 +1527,7 @@ static void vlv_enable_pll(struct intel_crtc *crtc)
|
||||||
BUG_ON(!IS_VALLEYVIEW(dev_priv->dev));
|
BUG_ON(!IS_VALLEYVIEW(dev_priv->dev));
|
||||||
|
|
||||||
/* PLL is protected by panel, make sure we can write it */
|
/* PLL is protected by panel, make sure we can write it */
|
||||||
if (IS_MOBILE(dev_priv->dev) && !IS_I830(dev_priv->dev))
|
if (IS_MOBILE(dev_priv->dev))
|
||||||
assert_panel_unlocked(dev_priv, crtc->pipe);
|
assert_panel_unlocked(dev_priv, crtc->pipe);
|
||||||
|
|
||||||
I915_WRITE(reg, dpll);
|
I915_WRITE(reg, dpll);
|
||||||
|
|
Loading…
Reference in New Issue