mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
drm/amdgpu/gmc: make some functions static
These are not used outside of the respective gmc ip modules. Reviewed-by: Chunming Zhou <david1.zhou@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
5a712a8727
commit
ccd73f24ae
4 changed files with 8 additions and 16 deletions
|
@ -97,8 +97,8 @@ int gmc_v7_0_mc_wait_for_idle(struct amdgpu_device *adev)
|
|||
return -1;
|
||||
}
|
||||
|
||||
void gmc_v7_0_mc_stop(struct amdgpu_device *adev,
|
||||
struct amdgpu_mode_mc_save *save)
|
||||
static void gmc_v7_0_mc_stop(struct amdgpu_device *adev,
|
||||
struct amdgpu_mode_mc_save *save)
|
||||
{
|
||||
u32 blackout;
|
||||
|
||||
|
@ -120,8 +120,8 @@ void gmc_v7_0_mc_stop(struct amdgpu_device *adev,
|
|||
udelay(100);
|
||||
}
|
||||
|
||||
void gmc_v7_0_mc_resume(struct amdgpu_device *adev,
|
||||
struct amdgpu_mode_mc_save *save)
|
||||
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,8 +176,8 @@ int gmc_v8_0_mc_wait_for_idle(struct amdgpu_device *adev)
|
|||
return -1;
|
||||
}
|
||||
|
||||
void gmc_v8_0_mc_stop(struct amdgpu_device *adev,
|
||||
struct amdgpu_mode_mc_save *save)
|
||||
static void gmc_v8_0_mc_stop(struct amdgpu_device *adev,
|
||||
struct amdgpu_mode_mc_save *save)
|
||||
{
|
||||
u32 blackout;
|
||||
|
||||
|
@ -199,8 +199,8 @@ void gmc_v8_0_mc_stop(struct amdgpu_device *adev,
|
|||
udelay(100);
|
||||
}
|
||||
|
||||
void gmc_v8_0_mc_resume(struct amdgpu_device *adev,
|
||||
struct amdgpu_mode_mc_save *save)
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue