2018-11-23 19:36:16

by Brajeswar Ghosh

[permalink] [raw]
Subject: [PATCH] drm/amd/amdkfd: Remove duplicate header

Remove gca/gfx_8_0_enum.h which is included more than once

Signed-off-by: Brajeswar Ghosh <[email protected]>
---
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
index fd60a116be37..c3a5dcfe877a 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
@@ -24,7 +24,6 @@
#include "kfd_device_queue_manager.h"
#include "gca/gfx_8_0_enum.h"
#include "gca/gfx_8_0_sh_mask.h"
-#include "gca/gfx_8_0_enum.h"
#include "oss/oss_3_0_sh_mask.h"

static bool set_cache_memory_policy_vi(struct device_queue_manager *dqm,
--
2.17.1



2018-11-26 20:35:14

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/amdkfd: Remove duplicate header

On Fri, Nov 23, 2018 at 2:41 AM Brajeswar Ghosh
<[email protected]> wrote:
>
> Remove gca/gfx_8_0_enum.h which is included more than once
>
> Signed-off-by: Brajeswar Ghosh <[email protected]>

Applied. thanks!

Alex

> ---
> drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
> index fd60a116be37..c3a5dcfe877a 100644
> --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
> +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
> @@ -24,7 +24,6 @@
> #include "kfd_device_queue_manager.h"
> #include "gca/gfx_8_0_enum.h"
> #include "gca/gfx_8_0_sh_mask.h"
> -#include "gca/gfx_8_0_enum.h"
> #include "oss/oss_3_0_sh_mask.h"
>
> static bool set_cache_memory_policy_vi(struct device_queue_manager *dqm,
> --
> 2.17.1
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel