drm/i915/display: Remove FRL related code from disable DP sequence for older platforms
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 9 Mar 2021 04:39:14 +0000 (10:09 +0530)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 Mar 2021 14:37:03 +0000 (16:37 +0200)
Remove code for resetting frl related members from intel_disable_dp, as
this is not applicable for older platforms.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210309043915.1921-3-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c

index b6b5776f5a66896733dd558df8732c90791bc6d3..d46cd205241c9cc58d769ff190f3668e66129eb9 100644 (file)
@@ -2419,8 +2419,6 @@ static void intel_disable_dp(struct intel_atomic_state *state,
        intel_edp_backlight_off(old_conn_state);
        intel_dp_set_power(intel_dp, DP_SET_POWER_D3);
        intel_pps_off(intel_dp);
-       intel_dp->frl.is_trained = false;
-       intel_dp->frl.trained_rate_gbps = 0;
 }
 
 static void g4x_disable_dp(struct intel_atomic_state *state,