drm/i915/pfit: rename intel_panel_fitting() to intel_pfit_compute_config()

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
This commit is contained in:
Jani Nikula
2025-02-26 12:01:07 +02:00
parent 9efa033704
commit e6b6de1678
7 changed files with 9 additions and 9 deletions

View 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;

View 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;
}

View 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;
}

View 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;

View File

@@ -542,8 +542,8 @@ static int gmch_panel_fitting(struct intel_crtc_state *crtc_state,
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);

View 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__ */

View 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;