From: "Tapani Pälli" <tapani.palli@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: matthew.s.atwood@intel.com, "Tapani Pälli" <tapani.palli@intel.com>
Subject: [PATCH] drm/xe: enable sampler LD on LSC control via render surface state
Date: Mon, 4 May 2026 13:05:11 +0300 [thread overview]
Message-ID: <20260504100511.146844-1-tapani.palli@intel.com> (raw)
This makes it possible for user space driver to control LSC usage
for sampler loads.
Bspec: 56846
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
---
drivers/gpu/drm/xe/xe_tuning.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/xe/xe_tuning.c b/drivers/gpu/drm/xe/xe_tuning.c
index ce39b77a084a..f3ed27115893 100644
--- a/drivers/gpu/drm/xe/xe_tuning.c
+++ b/drivers/gpu/drm/xe/xe_tuning.c
@@ -92,6 +92,13 @@ static const struct xe_rtp_entry_sr gt_tunings[] = {
XE_RTP_ACTIONS(SET(XE2LPM_SCRATCH3_LBCF, RWFLUSHALLEN))
},
+ /* Xe3 */
+
+ { XE_RTP_NAME("Tuning: Enable Sampler LD on LSC Controlled by Render Surface State"),
+ XE_RTP_RULES(GRAPHICS_VERSION_RANGE(3000, XE_RTP_END_VERSION_UNDEFINED)),
+ XE_RTP_ACTIONS(SET(LSC_CHICKEN_BIT_0_UDW, ENABLE_SMP_LD_RENDER_SURFACE_CONTROL))
+ },
+
/* Xe3p */
{ XE_RTP_NAME("Tuning: Set STLB Bank Hash Mode to 4KB"),
--
2.53.0
next reply other threads:[~2026-05-04 10:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-04 10:05 Tapani Pälli [this message]
2026-05-04 11:34 ` ✓ CI.KUnit: success for drm/xe: enable sampler LD on LSC control via render surface state Patchwork
2026-05-04 12:52 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-04 14:56 ` ✗ Xe.CI.FULL: failure " Patchwork
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=20260504100511.146844-1-tapani.palli@intel.com \
--to=tapani.palli@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.s.atwood@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