summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_sdvo.c
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2009-09-10 15:45:48 +0800
committerEric Anholt <eric@anholt.net>2009-09-10 11:30:54 -0700
commite270846fa7c350712553d767e61cf8b3bbfbd58a (patch)
tree36f52b86559ac608fe7ed6eb4033d31ba3ce301e /drivers/gpu/drm/i915/intel_sdvo.c
parentd0cbde93cc29a250de97ccb63d98da5bd1cbcfcd (diff)
downloadop-kernel-dev-e270846fa7c350712553d767e61cf8b3bbfbd58a.zip
op-kernel-dev-e270846fa7c350712553d767e61cf8b3bbfbd58a.tar.gz
drm/i915: Add the missing clone_mask for SDVO-VGA(RGB1)
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
-rw-r--r--drivers/gpu/drm/i915/intel_sdvo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
index 1f671d9..083bec2 100644
--- a/drivers/gpu/drm/i915/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/intel_sdvo.c
@@ -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;
OpenPOWER on IntegriCloud