From: Daniel Charles <daniel.charles@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: matthew.d.roper@intel.com, Daniel Charles <daniel.charles@intel.com>
Subject: [PATCH] drm/xe/xe3p: Force non-compressible memory reads to 256B overfetches
Date: Tue, 29 Sep 2026 13:08:39 -0700 [thread overview]
Message-ID: <20260929200839.843116-1-daniel.charles@intel.com> (raw)
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
next reply other threads:[~2026-09-29 20:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 20:08 Daniel Charles [this message]
2026-09-29 20:20 ` [PATCH] drm/xe/xe3p: Force non-compressible memory reads to 256B overfetches 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260929200839.843116-1-daniel.charles@intel.com \
--to=daniel.charles@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox