[PATCH 1/2] drm/xe: fix WA 14018094691

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Wed Aug 7 21:11:05 UTC 2024


This WA is applied while initializing the media GT, but it is currently
defined as a primary GT WA (because it modifies a register on the
primary GT), so the XE_WA macro is returning false even when the WA
should be applied.
Since both GTs are involved in the flow, fix this by marking the WA as
applying to the platform instead of just the specific GT.

Note that this WA only applies to PXP and we don't yet support that in
Xe, so there are no negative effects to this bug, which is why we didn't
see any errors in testing.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Cc: Matt Roper <matthew.d.roper at intel.com>
---
 drivers/gpu/drm/xe/xe_wa_oob.rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_wa_oob.rules b/drivers/gpu/drm/xe/xe_wa_oob.rules
index 540d38603f32..40354fb01737 100644
--- a/drivers/gpu/drm/xe/xe_wa_oob.rules
+++ b/drivers/gpu/drm/xe/xe_wa_oob.rules
@@ -19,7 +19,7 @@
 		GRAPHICS_VERSION_RANGE(1270, 1274)
 		MEDIA_VERSION(1300)
 		PLATFORM(DG2)
-14018094691	GRAPHICS_VERSION(2004)
+14018094691	PLATFORM(LUNARLAKE)
 14019882105	GRAPHICS_VERSION(2004), GRAPHICS_STEP(A0, B0)
 18024947630	GRAPHICS_VERSION(2001)
 		GRAPHICS_VERSION(2004)
-- 
2.43.0



More information about the Intel-xe mailing list