aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2016-06-21 12:19:43 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 15:01:58 -0400
commit4d54588e94e3a8064cda2917840ffa345f19eec0 (patch)
tree0c3ffca29261b9e09b4eaae66efd4ed3f68e5ea9
parent06120a1e0fc5b0cfed12612cf85b02ae7c03ce4b (diff)
drm/amdgpu/gfx7: make gfx_v7_0_rlc_stop static
Not used outside of gfx7. Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c2
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index ba78992d420a..1f06dd9dee29 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
@@ -3473,7 +3473,7 @@ static void gfx_v7_0_exit_rlc_safe_mode(struct amdgpu_device *adev)
3473 * 3473 *
3474 * Halt the RLC ME (MicroEngine) (CIK). 3474 * Halt the RLC ME (MicroEngine) (CIK).
3475 */ 3475 */
3476void gfx_v7_0_rlc_stop(struct amdgpu_device *adev) 3476static void gfx_v7_0_rlc_stop(struct amdgpu_device *adev)
3477{ 3477{
3478 WREG32(mmRLC_CNTL, 0); 3478 WREG32(mmRLC_CNTL, 0);
3479 3479
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h
index 1fbb00a9f5f3..94e3ea147c26 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h
@@ -26,7 +26,4 @@
26 26
27extern const struct amd_ip_funcs gfx_v7_0_ip_funcs; 27extern const struct amd_ip_funcs gfx_v7_0_ip_funcs;
28 28
29/* XXX these shouldn't be exported */
30void gfx_v7_0_rlc_stop(struct amdgpu_device *adev);
31
32#endif 29#endif