diff mbox series

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

Message ID 20240710054941.44013-1-jiapeng.chong@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] drm/xe: Remove duplicate generated/xe_wa_oob.h header | expand

Commit Message

Jiapeng Chong July 10, 2024, 5:49 a.m. UTC
./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(-)

Comments

Lucas De Marchi July 10, 2024, 6:08 a.m. UTC | #1
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
diff mbox series

Patch

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"