Skip to content

Commit

Permalink
drm/i915/display: Remove FRL related code from disable DP sequence fo…
Browse files Browse the repository at this point in the history
…r 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 <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
aknautiyal authored and vsyrjala committed Mar 18, 2021
1 parent c0a950d commit b34c0f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/i915/display/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b34c0f8

Please sign in to comment.