diff options
| -rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 8233f2aea665..2a00cb828d20 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
| @@ -810,7 +810,12 @@ intel_dp_compute_config(struct intel_encoder *encoder, | |||
| 810 | bpp = dev_priv->vbt.edp_bpp; | 810 | bpp = dev_priv->vbt.edp_bpp; |
| 811 | } | 811 | } |
| 812 | 812 | ||
| 813 | if (dev_priv->vbt.edp_lanes) { | 813 | if (IS_BROADWELL(dev)) { |
| 814 | /* Yes, it's an ugly hack. */ | ||
| 815 | min_lane_count = max_lane_count; | ||
| 816 | DRM_DEBUG_KMS("forcing lane count to max (%u) on BDW\n", | ||
| 817 | min_lane_count); | ||
| 818 | } else if (dev_priv->vbt.edp_lanes) { | ||
| 814 | min_lane_count = min(dev_priv->vbt.edp_lanes, | 819 | min_lane_count = min(dev_priv->vbt.edp_lanes, |
| 815 | max_lane_count); | 820 | max_lane_count); |
| 816 | DRM_DEBUG_KMS("using min %u lanes per VBT\n", | 821 | DRM_DEBUG_KMS("using min %u lanes per VBT\n", |
