From: kbuild test robot Date: Thu, 22 Jun 2017 20:28:47 +0000 (+0800) Subject: drm/amdgpu/gfx9: gfx_v9_0_enable_gfx_static_mg_power_gating() can be static X-Git-Tag: v4.14-rc1~484^2~5^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=552c8f76afe7d24c1c1415ec951dea56d553d59c;p=platform%2Fkernel%2Flinux-rpi.git drm/amdgpu/gfx9: gfx_v9_0_enable_gfx_static_mg_power_gating() can be static Signed-off-by: Fengguang Wu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index ba228f6..209bf01 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -1964,8 +1964,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; @@ -1978,7 +1978,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;