[Intel-gfx] [PATCH 5/6] drm/i915: Rename intel_ddi_enable_pipe_func() to transcoder_func()
Paulo Zanoni
przanoni at gmail.com
Fri Mar 22 22:37:02 CET 2013
Hi
2013/3/7 Damien Lespiau <damien.lespiau at intel.com>:
> We are really talking about the transcoder function here and the disable
> version uses trancoder in its name already, so let's try to be
> consistent.
>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
> ---
> drivers/gpu/drm/i915/intel_ddi.c | 2 +-
> drivers/gpu/drm/i915/intel_display.c | 2 +-
> drivers/gpu/drm/i915/intel_drv.h | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
> index 0eab200..9c556ff 100644
> --- a/drivers/gpu/drm/i915/intel_ddi.c
> +++ b/drivers/gpu/drm/i915/intel_ddi.c
> @@ -953,7 +953,7 @@ void intel_ddi_set_pipe_settings(struct drm_crtc *crtc)
> }
> }
>
> -void intel_ddi_enable_pipe_func(struct drm_crtc *crtc)
> +void intel_ddi_enable_transcoder_func(struct drm_crtc *crtc)
> {
> struct intel_crtc *intel_crtc = to_intel_crtc(crtc);
> struct intel_encoder *intel_encoder = intel_ddi_get_crtc_encoder(crtc);
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 875baf1..2f4f50f 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -3443,7 +3443,7 @@ static void haswell_crtc_enable(struct drm_crtc *crtc)
> intel_crtc_load_lut(crtc);
>
> intel_ddi_set_pipe_settings(crtc);
> - intel_ddi_enable_pipe_func(crtc);
> + intel_ddi_enable_transcoder_func(crtc);
>
> intel_enable_pipe(dev_priv, pipe, is_pch_port);
> intel_enable_plane(dev_priv, plane, pipe);
> diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
> index 010e998..8b12cbb 100644
> --- a/drivers/gpu/drm/i915/intel_drv.h
> +++ b/drivers/gpu/drm/i915/intel_drv.h
> @@ -682,7 +682,7 @@ extern bool intel_ddi_get_hw_state(struct intel_encoder *encoder,
> enum pipe *pipe);
> extern int intel_ddi_get_cdclk_freq(struct drm_i915_private *dev_priv);
> extern void intel_ddi_pll_init(struct drm_device *dev);
> -extern void intel_ddi_enable_pipe_func(struct drm_crtc *crtc);
> +extern void intel_ddi_enable_transcoder_func(struct drm_crtc *crtc);
> extern void intel_ddi_disable_transcoder_func(struct drm_i915_private *dev_priv,
> enum transcoder cpu_transcoder);
> extern void intel_ddi_enable_pipe_clock(struct intel_crtc *intel_crtc);
> --
> 1.7.7.5
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Paulo Zanoni
More information about the Intel-gfx
mailing list