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: Thu, 7 Nov 2024 13:44:38 +0530 [thread overview]
Message-ID: <20241107081438.1426635-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 | 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
next reply other threads:[~2024-11-07 8:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-07 8:14 apoorva.singh [this message]
2024-11-07 8:09 ` ✓ CI.Patch_applied: success for drm/xe/xe3lpg: Add Wa_16024792527 (rev2) Patchwork
2024-11-07 8:09 ` ✗ CI.checkpatch: warning " Patchwork
2024-11-07 8:10 ` ✓ CI.KUnit: success " Patchwork
2024-11-07 8:22 ` ✓ CI.Build: " Patchwork
2024-11-07 8:24 ` ✓ CI.Hooks: " Patchwork
2024-11-07 8:25 ` ✓ CI.checksparse: " Patchwork
2024-11-07 8:43 ` ✓ CI.BAT: " Patchwork
2024-11-08 14:15 ` ✗ CI.FULL: failure " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2024-11-07 8:21 [PATCH] drm/xe/xe3lpg: Add Wa_16024792527 apoorva.singh
2024-11-08 19:14 ` Gustavo Sousa
2024-11-27 6:22 ` Ghimiray, Himal Prasad
2024-10-29 14:37 apoorva.singh
2024-10-30 16:34 ` Pottumuttu, Sai Teja
2024-11-06 6:05 ` Upadhyay, Tejas
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=20241107081438.1426635-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