drm/i915/dp: No need to poll FEC Enable Live bit
authorManasi Navare <manasi.d.navare@intel.com>
Wed, 25 Nov 2020 07:26:34 +0000 (23:26 -0800)
committerManasi Navare <manasi.d.navare@intel.com>
Tue, 8 Dec 2020 01:33:50 +0000 (17:33 -0800)
The Bspec does not mention polling the FEC Enable
Live status bit. That is only there for debug purposes.
So remove the polling from driver.

Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201125072634.27664-1-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c

index 5193473c838c2a5984a511ef7bc34d1db6e84bd6..6863236df1d0de54f38e521a7ad8c1a3efe131de 100644 (file)
@@ -3512,12 +3512,6 @@ static void intel_ddi_enable_fec(struct intel_encoder *encoder,
        val = intel_de_read(dev_priv, dp_tp_ctl_reg(encoder, crtc_state));
        val |= DP_TP_CTL_FEC_ENABLE;
        intel_de_write(dev_priv, dp_tp_ctl_reg(encoder, crtc_state), val);
-
-       if (intel_de_wait_for_set(dev_priv,
-                                 dp_tp_status_reg(encoder, crtc_state),
-                                 DP_TP_STATUS_FEC_ENABLE_LIVE, 1))
-               drm_err(&dev_priv->drm,
-                       "Timed out waiting for FEC Enable Status\n");
 }
 
 static void intel_ddi_disable_fec_state(struct intel_encoder *encoder,