Skip to content

Commit 8776b02

Browse files
tejasuprodrigovivi
authored andcommitted
drm/xe/xe2hpg: Add Wa_14021821874
Wa_14021821874 applies to xe2_hpg V2(Himal): - Use space after define Cc: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Signed-off-by: Tejas Upadhyay <tejas.upadhyay@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/20240812134117.813670-1-tejas.upadhyay@intel.com (cherry picked from commit 21ff3a1) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent f5cb127 commit 8776b02

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@
437437
#define DIS_FIX_EOT1_FLUSH REG_BIT(9)
438438

439439
#define TDL_TSL_CHICKEN XE_REG_MCR(0xe4c4, XE_REG_OPTION_MASKED)
440+
#define STK_ID_RESTRICT REG_BIT(12)
440441
#define SLM_WMTP_RESTORE REG_BIT(11)
441442

442443
#define ROW_CHICKEN XE_REG_MCR(0xe4f0, 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
@@ -542,6 +542,10 @@ static const struct xe_rtp_entry_sr engine_was[] = {
542542
XE_RTP_RULES(GRAPHICS_VERSION(2001), ENGINE_CLASS(RENDER)),
543543
XE_RTP_ACTIONS(SET(HALF_SLICE_CHICKEN7, CLEAR_OPTIMIZATION_DISABLE))
544544
},
545+
{ XE_RTP_NAME("14021821874"),
546+
XE_RTP_RULES(GRAPHICS_VERSION(2001), FUNC(xe_rtp_match_first_render_or_compute)),
547+
XE_RTP_ACTIONS(SET(TDL_TSL_CHICKEN, STK_ID_RESTRICT))
548+
},
545549

546550
/* Xe2_LPM */
547551

0 commit comments

Comments
 (0)