]> Gentwo Git Trees - linux/.git/commit
drm/i915/gt: Relocate Gen6 context-specific workaround
authorSebastian Brzezinka <sebastian.brzezinka@intel.com>
Mon, 11 Aug 2025 09:12:45 +0000 (09:12 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 18 Aug 2025 21:32:25 +0000 (20:32 -0100)
commitb7a855f488c6825e3dc06e78c49326491bef6f98
treed353c85854fef2de151e0e7947bbfc1d883938c5
parent77a16455fae43e304e6adaf83da5b2ba6f3ad1ad
drm/i915/gt: Relocate Gen6 context-specific workaround

CACHE_MODE_0 register should be saved and restored as part
of the context, not during engine reset. Move the related
workaround (RC_OP_FLUSH_ENABLE) from rcs_engine_wa_init() to
gen6_ctx_workarounds_init() for Gen6 platforms. This ensures the WA
is applied during context initialisation.

CM0_STC_EVICT_DISABLE_LRA_SNB is also Gen6-specific, but it does
not stick when applied in context, so it remains in engine init.

BSPEC: 11322

Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://lore.kernel.org/r/f493bab389e51b2faf7c9a439724e9ea9ca04053.1754902406.git.sebastian.brzezinka@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c