mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 04:14:49 +08:00
drm/i915: Keep overlay functions naming consistent
All other overlay functions(almost all other functions in i915) follow intel_overlay_verb, so renaming overlay ones that do not match that. Cc: Jani Nikula <jani.nikula@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181108001647.11276-4-jose.souza@intel.com
This commit is contained in:
parent
a8147d0cd4
commit
58db08a73b
@ -694,7 +694,7 @@ static int i915_load_modeset_init(struct drm_device *dev)
|
||||
if (ret)
|
||||
goto cleanup_modeset;
|
||||
|
||||
intel_setup_overlay(dev_priv);
|
||||
intel_overlay_setup(dev_priv);
|
||||
|
||||
if (INTEL_INFO(dev_priv)->num_pipes == 0)
|
||||
return 0;
|
||||
|
@ -15826,7 +15826,7 @@ void intel_modeset_cleanup(struct drm_device *dev)
|
||||
|
||||
drm_mode_config_cleanup(dev);
|
||||
|
||||
intel_cleanup_overlay(dev_priv);
|
||||
intel_overlay_cleanup(dev_priv);
|
||||
|
||||
intel_teardown_gmbus(dev_priv);
|
||||
|
||||
|
@ -1962,8 +1962,8 @@ struct intel_encoder *intel_get_lvds_encoder(struct drm_device *dev);
|
||||
bool intel_is_dual_link_lvds(struct drm_device *dev);
|
||||
|
||||
/* intel_overlay.c */
|
||||
void intel_setup_overlay(struct drm_i915_private *dev_priv);
|
||||
void intel_cleanup_overlay(struct drm_i915_private *dev_priv);
|
||||
void intel_overlay_setup(struct drm_i915_private *dev_priv);
|
||||
void intel_overlay_cleanup(struct drm_i915_private *dev_priv);
|
||||
int intel_overlay_switch_off(struct intel_overlay *overlay);
|
||||
int intel_overlay_put_image_ioctl(struct drm_device *dev, void *data,
|
||||
struct drm_file *file_priv);
|
||||
|
@ -1338,7 +1338,7 @@ err_put_bo:
|
||||
return err;
|
||||
}
|
||||
|
||||
void intel_setup_overlay(struct drm_i915_private *dev_priv)
|
||||
void intel_overlay_setup(struct drm_i915_private *dev_priv)
|
||||
{
|
||||
struct intel_overlay *overlay;
|
||||
int ret;
|
||||
@ -1387,7 +1387,7 @@ out_free:
|
||||
kfree(overlay);
|
||||
}
|
||||
|
||||
void intel_cleanup_overlay(struct drm_i915_private *dev_priv)
|
||||
void intel_overlay_cleanup(struct drm_i915_private *dev_priv)
|
||||
{
|
||||
struct intel_overlay *overlay;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user