drm/xe/guc: Port Wa_16011759253 to xe_wa
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 26 May 2023 16:43:51 +0000 (09:43 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:34:03 +0000 (18:34 -0500)
Port Wa_16011759253 to oob. Wa_22011383443, that has the same action,
doesn't need to be ported as it targets early PVC steppings.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20230526164358.86393-15-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc.c
drivers/gpu/drm/xe/xe_wa_oob.rules

index 08362db..1b3fbbd 100644 (file)
@@ -139,9 +139,7 @@ static u32 guc_ctl_wa_flags(struct xe_guc *guc)
        if (XE_WA(gt, 22012773006))
                flags |= GUC_WA_POLLCS;
 
-       /* Wa_16011759253 */
-       /* Wa_22011383443 */
-       if (IS_SUBPLATFORM_STEP(xe, XE_DG2, XE_SUBPLATFORM_DG2_G10, STEP_A0, STEP_B0))
+       if (XE_WA(gt, 16011759253))
                flags |= GUC_WA_GAM_CREDITS;
 
        /* Wa_14014475959 */
index b54f70e..9b29a0d 100644 (file)
@@ -1 +1,2 @@
 22012773006    GRAPHICS_VERSION_RANGE(1200, 1250)
+16011759253    SUBPLATFORM(DG2, G10), GRAPHICS_STEP(A0, B0)