Skip to content

Fix multiple engine (un)bind races

Matthew Brost intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Introduce a range-fence utilitydrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_range_fence.c drivers/gpu/drm/xe/xe_range_fence.h+215 -02 replies
2/2drm/xe: Make bind engines safedrivers/gpu/drm/xe/xe_migrate.c drivers/gpu/drm/xe/xe_migrate.h drivers/gpu/drm/xe/xe_pt.c +2 more+141 -01 reply

Reviews trailers per patch

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

PatchMatthew BrostMaarten Lankhorst
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 [Intel-xe] [PATCH 0/2] Fix multiple engine (un)bind races

Described more in detail in [1].

Have test which exposes race in tip of drm-xe-tip, fixed after this series [2].

Matt

[1] https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/41
[2] https://patchwork.freedesktop.org/patch/546468/?series=120471&rev=1

Matthew Brost (1):
drm/xe: Make bind engines safe

Thomas Hellström (1):
drm/xe: Introduce a range-fence utility

 drivers/gpu/drm/xe/Makefile         |   1 +
 drivers/gpu/drm/xe/xe_migrate.c     |   2 +
 drivers/gpu/drm/xe/xe_migrate.h     |   8 ++
 drivers/gpu/drm/xe/xe_pt.c          | 115 +++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_range_fence.c | 136 ++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_range_fence.h |  78 ++++++++++++++++
 drivers/gpu/drm/xe/xe_vm.c          |   9 ++
 drivers/gpu/drm/xe/xe_vm_types.h    |   7 ++
 8 files changed, 356 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/xe_range_fence.c
 create mode 100644 drivers/gpu/drm/xe/xe_range_fence.h
Signature · 1 line
2.34.1