]> Gentwo Git Trees - linux/.git/commit
drm/i915/gt: Relocate compression repacking WA for JSL/EHL
authorSebastian Brzezinka <sebastian.brzezinka@intel.com>
Mon, 11 Aug 2025 09:12:31 +0000 (09:12 +0000)
committerAndi Shyti <andi.shyti@kernel.org>
Mon, 18 Aug 2025 21:31:41 +0000 (20:31 -0100)
commitc9932f0d604e4c8f2c6018e598a322acb43c68a2
tree62de00cd155e41ff3355dcbdd0bd0f8b55aaaad1
parent60b006b7cf0dd5e8ee99bd77fb4573e1a3956035
drm/i915/gt: Relocate compression repacking WA for JSL/EHL

CACHE_MODE_0 registers should be saved and restored as part of
the context, not during engine reset. Move the related workaround
(Disable Repacking for Compression) from rcs_engine_wa_init()
to icl_ctx_workarounds_init() for Jasper Lake and Elkhart
Lake platforms. This ensures the WA is applied during context
initialisation.

BSPEC: 11322

Fixes: 0ddae025ab6c ("drm/i915: Disable compression tricks on JSL")
Closes: Fixes: 0ddae025ab6c ("drm/i915: Disable compression tricks on JSL")
Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
Cc: stable@vger.kernel.org # v6.13+
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/4feaa24094e019e000ceb6011d8cd419b0361b3f.1754902406.git.sebastian.brzezinka@intel.com
drivers/gpu/drm/i915/gt/intel_workarounds.c