>From 785bb9f968ead288395ead4f921d7c1fb794ee71 Mon Sep 17 00:00:00 2001 From: Arjan van de Ven <ar...@linux.intel.com> Date: Mon, 23 Mar 2009 13:34:46 -0700 Subject: [PATCH] KMS: register the LVDS before the CRT
for the cases where the user only really cares about lighting up one output, or only one output at first, lighting up the LVDS (which only gets detected with lid-up) rather than the CRT is the right answer. This patch flips their order of registration so that this becomes possible. Signed-off-by: Arjan van de Ven <ar...@linux.intel.com> --- drivers/gpu/drm/i915/intel_display.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index a283427..c0ab079 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -1466,12 +1466,12 @@ static void intel_setup_outputs(struct drm_device *dev) struct drm_i915_private *dev_priv = dev->dev_private; struct drm_connector *connector; - intel_crt_init(dev); - - /* Set up integrated LVDS */ + /* Set up integrated LVDS -- will skip if the lid is closed */ if (IS_MOBILE(dev) && !IS_I830(dev)) intel_lvds_init(dev); + intel_crt_init(dev); + if (IS_I9XX(dev)) { int found; -- 1.6.0.6 -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel