aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2013-03-06 18:03:19 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-03-17 16:52:19 -0400
commit311e359c0bcbcfa6d71a56407477f2ec9c28c2d5 (patch)
treedb805cf4ceb2ecf3635b73e7114f70bdea19bdcb
parent86d52df633869b54a6f0b9a8f088be9c89a42c3d (diff)
drm/i915: reorganize intel_lvds_supported
Now it returns false for all platforms unless they're explicitly listed on the function. There should be no real difference, except for the fact that it now returns false on Haswell. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/intel_lvds.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/intel_lvds.c b/drivers/gpu/drm/i915/intel_lvds.c
index 6b24fc57ff47..53bd5fd84028 100644
--- a/drivers/gpu/drm/i915/intel_lvds.c
+++ b/drivers/gpu/drm/i915/intel_lvds.c
@@ -1020,15 +1020,15 @@ static bool intel_lvds_supported(struct drm_device *dev)
1020{ 1020{
1021 /* With the introduction of the PCH we gained a dedicated 1021 /* With the introduction of the PCH we gained a dedicated
1022 * LVDS presence pin, use it. */ 1022 * LVDS presence pin, use it. */
1023 if (HAS_PCH_SPLIT(dev)) 1023 if (HAS_PCH_IBX(dev) || HAS_PCH_CPT(dev))
1024 return true; 1024 return true;
1025 1025
1026 if (IS_VALLEYVIEW(dev))
1027 return false;
1028
1029 /* Otherwise LVDS was only attached to mobile products, 1026 /* Otherwise LVDS was only attached to mobile products,
1030 * except for the inglorious 830gm */ 1027 * except for the inglorious 830gm */
1031 return IS_MOBILE(dev) && !IS_I830(dev); 1028 if (INTEL_INFO(dev)->gen <= 4 && IS_MOBILE(dev) && !IS_I830(dev))
1029 return true;
1030
1031 return false;
1032} 1032}
1033 1033
1034/** 1034/**