Skip to content

Commit e5c13e2

Browse files
aradhyab7mattrope
authored andcommitted
drm/xe/xe2hpg: Add Wa_22021007897
Add Wa_22021007897 for the Xe2_HPG (graphics version: 20.01) IP. It is a permanent workaround, and applicable on all the steppings. Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com> Signed-off-by: Aradhya Bhatia <aradhya.bhatia@intel.com> Link: https://lore.kernel.org/r/20250512065004.2576-1-aradhya.bhatia@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
1 parent cef88d1 commit e5c13e2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

drivers/gpu/drm/xe/regs/xe_gt_regs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
#define XEHPG_SC_INSTDONE_EXTRA2 XE_REG_MCR(0x7108)
157157

158158
#define COMMON_SLICE_CHICKEN4 XE_REG(0x7300, XE_REG_OPTION_MASKED)
159+
#define SBE_PUSH_CONSTANT_BEHIND_FIX_ENABLE REG_BIT(12)
159160
#define DISABLE_TDC_LOAD_BALANCING_CALC REG_BIT(6)
160161

161162
#define COMMON_SLICE_CHICKEN3 XE_REG(0x7304, XE_REG_OPTION_MASKED)

drivers/gpu/drm/xe/xe_wa.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,10 @@ static const struct xe_rtp_entry_sr lrc_was[] = {
827827
XE_RTP_RULES(GRAPHICS_VERSION(2001), ENGINE_CLASS(RENDER)),
828828
XE_RTP_ACTIONS(SET(CHICKEN_RASTER_1, DIS_CLIP_NEGATIVE_BOUNDING_BOX))
829829
},
830+
{ XE_RTP_NAME("22021007897"),
831+
XE_RTP_RULES(GRAPHICS_VERSION(2001), ENGINE_CLASS(RENDER)),
832+
XE_RTP_ACTIONS(SET(COMMON_SLICE_CHICKEN4, SBE_PUSH_CONSTANT_BEHIND_FIX_ENABLE))
833+
},
830834

831835
/* Xe3_LPG */
832836
{ XE_RTP_NAME("14021490052"),

0 commit comments

Comments
 (0)