From 15dc6f9960b272a08f4f66871f596516386e2962 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Fri, 10 Jan 2014 15:11:04 +0200 Subject: [PATCH] drm/i915: vlv: treat port C as always DP as opposed to eDP Signed-off-by: Imre Deak --- drivers/gpu/drm/i915/intel_dp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 9b40113..78a5cc3 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -3338,6 +3338,9 @@ bool intel_dp_is_edp(struct drm_device *dev, enum port port) if (port == PORT_A) return true; + if (IS_VALLEYVIEW(dev) && port == PORT_C) + return false; + if (!dev_priv->vbt.child_dev_num) return false; -- 1.8.1.2