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-Tag: v3.5~352^2~25^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f57e1e3a67503927824839996a6efce269281afa;p=platform%2Fkernel%2Flinux-amlogic.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 6b93d4a..cc910e6 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) &&