|
@@ -1367,7 +1367,17 @@ static void intel_init_dpio(struct drm_device *dev)
|
|
|
if (!IS_VALLEYVIEW(dev))
|
|
|
return;
|
|
|
|
|
|
- DPIO_PHY_IOSF_PORT(DPIO_PHY0) = IOSF_PORT_DPIO;
|
|
|
+ /*
|
|
|
+ * 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 intel_reset_dpio(struct drm_device *dev)
|