All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/xe3p: Force non-compressible memory reads to 256B overfetches
@ 2026-09-29 20:08 Daniel Charles
  2026-09-29 20:20 ` sashiko-bot
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Daniel Charles @ 2026-09-29 20:08 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.d.roper, Daniel Charles

Add a tuning entry to set bit 14 (NONCOMPMEMRD256BOVRFETCHEN) of
L3SQCREG2 for Xe3p and later platforms.

BSpec: 72161, 59927

Signed-off-by: Daniel Charles <daniel.charles@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_gt_regs.h | 1 +
 drivers/gpu/drm/xe/xe_tuning.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 2e059cb36c82d..7061b035d3c12 100644
--- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
@@ -468,6 +468,7 @@
 #define   L3_SQ_DISABLE_COAMA_2WAY_COH		REG_BIT(30)
 #define   L3_SQ_DISABLE_COAMA			REG_BIT(22)
 #define   COMPMEMRD256BOVRFETCHEN		REG_BIT(20)
+#define   NONCOMPMEMRD256BOVRFETCHEN		REG_BIT(14)
 
 #define L3SQCREG3				XE_REG_MCR(0xb108)
 #define   COMPPWOVERFETCHEN			REG_BIT(28)
diff --git a/drivers/gpu/drm/xe/xe_tuning.c b/drivers/gpu/drm/xe/xe_tuning.c
index bcec40ca2d35f..a9bd3f8969a54 100644
--- a/drivers/gpu/drm/xe/xe_tuning.c
+++ b/drivers/gpu/drm/xe/xe_tuning.c
@@ -100,6 +100,10 @@ VISIBLE_IF_KUNIT const struct xe_rtp_table_sr gt_tunings = XE_RTP_TABLE_SR(
 	  XE_RTP_ACTIONS(FIELD_SET(GAMSTLB_CTRL, BANK_HASH_MODE,
 				   BANK_HASH_4KB_MODE))
 	},
+	{ XE_RTP_NAME("Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches"),
+	  XE_RTP_RULES(GRAPHICS_VERSION_RANGE(3510, XE_RTP_END_VERSION_UNDEFINED)),
+	  XE_RTP_ACTIONS(SET(L3SQCREG2, NONCOMPMEMRD256BOVRFETCHEN))
+	},
 );
 EXPORT_SYMBOL_IF_KUNIT(gt_tunings);
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread
[parent not found: <20260923210802.297468-1-daniel.charles@intel.com>]

end of thread, other threads:[~2026-09-30  3:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-29 20:08 [PATCH] drm/xe/xe3p: Force non-compressible memory reads to 256B overfetches Daniel Charles
2026-09-29 20:20 ` sashiko-bot
2026-09-29 20:51 ` ✓ CI.KUnit: success for drm/xe/xe3p: Force non-compressible memory reads to 256B overfetches (rev2) Patchwork
2026-09-29 20:55 ` [PATCH] drm/xe/xe3p: Force non-compressible memory reads to 256B overfetches Matt Roper
2026-09-29 22:44 ` ✓ Xe.CI.BAT: success for drm/xe/xe3p: Force non-compressible memory reads to 256B overfetches (rev2) Patchwork
2026-09-30  3:55 ` ✓ Xe.CI.FULL: " Patchwork
     [not found] <20260923210802.297468-1-daniel.charles@intel.com>
     [not found] ` <677c0fa4-b9a2-4fa7-8e57-04b235d5e5b3@intel.com>
     [not found]   ` <20260924150422.GG730887@mdroper-desk1.amr.corp.intel.com>
     [not found]     ` <731a8c07-333f-43a4-90d6-8f2fd86a498a@intel.com>
2026-09-29 19:58       ` [PATCH] drm/xe/xe3p: Force non-compressible memory reads to 256B overfetches Matt Roper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.