提交 ccd73f24 编写于 作者: A Alex Deucher

drm/amdgpu/gmc: make some functions static

These are not used outside of the respective gmc ip modules.
Reviewed-by: NChunming Zhou <david1.zhou@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 5a712a87
......@@ -97,7 +97,7 @@ int gmc_v7_0_mc_wait_for_idle(struct amdgpu_device *adev)
return -1;
}
void gmc_v7_0_mc_stop(struct amdgpu_device *adev,
static void gmc_v7_0_mc_stop(struct amdgpu_device *adev,
struct amdgpu_mode_mc_save *save)
{
u32 blackout;
......@@ -120,7 +120,7 @@ void gmc_v7_0_mc_stop(struct amdgpu_device *adev,
udelay(100);
}
void gmc_v7_0_mc_resume(struct amdgpu_device *adev,
static void gmc_v7_0_mc_resume(struct amdgpu_device *adev,
struct amdgpu_mode_mc_save *save)
{
u32 tmp;
......
......@@ -27,10 +27,6 @@
extern const struct amd_ip_funcs gmc_v7_0_ip_funcs;
/* XXX these shouldn't be exported */
void gmc_v7_0_mc_stop(struct amdgpu_device *adev,
struct amdgpu_mode_mc_save *save);
void gmc_v7_0_mc_resume(struct amdgpu_device *adev,
struct amdgpu_mode_mc_save *save);
int gmc_v7_0_mc_wait_for_idle(struct amdgpu_device *adev);
#endif
......@@ -176,7 +176,7 @@ int gmc_v8_0_mc_wait_for_idle(struct amdgpu_device *adev)
return -1;
}
void gmc_v8_0_mc_stop(struct amdgpu_device *adev,
static void gmc_v8_0_mc_stop(struct amdgpu_device *adev,
struct amdgpu_mode_mc_save *save)
{
u32 blackout;
......@@ -199,7 +199,7 @@ void gmc_v8_0_mc_stop(struct amdgpu_device *adev,
udelay(100);
}
void gmc_v8_0_mc_resume(struct amdgpu_device *adev,
static void gmc_v8_0_mc_resume(struct amdgpu_device *adev,
struct amdgpu_mode_mc_save *save)
{
u32 tmp;
......
......@@ -27,10 +27,6 @@
extern const struct amd_ip_funcs gmc_v8_0_ip_funcs;
/* XXX these shouldn't be exported */
void gmc_v8_0_mc_stop(struct amdgpu_device *adev,
struct amdgpu_mode_mc_save *save);
void gmc_v8_0_mc_resume(struct amdgpu_device *adev,
struct amdgpu_mode_mc_save *save);
int gmc_v8_0_mc_wait_for_idle(struct amdgpu_device *adev);
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册