ret = intel_crtc_compute_config(to_intel_crtc(crtc), pipe_config);
        if (ret == -EDEADLK)
                return ret;
-       if (ret < 0) {
-               drm_dbg_kms(&i915->drm, "CRTC fixup failed\n");
-               return ret;
-       }
-
-       if (ret == I915_DISPLAY_CONFIG_RETRY) {
+       if (ret == -EAGAIN) {
                if (drm_WARN(&i915->drm, !retry,
                             "loop in pipe configuration computation\n"))
                        return -EINVAL;
                retry = false;
                goto encoder_retry;
        }
+       if (ret < 0) {
+               drm_dbg_kms(&i915->drm, "CRTC fixup failed\n");
+               return ret;
+       }
 
        /* Dithering seems to not pass-through bits correctly when it should, so
         * only enable it on 6bpc panels and when its not a compliance
 
 struct intel_crtc_state;
 struct intel_encoder;
 
-#define I915_DISPLAY_CONFIG_RETRY 1
 int intel_fdi_link_freq(struct drm_i915_private *i915,
                        const struct intel_crtc_state *pipe_config);
 int ilk_fdi_compute_config(struct intel_crtc *intel_crtc,