summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_sdvo.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-09-15 10:42:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-15 10:42:50 +0100
commit2f551c84563df2bf144a819993b2d729c66583ee (patch)
tree168b56c1b17f8a36f1171c5d26b2b1569a40d36d /drivers/gpu/drm/i915/intel_sdvo.c
parentff482d8317736908e1f803ef94ee5c736a3b8a3a (diff)
downloadlwn-2f551c84563df2bf144a819993b2d729c66583ee.tar.gz
lwn-2f551c84563df2bf144a819993b2d729c66583ee.zip
drm/i915/sdvo: Mark the status as unknown if attached with EDID
One problem with devices that share the DDC bus between the VGA and DVI-I connectors is that with two devices attached we cannot know if there is truly a monitor attached to the DVI connector. In this case, it is preferrrable to mark the status as unknown, so that the user can supply the known set of modes and continue to use the output. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
-rw-r--r--drivers/gpu/drm/i915/intel_sdvo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index fbdae4d9220e..d2b4a6a28405 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -1480,7 +1480,7 @@ intel_sdvo_hdmi_sink_detect(struct drm_connector *connector)
if (edid == NULL)
edid = intel_sdvo_get_analog_edid(connector);
- status = connector_status_disconnected;
+ status = connector_status_unknown;
if (edid != NULL) {
/* DDC bus is shared, match EDID to connector type */
if (edid->input & DRM_EDID_INPUT_DIGITAL) {