aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-08-22 10:31:01 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-08-27 11:11:16 -0500
commit1849e73748be3c80bf752e4c4877fe90a8da4822 (patch)
treed02809bb7993e6dcaa8b3eaf0ba013a0b30ae460 /drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
parentdrm/amdgpu/display: add support for LVDS (v5) (diff)
downloadlinux-dev-1849e73748be3c80bf752e4c4877fe90a8da4822.tar.xz
linux-dev-1849e73748be3c80bf752e4c4877fe90a8da4822.zip
drm/amdgpu: amdgpu_kiq_reg_write_reg_wait() can be static
Fixes: d790449835e6 ("drm/amdgpu: use kiq to do invalidate tlb") Reviewed-by: Emily Deng <Emily.Deng@amd.com> Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index 6763570c0321..57db52388a8b 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -311,7 +311,7 @@ static uint32_t gmc_v9_0_get_invalidate_req(unsigned int vmid)
return req;
}
-signed long amdgpu_kiq_reg_write_reg_wait(struct amdgpu_device *adev,
+static signed long amdgpu_kiq_reg_write_reg_wait(struct amdgpu_device *adev,
uint32_t reg0, uint32_t reg1,
uint32_t ref, uint32_t mask)
{