From: Eugeni Dodonov Date: Wed, 9 May 2012 18:37:14 +0000 (-0300) Subject: drm/i915: do not use fdi_normal_train on Haswell X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f57e1e3a67503927824839996a6efce269281afa;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm/i915: do not use fdi_normal_train on Haswell This should be already configured when FDI auto-negotiation is done. Reviewed-by: Rodrigo Vivi Reviewed-by: Jesse Barnes Signed-off-by: Eugeni Dodonov Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 6b93d4a697ed..cc910e69f709 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -2679,7 +2679,8 @@ static void ironlake_pch_enable(struct drm_crtc *crtc) I915_WRITE(TRANS_VSYNC(pipe), I915_READ(VSYNC(pipe))); I915_WRITE(TRANS_VSYNCSHIFT(pipe), I915_READ(VSYNCSHIFT(pipe))); - intel_fdi_normal_train(crtc); + if (!IS_HASWELL(dev)) + intel_fdi_normal_train(crtc); /* For PCH DP, enable TRANS_DP_CTL */ if (HAS_PCH_CPT(dev) &&