소스 검색

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>
Alex Deucher 9 년 전
부모
커밋
4d54588e94
2개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
  2. 0 3
      drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h

+ 1 - 1
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)
  *
  * Halt the RLC ME (MicroEngine) (CIK).
  */
-void gfx_v7_0_rlc_stop(struct amdgpu_device *adev)
+static void gfx_v7_0_rlc_stop(struct amdgpu_device *adev)
 {
 	WREG32(mmRLC_CNTL, 0);
 

+ 0 - 3
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h

@@ -26,7 +26,4 @@
 
 extern const struct amd_ip_funcs gfx_v7_0_ip_funcs;
 
-/* XXX these shouldn't be exported */
-void gfx_v7_0_rlc_stop(struct amdgpu_device *adev);
-
 #endif