Commit 688a9bbc authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Rename intel_panel_vbt_fixed_mode()

Rename intel_panel_vbt_fixed_mode() to
intel_panel_vbt_lfp_fixed_mode() to be more descriptive.
We'll have another VBT fixed mode function soon and we
don't want to confuse the two.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220323182935.4701-6-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent f6d39f56
...@@ -2050,7 +2050,7 @@ void icl_dsi_init(struct drm_i915_private *dev_priv) ...@@ -2050,7 +2050,7 @@ void icl_dsi_init(struct drm_i915_private *dev_priv)
intel_connector_attach_encoder(intel_connector, encoder); intel_connector_attach_encoder(intel_connector, encoder);
mutex_lock(&dev->mode_config.mutex); mutex_lock(&dev->mode_config.mutex);
fixed_mode = intel_panel_vbt_fixed_mode(intel_connector); fixed_mode = intel_panel_vbt_lfp_fixed_mode(intel_connector);
mutex_unlock(&dev->mode_config.mutex); mutex_unlock(&dev->mode_config.mutex);
if (!fixed_mode) { if (!fixed_mode) {
......
...@@ -5048,7 +5048,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp, ...@@ -5048,7 +5048,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
/* fallback to VBT if available for eDP */ /* fallback to VBT if available for eDP */
if (!fixed_mode) if (!fixed_mode)
fixed_mode = intel_panel_vbt_fixed_mode(intel_connector); fixed_mode = intel_panel_vbt_lfp_fixed_mode(intel_connector);
mutex_unlock(&dev->mode_config.mutex); mutex_unlock(&dev->mode_config.mutex);
if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) { if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv)) {
......
...@@ -974,7 +974,7 @@ void intel_lvds_init(struct drm_i915_private *dev_priv) ...@@ -974,7 +974,7 @@ void intel_lvds_init(struct drm_i915_private *dev_priv)
goto out; goto out;
/* Failed to get EDID, what about VBT? */ /* Failed to get EDID, what about VBT? */
fixed_mode = intel_panel_vbt_fixed_mode(intel_connector); fixed_mode = intel_panel_vbt_lfp_fixed_mode(intel_connector);
if (fixed_mode) if (fixed_mode)
goto out; goto out;
......
...@@ -246,7 +246,7 @@ intel_panel_edid_fixed_mode(struct intel_connector *connector) ...@@ -246,7 +246,7 @@ intel_panel_edid_fixed_mode(struct intel_connector *connector)
} }
struct drm_display_mode * struct drm_display_mode *
intel_panel_vbt_fixed_mode(struct intel_connector *connector) intel_panel_vbt_lfp_fixed_mode(struct intel_connector *connector)
{ {
struct drm_i915_private *dev_priv = to_i915(connector->base.dev); struct drm_i915_private *dev_priv = to_i915(connector->base.dev);
struct drm_display_info *info = &connector->base.display_info; struct drm_display_info *info = &connector->base.display_info;
......
...@@ -47,6 +47,6 @@ intel_panel_edid_downclock_mode(struct intel_connector *connector, ...@@ -47,6 +47,6 @@ intel_panel_edid_downclock_mode(struct intel_connector *connector,
struct drm_display_mode * struct drm_display_mode *
intel_panel_edid_fixed_mode(struct intel_connector *connector); intel_panel_edid_fixed_mode(struct intel_connector *connector);
struct drm_display_mode * struct drm_display_mode *
intel_panel_vbt_fixed_mode(struct intel_connector *connector); intel_panel_vbt_lfp_fixed_mode(struct intel_connector *connector);
#endif /* __INTEL_PANEL_H__ */ #endif /* __INTEL_PANEL_H__ */
...@@ -1980,7 +1980,7 @@ void vlv_dsi_init(struct drm_i915_private *dev_priv) ...@@ -1980,7 +1980,7 @@ void vlv_dsi_init(struct drm_i915_private *dev_priv)
intel_connector_attach_encoder(intel_connector, intel_encoder); intel_connector_attach_encoder(intel_connector, intel_encoder);
mutex_lock(&dev->mode_config.mutex); mutex_lock(&dev->mode_config.mutex);
fixed_mode = intel_panel_vbt_fixed_mode(intel_connector); fixed_mode = intel_panel_vbt_lfp_fixed_mode(intel_connector);
mutex_unlock(&dev->mode_config.mutex); mutex_unlock(&dev->mode_config.mutex);
if (!fixed_mode) { if (!fixed_mode) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment