summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>2021-03-09 10:09:14 +0530
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-03-18 16:37:03 +0200
commitb34c0f8fff40bdb6c856222aa9076a05d649fa62 (patch)
tree46c5dd9c8e1deaac4a5a77f54bfb00e387143625 /drivers
parentc0a950d182c47dfd798de3cb00562785ca293a9a (diff)
downloadlinux-stable-b34c0f8fff40bdb6c856222aa9076a05d649fa62.tar.gz
linux-stable-b34c0f8fff40bdb6c856222aa9076a05d649fa62.tar.bz2
linux-stable-b34c0f8fff40bdb6c856222aa9076a05d649fa62.zip
drm/i915/display: Remove FRL related code from disable DP sequence for older platforms
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/display/intel_dp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index b6b5776f5a66..d46cd205241c 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -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,