mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
drm/xe/xe2hpg: Introduce performance tuning changes for Xe2_HPG
Add performance tuning changes for Xe2_HPG Bspec: 72161 Signed-off-by: Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com> Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240724121521.2347524-1-sai.teja.pottumuttu@intel.com
This commit is contained in:
committed by
Matt Roper
parent
dbcbfc72d3
commit
e4ac526c44
@@ -108,6 +108,7 @@
|
||||
|
||||
#define FF_MODE XE_REG_MCR(0x6210)
|
||||
#define DIS_TE_AUTOSTRIP REG_BIT(31)
|
||||
#define VS_HIT_MAX_VALUE_MASK REG_GENMASK(25, 20)
|
||||
#define DIS_MESH_PARTIAL_AUTOSTRIP REG_BIT(16)
|
||||
#define DIS_MESH_AUTOSTRIP REG_BIT(15)
|
||||
|
||||
|
||||
@@ -93,6 +93,14 @@ static const struct xe_rtp_entry_sr lrc_tunings[] = {
|
||||
REG_FIELD_PREP(L3_PWM_TIMER_INIT_VAL_MASK, 0x7f)))
|
||||
},
|
||||
|
||||
/* Xe2_HPG */
|
||||
|
||||
{ XE_RTP_NAME("Tuning: vs hit max value"),
|
||||
XE_RTP_RULES(GRAPHICS_VERSION(2001), ENGINE_CLASS(RENDER)),
|
||||
XE_RTP_ACTIONS(FIELD_SET(FF_MODE, VS_HIT_MAX_VALUE_MASK,
|
||||
REG_FIELD_PREP(VS_HIT_MAX_VALUE_MASK, 0x3f)))
|
||||
},
|
||||
|
||||
{}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user