Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/xe3lpg: Add Wa_16024792527
@ 2024-11-07  8:21 apoorva.singh
  2024-11-07  8:48 ` ✓ CI.Patch_applied: success for drm/xe/xe3lpg: Add Wa_16024792527 (rev3) Patchwork
                   ` (36 more replies)
  0 siblings, 37 replies; 44+ messages in thread
From: apoorva.singh @ 2024-11-07  8:21 UTC (permalink / raw)
  To: intel-xe; +Cc: Apoorva Singh

From: Apoorva Singh <apoorva.singh@intel.com>

Force Sampler Tile64 Overfetch via MMIO

Signed-off-by: Apoorva Singh <apoorva.singh@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_gt_regs.h | 2 ++
 drivers/gpu/drm/xe/xe_wa.c           | 6 ++++++
 2 files changed, 8 insertions(+)

diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
index 0c9e4b2fafab..162f18e975da 100644
--- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
@@ -445,6 +445,8 @@
 
 #define SAMPLER_MODE				XE_REG_MCR(0xe18c, XE_REG_OPTION_MASKED)
 #define   ENABLE_SMALLPL			REG_BIT(15)
+#define   SMP_WAIT_FETCH_MERGING_COUNTER	REG_GENMASK(11, 10)
+#define   SMP_FORCE_128B_OVERFETCH		REG_FIELD_PREP(SMP_WAIT_FETCH_MERGING_COUNTER, 1)
 #define   SC_DISABLE_POWER_OPTIMIZATION_EBB	REG_BIT(9)
 #define   SAMPLER_ENABLE_HEADLESS_MSG		REG_BIT(5)
 #define   INDIRECT_STATE_BASE_ADDR_OVERRIDE	REG_BIT(0)
diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
index 02cf647f86d8..570fe0376402 100644
--- a/drivers/gpu/drm/xe/xe_wa.c
+++ b/drivers/gpu/drm/xe/xe_wa.c
@@ -607,6 +607,12 @@ static const struct xe_rtp_entry_sr engine_was[] = {
 		       FUNC(xe_rtp_match_first_render_or_compute)),
 	  XE_RTP_ACTIONS(SET(ROW_CHICKEN4, DISABLE_TDL_PUSH))
 	},
+	{ XE_RTP_NAME("16024792527"),
+	  XE_RTP_RULES(GRAPHICS_VERSION(3000), GRAPHICS_STEP(A0, B0),
+		       FUNC(xe_rtp_match_first_render_or_compute)),
+	  XE_RTP_ACTIONS(FIELD_SET(SAMPLER_MODE, SMP_WAIT_FETCH_MERGING_COUNTER,
+				   SMP_FORCE_128B_OVERFETCH))
+	},
 
 	{}
 };
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 44+ messages in thread
* [PATCH] drm/xe/xe3lpg: Add Wa_16024792527
@ 2024-11-07  8:14 apoorva.singh
  0 siblings, 0 replies; 44+ messages in thread
From: apoorva.singh @ 2024-11-07  8:14 UTC (permalink / raw)
  To: intel-xe; +Cc: Apoorva Singh

From: Apoorva Singh <apoorva.singh@intel.com>

Force Sampler Tile64 Overfetch via MMIO

Signed-off-by: Apoorva Singh <apoorva.singh@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_gt_regs.h | 2 ++
 drivers/gpu/drm/xe/xe_wa.c           | 6 ++++++
 2 files changed, 8 insertions(+)

diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
index 0c9e4b2fafab..bd185a96a71a 100644
--- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
@@ -445,6 +445,8 @@
 
 #define SAMPLER_MODE				XE_REG_MCR(0xe18c, XE_REG_OPTION_MASKED)
 #define   ENABLE_SMALLPL			REG_BIT(15)
+#define   SMP_WAIT_FETCH_MERGING_COUNTER_MASK	REG_GENMASK(11, 10)
+#define   SMP_FORCE_128B_OVERFETCH		REG_FIELD_PREP(SMP_WAIT_FETCH_MERGING_COUNTER_MASK, 1)
 #define   SC_DISABLE_POWER_OPTIMIZATION_EBB	REG_BIT(9)
 #define   SAMPLER_ENABLE_HEADLESS_MSG		REG_BIT(5)
 #define   INDIRECT_STATE_BASE_ADDR_OVERRIDE	REG_BIT(0)
diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
index 02cf647f86d8..7fa4c7bd1747 100644
--- a/drivers/gpu/drm/xe/xe_wa.c
+++ b/drivers/gpu/drm/xe/xe_wa.c
@@ -607,6 +607,12 @@ static const struct xe_rtp_entry_sr engine_was[] = {
 		       FUNC(xe_rtp_match_first_render_or_compute)),
 	  XE_RTP_ACTIONS(SET(ROW_CHICKEN4, DISABLE_TDL_PUSH))
 	},
+	{ XE_RTP_NAME("16024792527"),
+	  XE_RTP_RULES(GRAPHICS_VERSION(3000), GRAPHICS_STEP(A0, B0),
+		       FUNC(xe_rtp_match_first_render_or_compute)),
+	  XE_RTP_ACTIONS(FIELD_SET(SAMPLER_MODE, SMP_WAIT_FETCH_MERGING_COUNTER_MASK,
+				   SMP_FORCE_128B_OVERFETCH))
+	},
 
 	{}
 };
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 44+ messages in thread
* [PATCH] drm/xe/xe3lpg: Add Wa_16024792527
@ 2024-10-29 14:37 apoorva.singh
  2024-10-30 16:34 ` Pottumuttu, Sai Teja
  2024-11-06  6:05 ` Upadhyay, Tejas
  0 siblings, 2 replies; 44+ messages in thread
From: apoorva.singh @ 2024-10-29 14:37 UTC (permalink / raw)
  To: intel-xe; +Cc: Apoorva Singh

From: Apoorva Singh <apoorva.singh@intel.com>

Force Sampler Tile64 Overfetch via MMIO

Signed-off-by: Apoorva Singh <apoorva.singh@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_gt_regs.h | 2 ++
 drivers/gpu/drm/xe/xe_wa.c           | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/drivers/gpu/drm/xe/regs/xe_gt_regs.h b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
index 42dc55cb23f4..7ed6addd795a 100644
--- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
@@ -445,6 +445,8 @@
 
 #define SAMPLER_MODE				XE_REG_MCR(0xe18c, XE_REG_OPTION_MASKED)
 #define   ENABLE_SMALLPL			REG_BIT(15)
+#define   SMP_WAIT_FETCH_MERGING_COUNTER	REG_GENMASK(11, 10)
+#define   SMP_FORCE_128B_OVERFETCH		REG_FIELD_PREP(SMP_WAIT_FETCH_MERGING_COUNTER, 1)
 #define   SC_DISABLE_POWER_OPTIMIZATION_EBB	REG_BIT(9)
 #define   SAMPLER_ENABLE_HEADLESS_MSG		REG_BIT(5)
 #define   INDIRECT_STATE_BASE_ADDR_OVERRIDE	REG_BIT(0)
diff --git a/drivers/gpu/drm/xe/xe_wa.c b/drivers/gpu/drm/xe/xe_wa.c
index 02cf647f86d8..18dc5cdf7c43 100644
--- a/drivers/gpu/drm/xe/xe_wa.c
+++ b/drivers/gpu/drm/xe/xe_wa.c
@@ -607,6 +607,11 @@ static const struct xe_rtp_entry_sr engine_was[] = {
 		       FUNC(xe_rtp_match_first_render_or_compute)),
 	  XE_RTP_ACTIONS(SET(ROW_CHICKEN4, DISABLE_TDL_PUSH))
 	},
+	{ XE_RTP_NAME("16024792527"),
+	  XE_RTP_RULES(GRAPHICS_VERSION(3000), GRAPHICS_STEP(A0, B0),
+		       FUNC(xe_rtp_match_first_render_or_compute)),
+	  XE_RTP_ACTIONS(SET(SAMPLER_MODE, SMP_FORCE_128B_OVERFETCH))
+	},
 
 	{}
 };
-- 
2.34.1


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

end of thread, other threads:[~2024-11-27  6:22 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-07  8:21 [PATCH] drm/xe/xe3lpg: Add Wa_16024792527 apoorva.singh
2024-11-07  8:48 ` ✓ CI.Patch_applied: success for drm/xe/xe3lpg: Add Wa_16024792527 (rev3) Patchwork
2024-11-07  8:48 ` ✓ CI.checkpatch: " Patchwork
2024-11-07  8:49 ` ✓ CI.KUnit: " Patchwork
2024-11-07  9:01 ` ✓ CI.Build: " Patchwork
2024-11-07  9:03 ` ✓ CI.Hooks: " Patchwork
2024-11-07  9:05 ` ✓ CI.checksparse: " Patchwork
2024-11-07  9:30 ` ✓ CI.BAT: " Patchwork
2024-11-08 14:57 ` ✗ CI.FULL: failure " Patchwork
2024-11-08 19:14 ` [PATCH] drm/xe/xe3lpg: Add Wa_16024792527 Gustavo Sousa
2024-11-27  6:22   ` Ghimiray, Himal Prasad
2024-11-13 16:28 ` ✓ CI.Patch_applied: success for drm/xe/xe3lpg: Add Wa_16024792527 (rev4) Patchwork
2024-11-13 16:29 ` ✓ CI.checkpatch: " Patchwork
2024-11-13 16:30 ` ✓ CI.KUnit: " Patchwork
2024-11-13 16:41 ` ✓ CI.Build: " Patchwork
2024-11-13 16:44 ` ✓ CI.Hooks: " Patchwork
2024-11-13 16:45 ` ✓ CI.checksparse: " Patchwork
2024-11-13 17:21 ` ✓ CI.BAT: " Patchwork
2024-11-14  1:34 ` ✗ CI.FULL: failure " Patchwork
2024-11-15  6:57 ` ✓ CI.Patch_applied: success for drm/xe/xe3lpg: Add Wa_16024792527 (rev5) Patchwork
2024-11-15  6:57 ` ✓ CI.checkpatch: " Patchwork
2024-11-15  6:58 ` ✓ CI.KUnit: " Patchwork
2024-11-15  7:07 ` ✗ CI.Build: failure " Patchwork
2024-11-18  4:53 ` ✓ CI.Patch_applied: success for drm/xe/xe3lpg: Add Wa_16024792527 (rev6) Patchwork
2024-11-18  4:53 ` ✓ CI.checkpatch: " Patchwork
2024-11-18  4:54 ` ✓ CI.KUnit: " Patchwork
2024-11-18  5:12 ` ✓ CI.Build: " Patchwork
2024-11-18  5:13 ` ✗ CI.Hooks: failure " Patchwork
2024-11-18  5:14 ` ✓ CI.checksparse: success " Patchwork
2024-11-18  5:34 ` ✗ CI.BAT: failure " Patchwork
2024-11-18  8:02 ` ✗ CI.FULL: " Patchwork
2024-11-22  5:33 ` ✓ CI.Patch_applied: success for drm/xe/xe3lpg: Add Wa_16024792527 (rev7) Patchwork
2024-11-22  5:33 ` ✓ CI.checkpatch: " Patchwork
2024-11-22  5:34 ` ✓ CI.KUnit: " Patchwork
2024-11-22  5:52 ` ✓ CI.Build: " Patchwork
2024-11-22  5:55 ` ✓ CI.Hooks: " Patchwork
2024-11-22  5:56 ` ✓ CI.checksparse: " Patchwork
2024-11-22  6:15 ` ✓ Xe.CI.BAT: " Patchwork
2024-11-22 21:28 ` ✗ Xe.CI.Full: failure " Patchwork
2024-11-27  6:13   ` Singh, Apoorva
  -- strict thread matches above, loose matches on Subject: below --
2024-11-07  8:14 [PATCH] drm/xe/xe3lpg: Add Wa_16024792527 apoorva.singh
2024-10-29 14:37 apoorva.singh
2024-10-30 16:34 ` Pottumuttu, Sai Teja
2024-11-06  6:05 ` Upadhyay, Tejas

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