Skip to content

Commit e391ab6

Browse files
shekhar-chauhanmattrope
authored andcommitted
drm/xe/xe2hpg: Introduce performance tuning changes for Xe2_HPG.
Introduces performance tuning guide changes for Xe_HPG. v2: Switched to open upper bound for "Tuning: L3 Cache" setting. BSpec: 72161 Signed-off-by: Shekhar Chauhan <shekhar.chauhan@intel.com> Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240408170545.3769566-11-balasubramani.vivekanandan@intel.com
1 parent 7f3ee7d commit e391ab6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/xe/xe_tuning.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static const struct xe_rtp_entry_sr gt_tunings[] = {
2828
/* Xe2 */
2929

3030
{ XE_RTP_NAME("Tuning: L3 cache"),
31-
XE_RTP_RULES(GRAPHICS_VERSION(2004)),
31+
XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED)),
3232
XE_RTP_ACTIONS(FIELD_SET(XEHP_L3SQCREG5, L3_PWM_TIMER_INIT_VAL_MASK,
3333
REG_FIELD_PREP(L3_PWM_TIMER_INIT_VAL_MASK, 0x7f)))
3434
},
@@ -38,11 +38,11 @@ static const struct xe_rtp_entry_sr gt_tunings[] = {
3838
REG_FIELD_PREP(L3_PWM_TIMER_INIT_VAL_MASK, 0x7f)))
3939
},
4040
{ XE_RTP_NAME("Tuning: Compression Overfetch"),
41-
XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2004, XE_RTP_END_VERSION_UNDEFINED)),
41+
XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED)),
4242
XE_RTP_ACTIONS(CLR(CCCHKNREG1, ENCOMPPERFFIX)),
4343
},
4444
{ XE_RTP_NAME("Tuning: Enable compressible partial write overfetch in L3"),
45-
XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2004, XE_RTP_END_VERSION_UNDEFINED)),
45+
XE_RTP_RULES(GRAPHICS_VERSION_RANGE(2001, XE_RTP_END_VERSION_UNDEFINED)),
4646
XE_RTP_ACTIONS(SET(L3SQCREG3, COMPPWOVERFETCHEN))
4747
},
4848
{}

0 commit comments

Comments
 (0)