|
@@ -1582,26 +1582,6 @@ static void assert_pch_ports_disabled(struct drm_i915_private *dev_priv,
|
|
assert_pch_hdmi_disabled(dev_priv, pipe, PCH_HDMID);
|
|
assert_pch_hdmi_disabled(dev_priv, pipe, PCH_HDMID);
|
|
}
|
|
}
|
|
|
|
|
|
-static void intel_init_dpio(struct drm_device *dev)
|
|
|
|
-{
|
|
|
|
- struct drm_i915_private *dev_priv = dev->dev_private;
|
|
|
|
-
|
|
|
|
- if (!IS_VALLEYVIEW(dev))
|
|
|
|
- return;
|
|
|
|
-
|
|
|
|
- /*
|
|
|
|
- * IOSF_PORT_DPIO is used for VLV x2 PHY (DP/HDMI B and C),
|
|
|
|
- * CHV x1 PHY (DP/HDMI D)
|
|
|
|
- * IOSF_PORT_DPIO_2 is used for CHV x2 PHY (DP/HDMI B and C)
|
|
|
|
- */
|
|
|
|
- if (IS_CHERRYVIEW(dev)) {
|
|
|
|
- DPIO_PHY_IOSF_PORT(DPIO_PHY0) = IOSF_PORT_DPIO_2;
|
|
|
|
- DPIO_PHY_IOSF_PORT(DPIO_PHY1) = IOSF_PORT_DPIO;
|
|
|
|
- } else {
|
|
|
|
- DPIO_PHY_IOSF_PORT(DPIO_PHY0) = IOSF_PORT_DPIO;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static void vlv_enable_pll(struct intel_crtc *crtc,
|
|
static void vlv_enable_pll(struct intel_crtc *crtc,
|
|
const struct intel_crtc_state *pipe_config)
|
|
const struct intel_crtc_state *pipe_config)
|
|
{
|
|
{
|
|
@@ -14767,8 +14747,6 @@ void intel_modeset_init(struct drm_device *dev)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- intel_init_dpio(dev);
|
|
|
|
-
|
|
|
|
intel_shared_dpll_init(dev);
|
|
intel_shared_dpll_init(dev);
|
|
|
|
|
|
/* Just disable it once at startup */
|
|
/* Just disable it once at startup */
|