Skip to content

Commit

Permalink
drm/xe/xelpmp: Extend Wa_22016670082 to Xe_LPM+
Browse files Browse the repository at this point in the history
Add Xe_LPM+ support to an existing workaround.

BSpec: 51762
Signed-off-by: Shekhar Chauhan <shekhar.chauhan@intel.com>
Link: https://lore.kernel.org/r/20231030150756.1011777-1-shekhar.chauhan@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
  • Loading branch information
Shekhar Chauhan authored and Rodrigo Vivi committed Dec 21, 2023
1 parent b8d7070 commit 7eea3fb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/xe/regs/xe_gt_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
#define POLYGON_TRIFAN_LINELOOP_DISABLE REG_BIT(4)

#define SQCNT1 XE_REG_MCR(0x8718)
#define XELPMP_SQCNT1 XE_REG(0x8718)
#define ENFORCE_RAR REG_BIT(23)

#define XEHP_SQCM XE_REG_MCR(0x8724)
Expand Down
7 changes: 7 additions & 0 deletions drivers/gpu/drm/xe/xe_wa.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,13 @@ static const struct xe_rtp_entry_sr gt_was[] = {
XE_RTP_ACTIONS(SET(SQCNT1, ENFORCE_RAR))
},

/* Xe_LPM+ */

{ XE_RTP_NAME("22016670082"),
XE_RTP_RULES(MEDIA_VERSION(1300)),
XE_RTP_ACTIONS(SET(XELPMP_SQCNT1, ENFORCE_RAR))
},

/* Xe2_LPG */

{ XE_RTP_NAME("16020975621"),
Expand Down

0 comments on commit 7eea3fb

Please sign in to comment.