Skip to content

Commit 45810b4

Browse files
msatwoodmattrope
authored andcommitted
drm/i915/dg2: introduce Wa_22015475538
Wa_22015475538 applies to all DG2 (and ATSM) skus. The workaround implementation is identical to Wa_16011620976. LSC_CHICKEN_BIT_0_UDW is a general render register instead of rcs so adding this move to the proper wa init function. bspec:54077 Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220920204359.103370-1-matthew.s.atwood@intel.com
1 parent 7d33fd0 commit 45810b4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

drivers/gpu/drm/i915/gt/intel_workarounds.c

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2118,9 +2118,6 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal)
21182118
if (IS_DG2_GRAPHICS_STEP(i915, G11, STEP_A0, STEP_B0)) {
21192119
/* Wa_14013392000:dg2_g11 */
21202120
wa_masked_en(wal, GEN7_ROW_CHICKEN2, GEN12_ENABLE_LARGE_GRF_MODE);
2121-
2122-
/* Wa_16011620976:dg2_g11 */
2123-
wa_write_or(wal, LSC_CHICKEN_BIT_0_UDW, DIS_CHAIN_2XSIMD8);
21242121
}
21252122

21262123
if (IS_DG2_GRAPHICS_STEP(i915, G10, STEP_B0, STEP_FOREVER) ||
@@ -2790,6 +2787,14 @@ general_render_compute_wa_init(struct intel_engine_cs *engine, struct i915_wa_li
27902787
wa_write_or(wal, VDBX_MOD_CTRL, FORCE_MISS_FTLB);
27912788
wa_write_or(wal, VEBX_MOD_CTRL, FORCE_MISS_FTLB);
27922789
}
2790+
2791+
if (IS_DG2(i915)) {
2792+
/*
2793+
* Wa_16011620976:dg2_g11
2794+
* Wa_22015475538:dg2
2795+
*/
2796+
wa_write_or(wal, LSC_CHICKEN_BIT_0_UDW, DIS_CHAIN_2XSIMD8);
2797+
}
27932798
}
27942799

27952800
static void

0 commit comments

Comments
 (0)