drm/i915: Extend Wa_1606931601 for all steppings.
Subsystems (2)
PATCH 1/2 drm/i915: Extend Wa_1606931601 for all steppings.
From: Anusha Srivatsa <[email protected]>
According to BSpec. Wa_1606931601 applies for all TGL steppings.This patch moves the WA implementation out of A0 only block of rcs_engine_wa_init().
The WA is has also been referred to by an alternate name Wa_1607090982.
Bspec: 46045,52890
Fixes 3873fd1a43c7 ("drm/i915: Use engine wa list for Wa_1607090982")
Cc Mika Kuoppala <[email protected]>
Signed-off-by Anusha Srivatsa <[email protected]>
Reviewed-by Matt Roper <[email protected]>
--- drivers/gpu/drm/i915/gt/intel_workarounds.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/gt/intel_workarounds.c +7 -5
@@ -1329,6 +1329,13 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal) {struct drm_i915_private *i915 = engine->i915; +if (IS_TIGERLAKE (i915)) { +/* Wa_1606931601:tgl */ +wa_masked_en (wal, +GEN7_ROW_CHICKEN2 , +GEN12_DISABLE_EARLY_READ ); + } +if (IS_TGL_REVID (i915,TGL_REVID_A0 ,TGL_REVID_A0 )) {/* Wa_1606700617:tgl */ wa_masked_en(wal,
@@ -1360,11 +1367,6 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal)wa_write_or (wal,GEN7_FF_THREAD_MODE ,GEN12_FF_TESSELATION_DOP_GATE_DISABLE ); - -/* Wa_1606931601:tgl */ -wa_masked_en (wal, -GEN7_ROW_CHICKEN2 , -GEN12_DISABLE_EARLY_READ ); }if (IS_GEN (i915,11 )) {
Signature · 6 lines
2.21.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/1 drm/i915/tgl: Add Wa_1409085225, Wa_14010229206
Disable Push Constant buffer addition for TGL.
v2: typos, add additional Wa reference
v3: use REG_BIT macro, move to rcs_engine_wa_init, clean up commit message.
Bspec: 52890
Cc Rafael Antognolli <[email protected]>
Cc Matt Roper <[email protected]>
Signed-off-by Matt Atwood <[email protected]>
--- drivers/gpu/drm/i915/gt/intel_workarounds.c | 5 +++++ drivers/gpu/drm/i915/i915_reg.h | 3 +++ 2 files changed, 8 insertions(+)
drivers/gpu/drm/i915/gt/intel_workarounds.c +5 -0
@@ -1334,6 +1334,11 @@ rcs_engine_wa_init(struct intel_engine_cs *engine, struct i915_wa_list *wal)wa_masked_en (wal,GEN7_ROW_CHICKEN2 ,GEN12_DISABLE_EARLY_READ ); +/* +* Wa_1409085225:tgl +* Wa_14010229206:tgl +*/ +WA_SET_BIT_MASKED (GEN9_ROW_CHICKEN4 ,GEN12_DISABLE_TDL_PUSH ); }if (IS_TGL_REVID (i915,TGL_REVID_A0 ,TGL_REVID_A0 )) {
drivers/gpu/drm/i915/i915_reg.h +3 -0
@@ -9153,6 +9153,9 @@ enum {#define PUSH_CONSTANT_DEREF_DISABLE (1 << 8)#define GEN11_TDL_CLOCK_GATING_FIX_DISABLE (1 << 1) +#define GEN9_ROW_CHICKEN4 _MMIO(0xe48c) +#define GEN12_DISABLE_TDL_PUSH REG_BIT(9) +#define HSW_ROW_CHICKEN3 _MMIO(0xe49c)#define HSW_ROW_CHICKEN3_L3_GLOBAL_ATOMICS_DISABLE (1 << 6)
Signature · 6 lines
2.21.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx