[PATCH -next] drm/xe: Remove duplicate generated/xe_wa_oob.h header

Jiapeng Chong posted 1 patch 1 year, 5 months ago
drivers/gpu/drm/xe/xe_gt.c | 2 --
1 file changed, 2 deletions(-)
[PATCH -next] drm/xe: Remove duplicate generated/xe_wa_oob.h header
Posted by Jiapeng Chong 1 year, 5 months ago
./drivers/gpu/drm/xe/xe_gt.c: generated/xe_wa_oob.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9493
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/gpu/drm/xe/xe_gt.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_gt.c b/drivers/gpu/drm/xe/xe_gt.c
index ce8994b808fe..5547191773fb 100644
--- a/drivers/gpu/drm/xe/xe_gt.c
+++ b/drivers/gpu/drm/xe/xe_gt.c
@@ -11,8 +11,6 @@
 #include <drm/xe_drm.h>
 #include <generated/xe_wa_oob.h>
 
-#include <generated/xe_wa_oob.h>
-
 #include "instructions/xe_gfxpipe_commands.h"
 #include "instructions/xe_mi_commands.h"
 #include "regs/xe_gt_regs.h"
-- 
2.20.1.7.g153144c
Re: [PATCH -next] drm/xe: Remove duplicate generated/xe_wa_oob.h header
Posted by Lucas De Marchi 1 year, 5 months ago
On Wed, Jul 10, 2024 at 01:49:41PM GMT, Jiapeng Chong wrote:
>./drivers/gpu/drm/xe/xe_gt.c: generated/xe_wa_oob.h is included more than once.
>
>Reported-by: Abaci Robot <abaci@linux.alibaba.com>
>Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9493
>Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

thanks, but a similar patch got merged yesterday:
https://lore.kernel.org/intel-xe/20240708173301.1543871-1-lucas.demarchi@intel.com/#r

Lucas De Marchi