Skip to content

Commit fb899dd

Browse files
committed
drm/i915: Apply Wa_1406680159:icl,ehl as an engine workaround
The register this workaround updates is a render engine register in the MCR range, so we should initialize this in rcs_engine_wa_init() rather than gt_wa_init(). Closes: https://gitlab.freedesktop.org/drm/intel/issues/1222 Fixes: 36204d8 ("drm/i915/icl: Wa_1406680159") Cc: Mika Kuoppala <[email protected]> Signed-off-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Mika Kuoppala <[email protected]>
1 parent 14f49be commit fb899dd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -920,11 +920,6 @@ icl_gt_workarounds_init(struct drm_i915_private *i915, struct i915_wa_list *wal)
920920
SLICE_UNIT_LEVEL_CLKGATE,
921921
MSCUNIT_CLKGATE_DIS);
922922

923-
/* Wa_1406680159:icl */
924-
wa_write_or(wal,
925-
SUBSLICE_UNIT_LEVEL_CLKGATE,
926-
GWUNIT_CLKGATE_DIS);
927-
928923
/* Wa_1406838659:icl (pre-prod) */
929924
if (IS_ICL_REVID(i915, ICL_REVID_A0, ICL_REVID_B0))
930925
wa_write_or(wal,
@@ -1487,6 +1482,11 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal)
14871482
/* Wa_1407352427:icl,ehl */
14881483
wa_write_or(wal, UNSLICE_UNIT_LEVEL_CLKGATE2,
14891484
PSDUNIT_CLKGATE_DIS);
1485+
1486+
/* Wa_1406680159:icl,ehl */
1487+
wa_write_or(wal,
1488+
SUBSLICE_UNIT_LEVEL_CLKGATE,
1489+
GWUNIT_CLKGATE_DIS);
14901490
}
14911491

14921492
if (IS_GEN_RANGE(i915, 9, 12)) {

0 commit comments

Comments
 (0)