Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/xe2hpg: Add Wa_14021821874
@ 2024-08-12  7:02 Tejas Upadhyay
  2024-08-12  7:05 ` ✓ CI.Patch_applied: success for drm/xe/xe2hpg: Add wa_14021821874 (rev2) Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Tejas Upadhyay @ 2024-08-12  7:02 UTC (permalink / raw)
  To: intel-xe; +Cc: Matt Roper, Tejas Upadhyay

Wa_14021821874 applies to xe2_hpg

Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_gt_regs.h | 1 +
 drivers/gpu/drm/xe/xe_wa.c           | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
index 2c8c4d4218db..9054253f6aaa 100644
--- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
@@ -451,6 +451,7 @@
 #define   DIS_FIX_EOT1_FLUSH			REG_BIT(9)
 
 #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 ROW_CHICKEN				XE_REG_MCR(0xe4f0, XE_REG_OPTION_MASKED)
diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
index 564e32e44e3b..28b7f95b6c2f 100644
--- a/drivers/gpu/drm/xe/xe_wa.c
+++ b/drivers/gpu/drm/xe/xe_wa.c
@@ -542,6 +542,10 @@ static const struct xe_rtp_entry_sr engine_was[] = {
 	  XE_RTP_RULES(GRAPHICS_VERSION(2001), ENGINE_CLASS(RENDER)),
 	  XE_RTP_ACTIONS(SET(HALF_SLICE_CHICKEN7, CLEAR_OPTIMIZATION_DISABLE))
 	},
+	{ XE_RTP_NAME("14021821874"),
+	  XE_RTP_RULES(GRAPHICS_VERSION(2001), FUNC(xe_rtp_match_first_render_or_compute)),
+	  XE_RTP_ACTIONS(SET(TDL_TSL_CHICKEN, STK_ID_RESTRICT))
+	},
 
 	/* Xe2_LPM */
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread
* [PATCH] drm/xe/xe2hpg: Add wa_14021821874
@ 2024-04-29  5:44 Tejas Upadhyay
  2024-04-29  5:50 ` Ghimiray, Himal Prasad
  0 siblings, 1 reply; 14+ messages in thread
From: Tejas Upadhyay @ 2024-04-29  5:44 UTC (permalink / raw)
  To: intel-xe; +Cc: Matt Roper, Himal Prasad Ghimiray, Tejas Upadhyay

wa_14021821874 applies to xe2_hpg

Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_gt_regs.h | 1 +
 drivers/gpu/drm/xe/xe_wa.c           | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
index 83847f2da72a..7c9d4e55a9cf 100644
--- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
@@ -386,6 +386,7 @@
 
 #define TDL_TSL_CHICKEN				XE_REG_MCR(0xe4c4, XE_REG_OPTION_MASKED)
 #define   SLM_WMTP_RESTORE			REG_BIT(11)
+#define   STK_ID_RESTRICT			REG_BIT(12)
 
 #define ROW_CHICKEN				XE_REG_MCR(0xe4f0, XE_REG_OPTION_MASKED)
 #define   UGM_BACKUP_MODE			REG_BIT(13)
diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
index 9d9b7fa7a8f0..f030dbb1b89e 100644
--- a/drivers/gpu/drm/xe/xe_wa.c
+++ b/drivers/gpu/drm/xe/xe_wa.c
@@ -538,6 +538,10 @@ static const struct xe_rtp_entry_sr engine_was[] = {
 		       FUNC(xe_rtp_match_first_render_or_compute)),
 	  XE_RTP_ACTIONS(SET(LSC_CHICKEN_BIT_0, WR_REQ_CHAINING_DIS))
 	},
+	{ XE_RTP_NAME("14021821874"),
+	  XE_RTP_RULES(GRAPHICS_VERSION(2001), FUNC(xe_rtp_match_first_render_or_compute)),
+	  XE_RTP_ACTIONS(SET(TDL_TSL_CHICKEN, STK_ID_RESTRICT))
+	},
 
 	/* Xe2_HPM */
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-08-12 13:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12  7:02 [PATCH] drm/xe/xe2hpg: Add Wa_14021821874 Tejas Upadhyay
2024-08-12  7:05 ` ✓ CI.Patch_applied: success for drm/xe/xe2hpg: Add wa_14021821874 (rev2) Patchwork
2024-08-12  7:05 ` ✓ CI.checkpatch: " Patchwork
2024-08-12  7:06 ` ✓ CI.KUnit: " Patchwork
2024-08-12  7:18 ` ✓ CI.Build: " Patchwork
2024-08-12  7:20 ` ✓ CI.Hooks: " Patchwork
2024-08-12  7:22 ` ✓ CI.checksparse: " Patchwork
2024-08-12  7:42 ` ✓ CI.BAT: " Patchwork
2024-08-12  7:48 ` [PATCH] drm/xe/xe2hpg: Add Wa_14021821874 Ghimiray, Himal Prasad
2024-08-12 12:48   ` Upadhyay, Tejas
2024-08-12 13:58     ` Jani Nikula
2024-08-12  9:04 ` ✗ CI.FULL: failure for drm/xe/xe2hpg: Add wa_14021821874 (rev2) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2024-04-29  5:44 [PATCH] drm/xe/xe2hpg: Add wa_14021821874 Tejas Upadhyay
2024-04-29  5:50 ` Ghimiray, Himal Prasad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox