diff mbox

drm/i915: move the {skl, bxt}_{i, uni}nit_cdclk declarations

Message ID 1487712207-17181-1-git-send-email-paulo.r.zanoni@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Zanoni, Paulo R Feb. 21, 2017, 9:23 p.m. UTC
Move the {skl,bxt}_{i,uni}nit_cdclk declarations to the place where
the intel_cdclk.c functions are declared since these functions have
moved there.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
---
 drivers/gpu/drm/i915/intel_drv.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Dhinakaran Pandiyan March 2, 2017, 10:10 p.m. UTC | #1
Didn't spot anything wrong with this, 
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>


-DK


On Tue, 2017-02-21 at 18:23 -0300, Paulo Zanoni wrote:
> Move the {skl,bxt}_{i,uni}nit_cdclk declarations to the place where

> the intel_cdclk.c functions are declared since these functions have

> moved there.

> 

> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>

> ---

>  drivers/gpu/drm/i915/intel_drv.h | 8 ++++----

>  1 file changed, 4 insertions(+), 4 deletions(-)

> 

> diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h

> index 3e112fe..752d83b 100644

> --- a/drivers/gpu/drm/i915/intel_drv.h

> +++ b/drivers/gpu/drm/i915/intel_drv.h

> @@ -1252,6 +1252,10 @@ void intel_audio_init(struct drm_i915_private *dev_priv);

>  void intel_audio_deinit(struct drm_i915_private *dev_priv);

>  

>  /* intel_cdclk.c */

> +void skl_init_cdclk(struct drm_i915_private *dev_priv);

> +void skl_uninit_cdclk(struct drm_i915_private *dev_priv);

> +void bxt_init_cdclk(struct drm_i915_private *dev_priv);

> +void bxt_uninit_cdclk(struct drm_i915_private *dev_priv);

>  void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv);

>  void intel_update_max_cdclk(struct drm_i915_private *dev_priv);

>  void intel_update_cdclk(struct drm_i915_private *dev_priv);

> @@ -1398,14 +1402,10 @@ void intel_prepare_reset(struct drm_i915_private *dev_priv);

>  void intel_finish_reset(struct drm_i915_private *dev_priv);

>  void hsw_enable_pc8(struct drm_i915_private *dev_priv);

>  void hsw_disable_pc8(struct drm_i915_private *dev_priv);

> -void bxt_init_cdclk(struct drm_i915_private *dev_priv);

> -void bxt_uninit_cdclk(struct drm_i915_private *dev_priv);

>  void gen9_sanitize_dc_state(struct drm_i915_private *dev_priv);

>  void bxt_enable_dc9(struct drm_i915_private *dev_priv);

>  void bxt_disable_dc9(struct drm_i915_private *dev_priv);

>  void gen9_enable_dc5(struct drm_i915_private *dev_priv);

> -void skl_init_cdclk(struct drm_i915_private *dev_priv);

> -void skl_uninit_cdclk(struct drm_i915_private *dev_priv);

>  unsigned int skl_cdclk_get_vco(unsigned int freq);

>  void skl_enable_dc6(struct drm_i915_private *dev_priv);

>  void skl_disable_dc6(struct drm_i915_private *dev_priv);
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 3e112fe..752d83b 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -1252,6 +1252,10 @@  void intel_audio_init(struct drm_i915_private *dev_priv);
 void intel_audio_deinit(struct drm_i915_private *dev_priv);
 
 /* intel_cdclk.c */
+void skl_init_cdclk(struct drm_i915_private *dev_priv);
+void skl_uninit_cdclk(struct drm_i915_private *dev_priv);
+void bxt_init_cdclk(struct drm_i915_private *dev_priv);
+void bxt_uninit_cdclk(struct drm_i915_private *dev_priv);
 void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv);
 void intel_update_max_cdclk(struct drm_i915_private *dev_priv);
 void intel_update_cdclk(struct drm_i915_private *dev_priv);
@@ -1398,14 +1402,10 @@  void intel_prepare_reset(struct drm_i915_private *dev_priv);
 void intel_finish_reset(struct drm_i915_private *dev_priv);
 void hsw_enable_pc8(struct drm_i915_private *dev_priv);
 void hsw_disable_pc8(struct drm_i915_private *dev_priv);
-void bxt_init_cdclk(struct drm_i915_private *dev_priv);
-void bxt_uninit_cdclk(struct drm_i915_private *dev_priv);
 void gen9_sanitize_dc_state(struct drm_i915_private *dev_priv);
 void bxt_enable_dc9(struct drm_i915_private *dev_priv);
 void bxt_disable_dc9(struct drm_i915_private *dev_priv);
 void gen9_enable_dc5(struct drm_i915_private *dev_priv);
-void skl_init_cdclk(struct drm_i915_private *dev_priv);
-void skl_uninit_cdclk(struct drm_i915_private *dev_priv);
 unsigned int skl_cdclk_get_vco(unsigned int freq);
 void skl_enable_dc6(struct drm_i915_private *dev_priv);
 void skl_disable_dc6(struct drm_i915_private *dev_priv);