[Intel-gfx] [RFC 23/30] drm/i915: init DP on port B

Paulo Zanoni przanoni at gmail.com
Wed Aug 29 00:06:54 CEST 2012


From: Paulo Zanoni <paulo.r.zanoni at intel.com>

This is just for testing purposes. We need to properly detect if the
monitor connected on the port is actually DP or HDMI.

Not-signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
---
 drivers/gpu/drm/i915/intel_ddi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index 44bf9e6..055a1e8 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -240,6 +240,8 @@ void intel_ddi_init(struct drm_device *dev, enum port port)
 		break;
 	/* Assume that the  ports B, C and D are working in HDMI mode for now */
 	case PORT_B:
+		intel_dp_init(dev, DDI_BUF_CTL(port), port);
+		break;
 	case PORT_C:
 	case PORT_D:
 		intel_hdmi_init(dev, DDI_BUF_CTL(port), port);
-- 
1.7.11.2




More information about the Intel-gfx mailing list