[PATCH 1/2] drm/xe: fix WA 14018094691
Lucas De Marchi
lucas.demarchi at intel.com
Wed Aug 7 21:51:32 UTC 2024
On Wed, Aug 07, 2024 at 02:11:05PM GMT, Daniele Ceraolo Spurio wrote:
>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.
humn... I don't see the media gt marked in the WA db. Does it need to
be updated considering the GSC is actually loaded in the media GT? But
it would be odd to write to the primary_gt. So... alternative approach
that I think would be more correct would be to change the implementation
in drivers/gpu/drm/xe/xe_gsc.c so it passes the primary_gt to XE_WA(),
just like it's doing when writing the register.
Thoughts? Would also like to see Matt Roper's opinion
Lucas De Marchi
>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