[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <b9dded$h40vqf@orsmga002.jf.intel.com>
Date: Wed, 17 Nov 2010 10:20:09 +0000
From: Chris Wilson <chris@...is-wilson.co.uk>
To: Tino Keitel <tino.keitel@...ei.de>, linux-kernel@...r.kernel.org
Subject: Re: DVI/EDID broken with Intel i945 graphics and 2.6.37-rc2
On Tue, 16 Nov 2010 19:49:14 +0100, Tino Keitel <tino.keitel@...ei.de> wrote:
> Hi,
>
> 2.6.37-rc2 doesn't seem to detect the LCD connected via DVI on my Mac
> mini Core2 Duo with i945 graphics:
Hmm, sounds like fallout from detection of the VGA connection on the shared
GPIO wire.
Does this help?
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo
index de158b7..ec32ceb 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -1327,11 +1327,8 @@ intel_analog_is_connected(struct drm_device *dev)
if (!analog_connector)
return false;
- if (analog_connector->funcs->detect(analog_connector, false) ==
- connector_status_disconnected)
- return false;
-
- return true;
+ return analog_connector->funcs->detect(analog_connector, false) ==
+ connector_status_connected;
}
An alternative is to force detection, ie change the detect(analog, false)
to true.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists