drm/i915/pps: rename vlv_init_panel_power_sequencer to vlv_pps_init
authorJani Nikula <jani.nikula@intel.com>
Fri, 8 Jan 2021 17:44:20 +0000 (19:44 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 14 Jan 2021 08:24:50 +0000 (10:24 +0200)
This function is a bit of an outlier, but try to change to a name that
is more in line with the rest of the intel_pps functions. No functional
changes.

Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/644b89c1d88d4d2cd7a9426ec7d7ea14eb65a8bc.1610127741.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_pps.c
drivers/gpu/drm/i915/display/intel_pps.h

index 372be0d13a20737d06023ab5ed0966160546bb02..ec94ebdaf7b86589a2589b0dba1275984e66047f 100644 (file)
@@ -3573,7 +3573,7 @@ static void intel_enable_dp(struct intel_atomic_state *state,
 
        with_intel_pps_lock(intel_dp, wakeref) {
                if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv))
-                       vlv_init_panel_power_sequencer(encoder, pipe_config);
+                       vlv_pps_init(encoder, pipe_config);
 
                intel_dp_enable_port(intel_dp, pipe_config);
 
index 79276ab20c75a09bb28ebef6208dbfcb319bcc91..8925df55e22ef2e43511062bebf2e52aba86337b 100644 (file)
@@ -1005,8 +1005,8 @@ static void vlv_steal_power_sequencer(struct drm_i915_private *dev_priv,
        }
 }
 
-void vlv_init_panel_power_sequencer(struct intel_encoder *encoder,
-                                   const struct intel_crtc_state *crtc_state)
+void vlv_pps_init(struct intel_encoder *encoder,
+                 const struct intel_crtc_state *crtc_state)
 {
        struct drm_i915_private *dev_priv = to_i915(encoder->base.dev);
        struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
index fdf7a17e2dfa0b17f714c49117f64ba853542602..22045c5cdc864ea1a3de5e66d88b23d332cadf1e 100644 (file)
@@ -43,7 +43,7 @@ void intel_pps_init(struct intel_dp *intel_dp);
 void intel_pps_encoder_reset(struct intel_dp *intel_dp);
 void intel_pps_reset_all(struct drm_i915_private *i915);
 
-void vlv_init_panel_power_sequencer(struct intel_encoder *encoder,
-                                   const struct intel_crtc_state *crtc_state);
+void vlv_pps_init(struct intel_encoder *encoder,
+                 const struct intel_crtc_state *crtc_state);
 
 #endif /* __INTEL_PPS_H__ */