Skip to content

RFC LNL_FLUSH_* enhancements

Matthew Brost intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Scope LNL_FLUSH_* workaround to affected CPUs, not GPU platformdrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_cpu_info.c drivers/gpu/drm/xe/xe_cpu_info.h +8 more+210 -170 replies
2/2drm/xe: Add DRM_XE_DEBUG_FLUSH_WA to force the CPU flush workaround ondrivers/gpu/drm/xe/Kconfig.debug drivers/gpu/drm/xe/xe_device_types.h drivers/gpu/drm/xe/xe_pci.c+20 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] LNL_FLUSH_* enhancements

The LNL_FLUSH_* workaround is a horrid hack that has been papering over bugs. Let's limit its scope to determine whether it is actually needed on newer platforms and add more debug information for cases where it still occurs.

This came up again in the context of this series [1].

Matt

[1] https://patchwork.freedesktop.org/series/170916/

Matthew Brost (2):
drm/xe: Scope LNL_FLUSH_* workaround to affected CPUs, not GPU
platform
drm/xe: Add DRM_XE_DEBUG_FLUSH_WA to force the CPU flush workaround on

 drivers/gpu/drm/xe/Kconfig.debug        | 16 ++++++
 drivers/gpu/drm/xe/Makefile             |  1 +
 drivers/gpu/drm/xe/xe_cpu_info.c        | 67 +++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_cpu_info.h        | 13 +++++
 drivers/gpu/drm/xe/xe_device.h          | 35 +++++++++----
 drivers/gpu/drm/xe/xe_device_types.h    | 10 ++++
 drivers/gpu/drm/xe/xe_guc_ct.c          | 56 +++++++++++++++++++--
 drivers/gpu/drm/xe/xe_guc_ct.h          |  1 +
 drivers/gpu/drm/xe/xe_guc_tlb_inval.c   |  2 +-
 drivers/gpu/drm/xe/xe_pci.c             | 10 ++++
 drivers/gpu/drm/xe/xe_tlb_inval.c       | 28 +++++++++++
 drivers/gpu/drm/xe/xe_wait_user_fence.c |  6 ++-
 12 files changed, 228 insertions(+), 17 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_cpu_info.c
 create mode 100644 drivers/gpu/drm/xe/xe_cpu_info.h
Signature · 1 line
2.34.1