drm/i915: Add the missing clone_mask for SDVO-VGA(RGB1)
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 10 Sep 2009 07:45:48 +0000 (15:45 +0800)
committerEric Anholt <eric@anholt.net>
Thu, 10 Sep 2009 18:30:54 +0000 (11:30 -0700)
Add the missing clone_mask for SDVO-VGA(RGB1)

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_sdvo.c

index 1f671d96565b354566b584d5ca8994ada5830a45..083bec2e50f9993d11635ae5d3881f1cbc272a85 100644 (file)
@@ -2274,6 +2274,8 @@ intel_sdvo_output_setup(struct intel_output *intel_output, uint16_t flags)
                sdvo_priv->controlled_output = SDVO_OUTPUT_RGB1;
                encoder->encoder_type = DRM_MODE_ENCODER_DAC;
                connector->connector_type = DRM_MODE_CONNECTOR_VGA;
+               intel_output->clone_mask = (1 << INTEL_SDVO_NON_TV_CLONE_BIT) |
+                                       (1 << INTEL_ANALOG_CLONE_BIT);
        } else if (flags & SDVO_OUTPUT_LVDS0) {
 
                sdvo_priv->controlled_output = SDVO_OUTPUT_LVDS0;