Skip to content

drm/i915/gt: Relocate context-specific workarounds

Sebastian Brzezinka intel-gfx stable 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- clarify commit message

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/gt: Relocate compression repacking WA for JSL/EHLdrivers/gpu/drm/i915/gt/intel_workarounds.c+11 -90 replies
2/3drm/i915/gt: Relocate Gen7 context-specific workaroundsdrivers/gpu/drm/i915/gt/intel_workarounds.c+11 -120 replies
3/3drm/i915/gt: Relocate Gen6 context-specific workarounddrivers/gpu/drm/i915/gt/intel_workarounds.c+3 -30 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAndi ShytiKrzysztof Karas
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] drm/i915/gt: Relocate context-specific workarounds

This series cleans up the placement of several context-specific workarounds in the i915 driver by moving them from rcs_engine_wa_init() to the appropriate *_ctx_workarounds_init() functions. This improves clarity and ensures that platform-specific workarounds are applied during context initialization, as intended.

It also aligns with the hardware documentation, which mandates that certain CACHE_MODE_0 and CACHE_MODE_1 register settings be applied during context initialization to ensure correct GPU behavior.

If some workarounds remain in rcs_engine_wa_init(), it's due to issues encountered while attempting to move them, such as the workaround not sticking when applied in context, or other platform-specific constraints that require further investigation.

v1 -> v2:
- clarify commit message

Sebastian Brzezinka (3):
drm/i915/gt: Relocate compression repacking WA for JSL/EHL drm/i915/gt: Relocate Gen7 context-specific workarounds drm/i915/gt: Relocate Gen6 context-specific workaround

 drivers/gpu/drm/i915/gt/intel_workarounds.c | 49 +++++++++++----------
 1 file changed, 25 insertions(+), 24 deletions(-)
Signature · 1 line
2.34.1