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 <[email protected]> Reviewed-by: Himal Prasad Ghimiray <[email protected]> Signed-off-by: Tejas Upadhyay <[email protected]> Reviewed-by: Matt Roper <[email protected]> Signed-off-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 21ff3a1) Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent f5cb127 commit 8776b02

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
@@ -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)