diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 7fe92d06eb26..0ef52db4685f 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -2001,8 +2001,7 @@ static void ironlake_crtc_enable(struct drm_crtc *crtc) | |||
2001 | 2001 | ||
2002 | /* Enable panel fitting for LVDS */ | 2002 | /* Enable panel fitting for LVDS */ |
2003 | if (dev_priv->pch_pf_size && | 2003 | if (dev_priv->pch_pf_size && |
2004 | (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) | 2004 | (intel_pipe_has_type(crtc, INTEL_OUTPUT_LVDS) || HAS_eDP)) { |
2005 | || HAS_eDP || intel_pch_has_edp(crtc))) { | ||
2006 | /* Force use of hard-coded filter coefficients | 2005 | /* Force use of hard-coded filter coefficients |
2007 | * as some pre-programmed values are broken, | 2006 | * as some pre-programmed values are broken, |
2008 | * e.g. x201. | 2007 | * e.g. x201. |
@@ -3717,7 +3716,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc, | |||
3717 | temp |= PIPE_8BPC; | 3716 | temp |= PIPE_8BPC; |
3718 | else | 3717 | else |
3719 | temp |= PIPE_6BPC; | 3718 | temp |= PIPE_6BPC; |
3720 | } else if (has_edp_encoder || (is_dp && intel_pch_has_edp(crtc))) { | 3719 | } else if (has_edp_encoder) { |
3721 | switch (dev_priv->edp.bpp/3) { | 3720 | switch (dev_priv->edp.bpp/3) { |
3722 | case 8: | 3721 | case 8: |
3723 | temp |= PIPE_8BPC; | 3722 | temp |= PIPE_8BPC; |