]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/i915/pfit: rename intel_panel_fitting() to intel_pfit_compute_config()
authorJani Nikula <jani.nikula@intel.com>
Wed, 26 Feb 2025 10:01:07 +0000 (12:01 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 27 Feb 2025 18:48:45 +0000 (20:48 +0200)
Unify naming wrt both the prefix and suffix.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/33bb513e186c8838acde37f87aee732b63bd5702.1740564009.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_hdmi.c
drivers/gpu/drm/i915/display/intel_lvds.c
drivers/gpu/drm/i915/display/intel_pfit.c
drivers/gpu/drm/i915/display/intel_pfit.h
drivers/gpu/drm/i915/display/vlv_dsi.c

index c1b5be0f5603234c57d398c8bc40cccc7ea4be5d..910336366e5f10ae616b9d3f761c6b507cbd5d6c 100644 (file)
@@ -1647,7 +1647,7 @@ static int gen11_dsi_compute_config(struct intel_encoder *encoder,
        if (ret)
                return ret;
 
-       ret = intel_panel_fitting(pipe_config, conn_state);
+       ret = intel_pfit_compute_config(pipe_config, conn_state);
        if (ret)
                return ret;
 
index f61d716bad00a0663d12fba516f8eb5837b9e3cf..ab9f62a8fac83f15c1cf2354931199f345f6dad9 100644 (file)
@@ -3130,7 +3130,7 @@ intel_dp_compute_config(struct intel_encoder *encoder,
 
        if ((intel_dp_is_edp(intel_dp) && fixed_mode) ||
            pipe_config->output_format == INTEL_OUTPUT_FORMAT_YCBCR420) {
-               ret = intel_panel_fitting(pipe_config, conn_state);
+               ret = intel_pfit_compute_config(pipe_config, conn_state);
                if (ret)
                        return ret;
        }
index 7ffc76a2ec1edd37f2a8041cd16786d4256e5277..4e3ce8f5914159106edc00a0719d19f445b2be8e 100644 (file)
@@ -2360,7 +2360,7 @@ int intel_hdmi_compute_config(struct intel_encoder *encoder,
        }
 
        if (intel_hdmi_is_ycbcr420(pipe_config)) {
-               ret = intel_panel_fitting(pipe_config, conn_state);
+               ret = intel_pfit_compute_config(pipe_config, conn_state);
                if (ret)
                        return ret;
        }
index 12bbd7ec9d81f6678ce9dee2a892dc9a58ed31fe..ea144f7e7829675370ff7dd5e514b9171a5e210a 100644 (file)
@@ -468,7 +468,7 @@ static int intel_lvds_compute_config(struct intel_encoder *encoder,
        if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN)
                return -EINVAL;
 
-       ret = intel_panel_fitting(crtc_state, conn_state);
+       ret = intel_pfit_compute_config(crtc_state, conn_state);
        if (ret)
                return ret;
 
index 4ee03d9d14ad7de79648324f1211f8d8cd1fcb0c..386ab57b9f8d82a91cdaf80cd0e95ebd399aa8f3 100644 (file)
@@ -542,8 +542,8 @@ out:
        return intel_gmch_pfit_check_timings(crtc_state);
 }
 
-int intel_panel_fitting(struct intel_crtc_state *crtc_state,
-                       const struct drm_connector_state *conn_state)
+int intel_pfit_compute_config(struct intel_crtc_state *crtc_state,
+                             const struct drm_connector_state *conn_state)
 {
        struct intel_display *display = to_intel_display(crtc_state);
 
index add8d78de2c93293896f6acaaa60e46e3dfad818..e7acaa61e1ac68cae0c3748f8be627a263381c8e 100644 (file)
@@ -9,7 +9,7 @@
 struct drm_connector_state;
 struct intel_crtc_state;
 
-int intel_panel_fitting(struct intel_crtc_state *crtc_state,
-                       const struct drm_connector_state *conn_state);
+int intel_pfit_compute_config(struct intel_crtc_state *crtc_state,
+                             const struct drm_connector_state *conn_state);
 
 #endif /* __INTEL_PFIT_H__ */
index 03ba63c0032b4a2a7811a63065c5c05640be7d35..a19d46c9f265ea93c99581ed0a6d4312ae9770c2 100644 (file)
@@ -283,7 +283,7 @@ static int intel_dsi_compute_config(struct intel_encoder *encoder,
        if (ret)
                return ret;
 
-       ret = intel_panel_fitting(pipe_config, conn_state);
+       ret = intel_pfit_compute_config(pipe_config, conn_state);
        if (ret)
                return ret;