diff options
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 6f5aafa1b633..f6e274c5db62 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -4370,7 +4370,7 @@ static int i9xx_crtc_mode_set(struct drm_crtc *crtc, | |||
4370 | /* default to 8bpc */ | 4370 | /* default to 8bpc */ |
4371 | pipeconf &= ~(PIPECONF_BPP_MASK | PIPECONF_DITHER_EN); | 4371 | pipeconf &= ~(PIPECONF_BPP_MASK | PIPECONF_DITHER_EN); |
4372 | if (is_dp) { | 4372 | if (is_dp) { |
4373 | if (mode->private_flags & INTEL_MODE_DP_FORCE_6BPC) { | 4373 | if (adjusted_mode->private_flags & INTEL_MODE_DP_FORCE_6BPC) { |
4374 | pipeconf |= PIPECONF_BPP_6 | | 4374 | pipeconf |= PIPECONF_BPP_6 | |
4375 | PIPECONF_DITHER_EN | | 4375 | PIPECONF_DITHER_EN | |
4376 | PIPECONF_DITHER_TYPE_SP; | 4376 | PIPECONF_DITHER_TYPE_SP; |
@@ -4802,7 +4802,8 @@ static int ironlake_crtc_mode_set(struct drm_crtc *crtc, | |||
4802 | target_clock = adjusted_mode->clock; | 4802 | target_clock = adjusted_mode->clock; |
4803 | 4803 | ||
4804 | /* determine panel color depth */ | 4804 | /* determine panel color depth */ |
4805 | dither = intel_choose_pipe_bpp_dither(crtc, fb, &pipe_bpp, mode); | 4805 | dither = intel_choose_pipe_bpp_dither(crtc, fb, &pipe_bpp, |
4806 | adjusted_mode); | ||
4806 | if (is_lvds && dev_priv->lvds_dither) | 4807 | if (is_lvds && dev_priv->lvds_dither) |
4807 | dither = true; | 4808 | dither = true; |
4808 | 4809 | ||