From a63980ee3dc4076d76ed2002d6600c1aeaab53c5 Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Fri, 24 Oct 2014 16:59:01 -0200 Subject: [PATCH] drm/i915: XXX: init DP/HDMI on all DDI ports Just for testing purposes. Not-signed-off-by: Paulo Zanoni --- drivers/gpu/drm/i915/intel_ddi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index cb5367c..a1ea86c 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -1621,9 +1621,8 @@ void intel_ddi_init(struct drm_device *dev, enum port port) struct drm_encoder *encoder; bool init_hdmi, init_dp; - init_hdmi = (dev_priv->vbt.ddi_port_info[port].supports_dvi || - dev_priv->vbt.ddi_port_info[port].supports_hdmi); - init_dp = dev_priv->vbt.ddi_port_info[port].supports_dp; + init_hdmi = true; + init_dp = true; if (!init_dp && !init_hdmi) { DRM_DEBUG_KMS("VBT says port %c is not DVI/HDMI/DP compatible, assuming it is\n", port_name(port)); -- 2.1.1