drm/xe/xe3lpg: Add Wa_13012615864
authorTejas Upadhyay <tejas.upadhyay@intel.com>
Fri, 21 Feb 2025 11:22:00 +0000 (16:52 +0530)
committerTejas Upadhyay <tejas.upadhyay@intel.com>
Fri, 28 Feb 2025 05:51:57 +0000 (11:21 +0530)
Wa_13012615864 applies to  xe3lpg

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250221112200.388612-1-tejas.upadhyay@intel.com
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
drivers/gpu/drm/xe/regs/xe_gt_regs.h
drivers/gpu/drm/xe/xe_wa.c

index 124cc398798e56d66f436f64c55bada74b6a8cde..d08dd437172f3168f67760e2a472e0545ac3f738 100644 (file)
 #define TDL_TSL_CHICKEN                                XE_REG_MCR(0xe4c4, XE_REG_OPTION_MASKED)
 #define   STK_ID_RESTRICT                      REG_BIT(12)
 #define   SLM_WMTP_RESTORE                     REG_BIT(11)
+#define   RES_CHK_SPR_DIS                      REG_BIT(6)
 
 #define ROW_CHICKEN                            XE_REG_MCR(0xe4f0, XE_REG_OPTION_MASKED)
 #define   UGM_BACKUP_MODE                      REG_BIT(13)
index d4982799383cce5d14e5b054bf6e90a81f97abb5..b797c863bbe5c6dda3f1517bde24f6ecc45ca9ec 100644 (file)
@@ -619,6 +619,11 @@ static const struct xe_rtp_entry_sr engine_was[] = {
                       FUNC(xe_rtp_match_first_render_or_compute)),
          XE_RTP_ACTIONS(SET(TDL_CHICKEN, QID_WAIT_FOR_THREAD_NOT_RUN_DISABLE))
        },
+       { XE_RTP_NAME("13012615864"),
+         XE_RTP_RULES(GRAPHICS_VERSION_RANGE(3000, 3001),
+                      FUNC(xe_rtp_match_first_render_or_compute)),
+         XE_RTP_ACTIONS(SET(TDL_TSL_CHICKEN, RES_CHK_SPR_DIS))
+       },
 
        {}
 };