Skip to content

Commit 56781a4

Browse files
mattroperodrigovivi
authored andcommitted
drm/xe: Implement recent spec updates to Wa_16025250150
The hardware teams noticed that the originally documented workaround steps for Wa_16025250150 may not be sufficient to fully avoid a hardware issue. The workaround documentation has been augmented to suggest programming one additional register; make the corresponding change in the driver. Fixes: 7654d51 ("drm/xe/xe2hpg: Add Wa_16025250150") Reviewed-by: Matt Atwood <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Matt Roper <[email protected]> (cherry picked from commit a315667) Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent 87997b6 commit 56781a4

2 files changed

Lines changed: 3 additions & 1 deletion

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
@@ -553,6 +553,7 @@
553553
#define ENABLE_SMP_LD_RENDER_SURFACE_CONTROL REG_BIT(44 - 32)
554554
#define FORCE_SLM_FENCE_SCOPE_TO_TILE REG_BIT(42 - 32)
555555
#define FORCE_UGM_FENCE_SCOPE_TO_TILE REG_BIT(41 - 32)
556+
#define L3_128B_256B_WRT_DIS REG_BIT(40 - 32)
556557
#define MAXREQS_PER_BANK REG_GENMASK(39 - 32, 37 - 32)
557558
#define DISABLE_128B_EVICTION_COMMAND_UDW REG_BIT(36 - 32)
558559

drivers/gpu/drm/xe/xe_wa.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,8 @@ static const struct xe_rtp_entry_sr gt_was[] = {
247247
LSN_DIM_Z_WGT_MASK,
248248
LSN_LNI_WGT(1) | LSN_LNE_WGT(1) |
249249
LSN_DIM_X_WGT(1) | LSN_DIM_Y_WGT(1) |
250-
LSN_DIM_Z_WGT(1)))
250+
LSN_DIM_Z_WGT(1)),
251+
SET(LSC_CHICKEN_BIT_0_UDW, L3_128B_256B_WRT_DIS))
251252
},
252253

253254
/* Xe2_HPM */

0 commit comments

Comments
 (0)