Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35659715 authored by Alan Cox's avatar Alan Cox Committed by Dave Airlie
Browse files

gma500/cdv: enable the DisplayPort support



This will give the basic support only

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 37e7b184
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -58,10 +58,17 @@ static int cdv_output_init(struct drm_device *dev)
	cdv_intel_lvds_init(dev, &dev_priv->mode_dev);

	/* These bits indicate HDMI not SDVO on CDV */
	if (REG_READ(SDVOB) & SDVO_DETECTED)
	if (REG_READ(SDVOB) & SDVO_DETECTED) {
		cdv_hdmi_init(dev, &dev_priv->mode_dev, SDVOB);
	if (REG_READ(SDVOC) & SDVO_DETECTED)
		if (REG_READ(DP_B) & DP_DETECTED)
			cdv_intel_dp_init(dev, &dev_priv->mode_dev, DP_B);
	}

	if (REG_READ(SDVOC) & SDVO_DETECTED) {
		cdv_hdmi_init(dev, &dev_priv->mode_dev, SDVOC);
		if (REG_READ(DP_C) & DP_DETECTED)
			cdv_intel_dp_init(dev, &dev_priv->mode_dev, DP_C);
	}
	return 0;
}