Skip to content

Commit 7eea3fb

Browse files
shekhar-chauhanrodrigovivi
authored andcommitted
drm/xe/xelpmp: Extend Wa_22016670082 to Xe_LPM+
Add Xe_LPM+ support to an existing workaround. BSpec: 51762 Signed-off-by: Shekhar Chauhan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matt Roper <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent b8d7070 commit 7eea3fb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-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
@@ -152,6 +152,7 @@
152152
#define POLYGON_TRIFAN_LINELOOP_DISABLE REG_BIT(4)
153153

154154
#define SQCNT1 XE_REG_MCR(0x8718)
155+
#define XELPMP_SQCNT1 XE_REG(0x8718)
155156
#define ENFORCE_RAR REG_BIT(23)
156157

157158
#define XEHP_SQCM XE_REG_MCR(0x8724)

drivers/gpu/drm/xe/xe_wa.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,13 @@ static const struct xe_rtp_entry_sr gt_was[] = {
246246
XE_RTP_ACTIONS(SET(SQCNT1, ENFORCE_RAR))
247247
},
248248

249+
/* Xe_LPM+ */
250+
251+
{ XE_RTP_NAME("22016670082"),
252+
XE_RTP_RULES(MEDIA_VERSION(1300)),
253+
XE_RTP_ACTIONS(SET(XELPMP_SQCNT1, ENFORCE_RAR))
254+
},
255+
249256
/* Xe2_LPG */
250257

251258
{ XE_RTP_NAME("16020975621"),

0 commit comments

Comments
 (0)