drm/xe/xe2lpg: fixup! "drm/xe/xe2: Add Wa_15015404425"
Subsystems (2)
PATCH 1/1 drm/xe/xe2lpg: fixup! "drm/xe/xe2: Add Wa_15015404425"
Use XE_WA as used elsewhere.
Fixes 86c5b70a9c0c ("drm/xe/xe2: Add Wa_15015404425")
Signed-off-by Tejas Upadhyay <[email protected]>
--- drivers/gpu/drm/xe/xe_mmio.c | 5 ++++- drivers/gpu/drm/xe/xe_wa_oob.rules | 1 + 2 files changed, 5 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_mmio.c +4 -1
@@ -13,6 +13,8 @@#include <drm/drm_managed.h> #include <drm/drm_print.h> +#include <generated/xe_wa_oob.h> +#include "regs/xe_bars.h" #include "regs/xe_regs.h" #include "xe_device.h"
@@ -22,6 +24,7 @@#include "xe_macros.h" #include "xe_sriov.h" #include "xe_trace.h" +#include "xe_wa.h" static void tiles_fini (void *arg) {
@@ -127,7 +130,7 @@ static void mmio_flush_pending_writes(struct xe_gt *gt)struct xe_tile *tile =gt_to_tile (gt);int i; -if (tile->xe->info.platform !=XE_LUNARLAKE ) +if (!XE_WA (gt,15015404425 ))return ;/* 4 dummy writes */
drivers/gpu/drm/xe/xe_wa_oob.rules +1 -0
@@ -30,3 +30,4 @@ 22019338487 MEDIA_VERSION(2000) GRAPHICS_VERSION(2001) 16023588340 GRAPHICS_VERSION(2001) +15015404425 GRAPHICS_VERSION(2004)
Signature · 1 line
2.25.1
Please don't review this patch, sent by mistake. Sending out new patch.
Quoted 60 lines
-----Original Message-----
From: Upadhyay, Tejas <[email protected]>
Sent: Tuesday, July 16, 2024 11:23 AM
To: [email protected]
Cc: Roper, Matthew D <[email protected]>; Upadhyay, Tejas <[email protected]>
Subject: [PATCH] drm/xe/xe2lpg: fixup! "drm/xe/xe2: AddWa_15015404425"Use
XE_WAas used elsewhere.Fixes 86c5b70a9c0c ("drm/xe/xe2: Add Wa_15015404425")Signed-off-by Tejas Upadhyay <[email protected]>--- drivers/gpu/drm/xe/xe_mmio.c | 5 ++++- drivers/gpu/drm/xe/xe_wa_oob.rules | 1 + 2 files changed, 5 insertions(+), 1 deletion(-)drivers/gpu/drm/xe/xe_mmio.c +4
-1@@ -13,6 +13,8 @@#include <drm/drm_managed.h> #include <drm/drm_print.h> +#include <generated/xe_wa_oob.h> +#include "regs/xe_bars.h" #include "regs/xe_regs.h" #include "xe_device.h" @@ -22,6 +24,7 @@#include "xe_macros.h" #include "xe_sriov.h" #include "xe_trace.h" +#include "xe_wa.h" static void tiles_fini (void *arg) {@@ -127,7 +130,7 @@ static void mmio_flush_pending_writes(struct xe_gt *gt)struct xe_tile *tile =gt_to_tile (gt);int i; -if (tile->xe->info.platform !=XE_LUNARLAKE ) +if (!XE_WA (gt,15015404425 ))return ;drivers/gpu/drm/xe/xe_mmio.c +0
-0/* 4 dummy writes */ drivers/gpu/drm/xe/xe_wa_oob.rules +1
-1@@ -30,3 +30,4 @@ 22019338487 MEDIA_VERSION(2000) GRAPHICS_VERSION(2001) 16023588340 GRAPHICS_VERSION(2001) +15015404425 GRAPHICS_VERSION(2004) --2.25.1