aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2012-10-13 08:30:15 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-10-16 03:39:04 -0400
commite3b86d6941c7e5f90be05d986fce1fcb40c68d6b (patch)
tree9f6c74601bf090000423ec43460ba24566c8dcbd
parent5f85f176c2f1c9d2a23f60ca0b99e4d0aa5a26a7 (diff)
DRM/i915: Don't clone SDVO LVDS with analog.
SDVO LVDS are not clonable as the input mode gets adjusted by the LVDS encoder. Signed-off-by: Egbert Eich <eich@suse.de> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--drivers/gpu/drm/i915/intel_sdvo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 39c319827f91..3a7251ad9a73 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -2278,10 +2278,8 @@ intel_sdvo_lvds_init(struct intel_sdvo *intel_sdvo, int device)
2278 intel_sdvo_connector->output_flag = SDVO_OUTPUT_LVDS1; 2278 intel_sdvo_connector->output_flag = SDVO_OUTPUT_LVDS1;
2279 } 2279 }
2280 2280
2281 /* SDVO LVDS is cloneable because the SDVO encoder does the upscaling, 2281 /* SDVO LVDS is not cloneable because the input mode gets adjusted by the encoder */
2282 * as opposed to native LVDS, where we upscale with the panel-fitter 2282 intel_sdvo->base.cloneable = false;
2283 * (and hence only the native LVDS resolution could be cloned). */
2284 intel_sdvo->base.cloneable = true;
2285 2283
2286 intel_sdvo_connector_init(intel_sdvo_connector, intel_sdvo); 2284 intel_sdvo_connector_init(intel_sdvo_connector, intel_sdvo);
2287 if (!intel_sdvo_create_enhance_property(intel_sdvo, intel_sdvo_connector)) 2285 if (!intel_sdvo_create_enhance_property(intel_sdvo, intel_sdvo_connector))