drm/xe/xelpmp: Add Wa_16021867713
This workaround applies to all steppings of Xe_LPM+. Implement the KMD part. Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://lore.kernel.org/r/20231106210655.175109-3-gustavo.sousa@intel.com Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
committed by
Rodrigo Vivi
parent
670e811d1f
commit
6ffef7b699
@@ -118,4 +118,7 @@
|
||||
#define VDBOX_CGCTL3F18(base) XE_REG((base) + 0x3f18)
|
||||
#define ALNUNIT_CLKGATE_DIS REG_BIT(13)
|
||||
|
||||
#define VDBOX_CGCTL3F1C(base) XE_REG((base) + 0x3f1c)
|
||||
#define MFXPIPE_CLKGATE_DIS REG_BIT(3)
|
||||
|
||||
#endif
|
||||
|
||||
@@ -248,6 +248,12 @@ static const struct xe_rtp_entry_sr gt_was[] = {
|
||||
|
||||
/* Xe_LPM+ */
|
||||
|
||||
{ XE_RTP_NAME("16021867713"),
|
||||
XE_RTP_RULES(MEDIA_VERSION(1300),
|
||||
ENGINE_CLASS(VIDEO_DECODE)),
|
||||
XE_RTP_ACTIONS(SET(VDBOX_CGCTL3F1C(0), MFXPIPE_CLKGATE_DIS)),
|
||||
XE_RTP_ENTRY_FLAG(FOREACH_ENGINE),
|
||||
},
|
||||
{ XE_RTP_NAME("22016670082"),
|
||||
XE_RTP_RULES(MEDIA_VERSION(1300)),
|
||||
XE_RTP_ACTIONS(SET(XELPMP_SQCNT1, ENFORCE_RAR))
|
||||
|
||||
Reference in New Issue
Block a user