All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdkfd: remove duplicate include of kfd_svm.h
@ 2021-06-05  2:54 ` Wan Jiabing
  0 siblings, 0 replies; 4+ messages in thread
From: Wan Jiabing @ 2021-06-05  2:54 UTC (permalink / raw)
  To: Felix Kuehling, Alex Deucher, Christian König, Pan, Xinhui,
	David Airlie, Daniel Vetter, amd-gfx, dri-devel, linux-kernel
  Cc: Wan Jiabing

kfd_svm.h is included duplicately in commit 42de677f79999
("drm/amdkfd: register svm range"). 

After checking possible related header files,
remove the former one to make the code format more reasonable.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
index bfa6c4cd2f44..f1f40bba5c60 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_process.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
@@ -35,7 +35,6 @@
 #include <linux/pm_runtime.h>
 #include "amdgpu_amdkfd.h"
 #include "amdgpu.h"
-#include "kfd_svm.h"
 
 struct mm_struct;
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] drm/amdkfd: remove duplicate include of kfd_svm.h
@ 2021-06-05  2:54 ` Wan Jiabing
  0 siblings, 0 replies; 4+ messages in thread
From: Wan Jiabing @ 2021-06-05  2:54 UTC (permalink / raw)
  To: Felix Kuehling, Alex Deucher, Christian König, Pan, Xinhui,
	David Airlie, Daniel Vetter, amd-gfx, dri-devel, linux-kernel
  Cc: Wan Jiabing

kfd_svm.h is included duplicately in commit 42de677f79999
("drm/amdkfd: register svm range"). 

After checking possible related header files,
remove the former one to make the code format more reasonable.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
index bfa6c4cd2f44..f1f40bba5c60 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_process.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
@@ -35,7 +35,6 @@
 #include <linux/pm_runtime.h>
 #include "amdgpu_amdkfd.h"
 #include "amdgpu.h"
-#include "kfd_svm.h"
 
 struct mm_struct;
 
-- 
2.20.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/amdkfd: remove duplicate include of kfd_svm.h
  2021-06-05  2:54 ` Wan Jiabing
@ 2021-06-07 13:19   ` Felix Kuehling
  -1 siblings, 0 replies; 4+ messages in thread
From: Felix Kuehling @ 2021-06-07 13:19 UTC (permalink / raw)
  To: Wan Jiabing, Alex Deucher, Christian König, Pan, Xinhui,
	David Airlie, Daniel Vetter, amd-gfx, dri-devel, linux-kernel

Am 2021-06-04 um 10:54 p.m. schrieb Wan Jiabing:
> kfd_svm.h is included duplicately in commit 42de677f79999
> ("drm/amdkfd: register svm range"). 
>
> After checking possible related header files,
> remove the former one to make the code format more reasonable.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>

I will apply the patch to amd-staging-drm-next. Thanks.

> ---
>  drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
> index bfa6c4cd2f44..f1f40bba5c60 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_process.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
> @@ -35,7 +35,6 @@
>  #include <linux/pm_runtime.h>
>  #include "amdgpu_amdkfd.h"
>  #include "amdgpu.h"
> -#include "kfd_svm.h"
>  
>  struct mm_struct;
>  

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/amdkfd: remove duplicate include of kfd_svm.h
@ 2021-06-07 13:19   ` Felix Kuehling
  0 siblings, 0 replies; 4+ messages in thread
From: Felix Kuehling @ 2021-06-07 13:19 UTC (permalink / raw)
  To: Wan Jiabing, Alex Deucher, Christian König, Pan, Xinhui,
	David Airlie, Daniel Vetter, amd-gfx, dri-devel, linux-kernel

Am 2021-06-04 um 10:54 p.m. schrieb Wan Jiabing:
> kfd_svm.h is included duplicately in commit 42de677f79999
> ("drm/amdkfd: register svm range"). 
>
> After checking possible related header files,
> remove the former one to make the code format more reasonable.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>

I will apply the patch to amd-staging-drm-next. Thanks.

> ---
>  drivers/gpu/drm/amd/amdkfd/kfd_process.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_process.c b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
> index bfa6c4cd2f44..f1f40bba5c60 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_process.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
> @@ -35,7 +35,6 @@
>  #include <linux/pm_runtime.h>
>  #include "amdgpu_amdkfd.h"
>  #include "amdgpu.h"
> -#include "kfd_svm.h"
>  
>  struct mm_struct;
>  
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-07 13:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05  2:54 [PATCH] drm/amdkfd: remove duplicate include of kfd_svm.h Wan Jiabing
2021-06-05  2:54 ` Wan Jiabing
2021-06-07 13:19 ` Felix Kuehling
2021-06-07 13:19   ` Felix Kuehling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.