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: 0ddae025 ("drm/i915: Disable compression tricks on JSL") Closes: Fixes: 0ddae025 ("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
Loading
Please sign in to comment