Skip to content

drm/xe: Fix tile workaround resume handling and enable Wa_14028586678

Daniel Charles intel-xe 1 version Applied

Status from this message: Applied to drm-xe-next. Thanks for the patches!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2drm/xe/pm: Apply tile workarounds after PCODE initializationdrivers/gpu/drm/xe/xe_pm.c+7 -31 reply
2/2drm/xe/cri: Implement Wa_14028586678drivers/gpu/drm/xe/regs/xe_mert_regs.h drivers/gpu/drm/xe/xe_device_wa_oob.rules drivers/gpu/drm/xe/xe_wa.c+12 -01 reply

Reviews trailers per patch

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

PatchMatt Roper
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] drm/xe: Fix tile workaround resume handling and enable Wa_14028586678

This series implements Wa_14028586678 on Crescent Island using the existing device OOB rule and per-tile workaround helper.

The first patch fixes general tile-workaround resume handling: wait for PCODE initialization before applying tile workarounds on system resume, and reapply them after PCODE initialization on D3cold runtime resume. Both paths apply tile workarounds before early GT resume.

The second patch enables Wa_14028586678, setting DWNSTRM_ACCESS_MODE bits [7:6] to 0x3 and [5:4] to 0x0 while preserving all other fields. The register is programmed on each tile, assuming identical workaround values across tiles. SR-IOV VFs are excluded by the existing tile helper.

This replaces the previous single-patch v5 submission. Following Matt Roper's review, the PM changes are now a separate prerequisite patch with their own explanation and Fixes tag:
https://patchwork.freedesktop.org/patch/764671/?series=177283&rev=2#comment_1411234

The other review comments are also addressed: the class-of-service macro is named L3_CLOS, and the redundant MERT capability check and its unused header include have been removed. The device OOB rule selects the affected platform.

Daniel Charles (1):
drm/xe/pm: Apply tile workarounds after PCODE initialization

Fei Yang (1):
drm/xe/cri: Implement Wa_14028586678

 drivers/gpu/drm/xe/regs/xe_mert_regs.h    |  4 ++++
 drivers/gpu/drm/xe/xe_device_wa_oob.rules |  1 +
 drivers/gpu/drm/xe/xe_pm.c                | 10 +++++++---
 drivers/gpu/drm/xe/xe_wa.c                |  7 +++++++
 4 files changed, 19 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0