Re: DVI/EDID broken with Intel i945 graphics and 2.6.37-rc2
From: Chris Wilson
Date: Wed Nov 17 2010 - 05:20:25 EST
On Tue, 16 Nov 2010 19:49:14 +0100, Tino Keitel <tino.keitel@xxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/