aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-07-16 14:46:29 -0400
committerEric Anholt <eric@anholt.net>2010-08-01 22:38:00 -0400
commitcb0953d734348e8862d6d7edc666cfb3bf6d8fae (patch)
tree0ebd8ff4d12cb9d62b72daf361226397000d61b5 /drivers/gpu/drm/i915/intel_dp.c
parentb329530ca7cdf6bf014f2124efd983e01265d623 (diff)
drm/i915: Initialize LVDS and eDP outputs before anything else
This makes them sort to the front in X, which makes them likely to be the primary outputs if you haven't specified a preference in your DE, which is likely to be what you want. Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 016a9237a020..f7410cffa8c9 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1464,7 +1464,7 @@ intel_trans_dp_port_sel (struct drm_crtc *crtc)
1464} 1464}
1465 1465
1466/* check the VBT to see whether the eDP is on DP-D port */ 1466/* check the VBT to see whether the eDP is on DP-D port */
1467static bool intel_dpd_is_edp(struct drm_device *dev) 1467bool intel_dpd_is_edp(struct drm_device *dev)
1468{ 1468{
1469 struct drm_i915_private *dev_priv = dev->dev_private; 1469 struct drm_i915_private *dev_priv = dev->dev_private;
1470 struct child_device_config *p_child; 1470 struct child_device_config *p_child;