From: apoorva.singh@intel.com
To: intel-xe@lists.freedesktop.org
Cc: Apoorva Singh <apoorva.singh@intel.com>
Subject: [PATCH] drm/xe/xe3lpg: Add Wa_16024792527
Date: Tue, 29 Oct 2024 20:07:40 +0530 [thread overview]
Message-ID: <20241029143740.1296020-1-apoorva.singh@intel.com> (raw)
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
next reply other threads:[~2024-10-29 14:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-29 14:37 apoorva.singh [this message]
2024-10-29 17:18 ` ✓ CI.Patch_applied: success for drm/xe/xe3lpg: Add Wa_16024792527 Patchwork
2024-10-29 17:19 ` ✓ CI.checkpatch: " Patchwork
2024-10-29 17:20 ` ✓ CI.KUnit: " Patchwork
2024-10-29 17:31 ` ✓ CI.Build: " Patchwork
2024-10-29 17:34 ` ✓ CI.Hooks: " Patchwork
2024-10-29 17:35 ` ✓ CI.checksparse: " Patchwork
2024-10-29 18:02 ` ✓ CI.BAT: " Patchwork
2024-10-29 21:31 ` ✗ CI.FULL: failure " Patchwork
2024-10-30 16:34 ` [PATCH] " Pottumuttu, Sai Teja
2024-11-06 6:05 ` Upadhyay, Tejas
-- strict thread matches above, loose matches on Subject: below --
2024-11-07 8:14 apoorva.singh
2024-11-07 8:21 apoorva.singh
2024-11-08 19:14 ` Gustavo Sousa
2024-11-27 6:22 ` Ghimiray, Himal Prasad
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=20241029143740.1296020-1-apoorva.singh@intel.com \
--to=apoorva.singh@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/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