diff mbox

[RFC,linux-next] drm/amdgpu/gfx9: gfx_v9_0_enable_gfx_static_mg_power_gating() can be static

Message ID 20170622202847.GA25945@lkp-sbx04 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu June 22, 2017, 8:28 p.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 gfx_v9_0.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Alex Deucher June 22, 2017, 8:39 p.m. UTC | #1
On Thu, Jun 22, 2017 at 4:28 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:
>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied.  thanks!

> ---
>  gfx_v9_0.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index a1e1b7aa..f2ae6f3 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1992,8 +1992,8 @@ static void gfx_v9_0_enable_gfx_pipeline_powergating(struct amdgpu_device *adev,
>                 data = RREG32(SOC15_REG_OFFSET(GC, 0, mmDB_RENDER_CONTROL));
>  }
>
> -void gfx_v9_0_enable_gfx_static_mg_power_gating(struct amdgpu_device *adev,
> -                                               bool enable)
> +static void gfx_v9_0_enable_gfx_static_mg_power_gating(struct amdgpu_device *adev,
> +                                                      bool enable)
>  {
>         uint32_t data, default_data;
>
> @@ -2006,7 +2006,7 @@ void gfx_v9_0_enable_gfx_static_mg_power_gating(struct amdgpu_device *adev,
>                 WREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_PG_CNTL), data);
>  }
>
> -void gfx_v9_0_enable_gfx_dynamic_mg_power_gating(struct amdgpu_device *adev,
> +static void gfx_v9_0_enable_gfx_dynamic_mg_power_gating(struct amdgpu_device *adev,
>                                                 bool enable)
>  {
>         uint32_t data, default_data;
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index a1e1b7aa..f2ae6f3 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -1992,8 +1992,8 @@  static void gfx_v9_0_enable_gfx_pipeline_powergating(struct amdgpu_device *adev,
 		data = RREG32(SOC15_REG_OFFSET(GC, 0, mmDB_RENDER_CONTROL));
 }
 
-void gfx_v9_0_enable_gfx_static_mg_power_gating(struct amdgpu_device *adev,
-						bool enable)
+static void gfx_v9_0_enable_gfx_static_mg_power_gating(struct amdgpu_device *adev,
+						       bool enable)
 {
 	uint32_t data, default_data;
 
@@ -2006,7 +2006,7 @@  void gfx_v9_0_enable_gfx_static_mg_power_gating(struct amdgpu_device *adev,
 		WREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_PG_CNTL), data);
 }
 
-void gfx_v9_0_enable_gfx_dynamic_mg_power_gating(struct amdgpu_device *adev,
+static void gfx_v9_0_enable_gfx_dynamic_mg_power_gating(struct amdgpu_device *adev,
 						bool enable)
 {
 	uint32_t data, default_data;