Skip to content

Commit da5d2ca

Browse files
mikuintickle
authored andcommitted
drm/i915/icl: Wa_1607087056
Avoid possible hang in tsg,vfe units by keeping l3 clocks runnings. Signed-off-by: Mika Kuoppala <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 1930650 commit da5d2ca

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,11 @@ icl_gt_workarounds_init(struct drm_i915_private *i915, struct i915_wa_list *wal)
892892
wa_write_or(wal,
893893
GAMT_CHKN_BIT_REG,
894894
GAMT_CHKN_DISABLE_L3_COH_PIPE);
895+
896+
/* Wa_1607087056:icl */
897+
wa_write_or(wal,
898+
SLICE_UNIT_LEVEL_CLKGATE,
899+
L3_CLKGATE_DIS | L3_CR2X_CLKGATE_DIS);
895900
}
896901

897902
static void

drivers/gpu/drm/i915/i915_reg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4050,6 +4050,8 @@ enum {
40504050
#define SARBUNIT_CLKGATE_DIS (1 << 5)
40514051
#define RCCUNIT_CLKGATE_DIS (1 << 7)
40524052
#define MSCUNIT_CLKGATE_DIS (1 << 10)
4053+
#define L3_CLKGATE_DIS REG_BIT(16)
4054+
#define L3_CR2X_CLKGATE_DIS REG_BIT(17)
40534055

40544056
#define SUBSLICE_UNIT_LEVEL_CLKGATE _MMIO(0x9524)
40554057
#define GWUNIT_CLKGATE_DIS (1 << 16)

0 commit comments

Comments
 (0)