[PATCH 2/3] drm/i915/gt: Relocate Gen7 context-specific workarounds

Andi Shyti andi.shyti at kernel.org
Sat Aug 9 00:31:38 UTC 2025


Hi Sebastian,

On Fri, Aug 01, 2025 at 09:49:01AM +0000, Sebastian Brzezinka wrote:
> The workarounds for disabling Render Cache Operational Flush and
> PIXEL_SUBSPAN_COLLECT_OPT_DISABLE were previously applied in
> rcs_engine_wa_init(). These are specific to Gen7 platforms
> so move them to gen7_ctx_workarounds_init() for better alignment with
> platform-specific initialization.

Same thing here, I would rewrite it as:

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

BSPEC: 55885

> Signed-off-by: Sebastian Brzezinka <sebastian.brzezinka at intel.com>

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>

Thanks,
Andi


More information about the Intel-gfx mailing list