Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/xe/xe2hpg: Performance tuning changes
@ 2026-01-09 16:42 Balasubramani Vivekanandan
  2026-01-09 17:07 ` ✓ CI.KUnit: success for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Balasubramani Vivekanandan @ 2026-01-09 16:42 UTC (permalink / raw)
  To: intel-xe; +Cc: Balasubramani Vivekanandan

Further updates to performance tuning for Xe2_HPG

Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
---
 drivers/gpu/drm/xe/regs/xe_gt_regs.h | 3 +++
 drivers/gpu/drm/xe/xe_tuning.c       | 5 +++++
 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 93643da57428..cc18ddfb7cc0 100644
--- a/drivers/gpu/drm/xe/regs/xe_gt_regs.h
+++ b/drivers/gpu/drm/xe/regs/xe_gt_regs.h
@@ -135,6 +135,9 @@
 
 #define XEHPG_INSTDONE_GEOM_SVGUNIT		XE_REG_MCR(0x666c)
 
+#define CACHE_MODE_0				XE_REG_MCR(0x7000, XE_REG_OPTION_MASKED)
+#define   MSAA_FAST_CLEAR_ENABLED		REG_BIT(5)
+
 #define CACHE_MODE_1				XE_REG(0x7004, XE_REG_OPTION_MASKED)
 #define   MSAA_OPTIMIZATION_REDUC_DISABLE	REG_BIT(11)
 
diff --git a/drivers/gpu/drm/xe/xe_tuning.c b/drivers/gpu/drm/xe/xe_tuning.c
index 5766fa7742d3..122829c8d14e 100644
--- a/drivers/gpu/drm/xe/xe_tuning.c
+++ b/drivers/gpu/drm/xe/xe_tuning.c
@@ -144,6 +144,11 @@ static const struct xe_rtp_entry_sr lrc_tunings[] = {
 	  XE_RTP_ACTIONS(FIELD_SET(FF_MODE, VS_HIT_MAX_VALUE_MASK,
 				   REG_FIELD_PREP(VS_HIT_MAX_VALUE_MASK, 0x3f)))
 	},
+
+	{ XE_RTP_NAME("Tuning: MSAA fast clear"),
+	  XE_RTP_RULES(GRAPHICS_VERSION(2002), ENGINE_CLASS(RENDER)),
+	  XE_RTP_ACTIONS(SET(CACHE_MODE_0, MSAA_FAST_CLEAR_ENABLED))
+	},
 };
 
 /**
-- 
2.43.0


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

end of thread, other threads:[~2026-01-16  8:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-09 16:42 [PATCH] drm/xe/xe2hpg: Performance tuning changes Balasubramani Vivekanandan
2026-01-09 17:07 ` ✓ CI.KUnit: success for " Patchwork
2026-01-09 17:40 ` ✓ Xe.CI.BAT: " Patchwork
2026-01-09 19:37 ` [PATCH] " Gustavo Sousa
2026-01-09 22:45 ` ✗ Xe.CI.Full: failure for " Patchwork
2026-01-12  7:04 ` ✓ CI.KUnit: success for drm/xe/xe2hpg: Performance tuning changes (rev2) Patchwork
2026-01-12  7:40 ` ✓ Xe.CI.BAT: " Patchwork
2026-01-12  8:45 ` ✗ Xe.CI.Full: failure " Patchwork
2026-01-13 15:34 ` [PATCH] drm/xe/xe2hpg: Performance tuning changes Matt Roper
2026-01-16  8:07   ` Vivekanandan, Balasubramani

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