[RFC PATCH radeon-alex] drm/amdgpu: amdgpu_kiq_reg_write_reg_wait() can be static

Deng, Emily Emily.Deng at amd.com
Wed Aug 22 02:38:12 UTC 2018


Reviewed-by: Emily Deng <Emily.Deng at amd.com>

>-----Original Message-----
>From: kbuild test robot <fengguang.wu at intel.com>
>Sent: Wednesday, August 22, 2018 10:31 AM
>To: Deng, Emily <Emily.Deng at amd.com>
>Cc: kbuild-all at 01.org; dri-devel at lists.freedesktop.org; Deucher, Alexander
><Alexander.Deucher at amd.com>; Koenig, Christian
><Christian.Koenig at amd.com>
>Subject: [RFC PATCH radeon-alex] drm/amdgpu:
>amdgpu_kiq_reg_write_reg_wait() can be static
>
>
>Fixes: d790449835e6 ("drm/amdgpu: use kiq to do invalidate tlb")
>Signed-off-by: kbuild test robot <fengguang.wu at intel.com>
>---
> gmc_v9_0.c |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
>b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
>index 0bf8439..4dd5769 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)
> {


More information about the dri-devel mailing list