Skip to content

Commit fc311f1

Browse files
author
Lucas De Marchi
committed
drm/i915/gt: Drop read from GEN8_L3CNTLREG in ICL workaround
Now that non-masked registers are already read before programming the context reads, the additional read became redudant, so remove it. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230630203509.1635216-5-lucas.demarchi@intel.com
1 parent 28cf243 commit fc311f1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -637,10 +637,7 @@ static void icl_ctx_workarounds_init(struct intel_engine_cs *engine,
637637
struct i915_wa_list *wal)
638638
{
639639
/* Wa_1406697149 (WaDisableBankHangMode:icl) */
640-
wa_write(wal,
641-
GEN8_L3CNTLREG,
642-
intel_uncore_read(engine->uncore, GEN8_L3CNTLREG) |
643-
GEN8_ERRDETBCTRL);
640+
wa_write(wal, GEN8_L3CNTLREG, GEN8_ERRDETBCTRL);
644641

645642
/* WaForceEnableNonCoherent:icl
646643
* This is not the same workaround as in early Gen9 platforms, where

0 commit comments

Comments
 (0)