Skip to content

Commit 0b2f7be

Browse files
NitinGoteLucas De Marchi
authored andcommitted
drm/xe/xe3: Add WA_14024681466 for Xe3_LPG
Apply WA_14024681466 to Xe3_LPG graphics IP versions from 30.00 to 30.05. v2: (Matthew Roper) - Remove stepping filter as workaround applies to all steppings. - Add an engine class filter so it only applies to the RENDER engine. Signed-off-by: Nitin Gote <nitin.r.gote@intel.com> Link: https://patch.msgid.link/20251027092643.335904-1-nitin.r.gote@intel.com Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> (cherry picked from commit 071089a) Cc: stable@vger.kernel.org # v6.16+ Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
1 parent e9a6fb0 commit 0b2f7be

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
@@ -168,6 +168,7 @@
168168

169169
#define XEHP_SLICE_COMMON_ECO_CHICKEN1 XE_REG_MCR(0x731c, XE_REG_OPTION_MASKED)
170170
#define MSC_MSAA_REODER_BUF_BYPASS_DISABLE REG_BIT(14)
171+
#define FAST_CLEAR_VALIGN_FIX REG_BIT(13)
171172

172173
#define XE2LPM_CCCHKNREG1 XE_REG(0x82a8)
173174

drivers/gpu/drm/xe/xe_wa.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,10 @@ static const struct xe_rtp_entry_sr lrc_was[] = {
916916
XE_RTP_RULES(GRAPHICS_VERSION_RANGE(3000, 3003), ENGINE_CLASS(RENDER)),
917917
XE_RTP_ACTIONS(SET(COMMON_SLICE_CHICKEN4, SBE_PUSH_CONSTANT_BEHIND_FIX_ENABLE))
918918
},
919+
{ XE_RTP_NAME("14024681466"),
920+
XE_RTP_RULES(GRAPHICS_VERSION_RANGE(3000, 3005), ENGINE_CLASS(RENDER)),
921+
XE_RTP_ACTIONS(SET(XEHP_SLICE_COMMON_ECO_CHICKEN1, FAST_CLEAR_VALIGN_FIX))
922+
},
919923
};
920924

921925
static __maybe_unused const struct xe_rtp_entry oob_was[] = {

0 commit comments

Comments
 (0)