diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-12-01 21:03:33 -0500 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-12-02 02:26:36 -0500 |
commit | 652af9d74e1a3a10bb10f0d8e8f42ddac26bbc1a (patch) | |
tree | 8771b6cf9b14f7f8b349cecf8a2a71fba806800c | |
parent | f24bc39facc1e74eb989908106fe9f6d375ae16e (diff) |
drm/i915: Add the missing clonemask for display port on Ironlake
Add the missing clonemask for display port on Ironlake.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
cc: stable@kernel.org
Signed-off-by: Eric Anholt <eric@anholt.net>
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index e0e835e6a75c..3b584d3dd84b 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -1306,11 +1306,11 @@ intel_dp_init(struct drm_device *dev, int output_reg) | |||
1306 | else | 1306 | else |
1307 | intel_output->type = INTEL_OUTPUT_DISPLAYPORT; | 1307 | intel_output->type = INTEL_OUTPUT_DISPLAYPORT; |
1308 | 1308 | ||
1309 | if (output_reg == DP_B) | 1309 | if (output_reg == DP_B || output_reg == PCH_DP_B) |
1310 | intel_output->clone_mask = (1 << INTEL_DP_B_CLONE_BIT); | 1310 | intel_output->clone_mask = (1 << INTEL_DP_B_CLONE_BIT); |
1311 | else if (output_reg == DP_C) | 1311 | else if (output_reg == DP_C || output_reg == PCH_DP_C) |
1312 | intel_output->clone_mask = (1 << INTEL_DP_C_CLONE_BIT); | 1312 | intel_output->clone_mask = (1 << INTEL_DP_C_CLONE_BIT); |
1313 | else if (output_reg == DP_D) | 1313 | else if (output_reg == DP_D || output_reg == PCH_DP_D) |
1314 | intel_output->clone_mask = (1 << INTEL_DP_D_CLONE_BIT); | 1314 | intel_output->clone_mask = (1 << INTEL_DP_D_CLONE_BIT); |
1315 | 1315 | ||
1316 | if (IS_eDP(intel_output)) { | 1316 | if (IS_eDP(intel_output)) { |