diff mbox series

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

Message ID 20180822023101.GA81863@lkp-wsx02 (mailing list archive)
State New, archived
Headers show
Series [RFC,radeon-alex] drm/amdgpu: amdgpu_kiq_reg_write_reg_wait() can be static | expand

Commit Message

Fengguang Wu Aug. 22, 2018, 2:31 a.m. UTC
Fixes: d790449835e6 ("drm/amdgpu: use kiq to do invalidate tlb")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 gmc_v9_0.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Emily Deng Aug. 22, 2018, 2:38 a.m. UTC | #1
Reviewed-by: Emily Deng <Emily.Deng@amd.com>

>-----Original Message-----
>From: kbuild test robot <fengguang.wu@intel.com>
>Sent: Wednesday, August 22, 2018 10:31 AM
>To: Deng, Emily <Emily.Deng@amd.com>
>Cc: kbuild-all@01.org; dri-devel@lists.freedesktop.org; Deucher, Alexander
><Alexander.Deucher@amd.com>; Koenig, Christian
><Christian.Koenig@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@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)
> {
Alex Deucher Aug. 22, 2018, 9:52 p.m. UTC | #2
On Tue, Aug 21, 2018 at 10:38 PM Deng, Emily <Emily.Deng@amd.com> wrote:
>
> Reviewed-by: Emily Deng <Emily.Deng@amd.com>

Applied.  thanks!

Alex

>
> >-----Original Message-----
> >From: kbuild test robot <fengguang.wu@intel.com>
> >Sent: Wednesday, August 22, 2018 10:31 AM
> >To: Deng, Emily <Emily.Deng@amd.com>
> >Cc: kbuild-all@01.org; dri-devel@lists.freedesktop.org; Deucher, Alexander
> ><Alexander.Deucher@amd.com>; Koenig, Christian
> ><Christian.Koenig@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@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)
> > {
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox series

Patch

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)
 {