Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe: enable sampler LD on LSC control via render surface state
@ 2026-05-04 10:05 Tapani Pälli
  2026-05-04 11:34 ` ✓ CI.KUnit: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tapani Pälli @ 2026-05-04 10:05 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.s.atwood, Tapani Pälli

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-04 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-04 10:05 [PATCH] drm/xe: enable sampler LD on LSC control via render surface state Tapani Pälli
2026-05-04 11:34 ` ✓ CI.KUnit: success for " Patchwork
2026-05-04 12:52 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-04 14:56 ` ✗ Xe.CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox