Skip to content

drm/xe: Fix two bind races

Thomas Hellström 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: Make page-table updates using the default engine happen in orderdrivers/gpu/drm/xe/xe_migrate.c+2 -11 reply
2/2drm/xe: Fix the separate bind-engine race using coarse-granularity dependenciesdrivers/gpu/drm/xe/xe_migrate.c drivers/gpu/drm/xe/xe_migrate.h drivers/gpu/drm/xe/xe_pt.c +2 more+61 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMatthew Brost
1/2R-b
2/2

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] drm/xe: Fix two bind races

The first patch fixes a race where, if the default bind engine was used for a page-table-update operation, a following operation using the same bind-engine could attempt a CPU page-table update while the first operation was still ongoing.

The second patch provides a coarse-granularity fix for the long standing separate-bind-engine-same-range race. See that commit message for a detailed discussion.

Thomas Hellström (2):
drm/xe: Make page-table updates using the default engine happen in
order
drm/xe: Fix the separate bind-engine race using coarse-granularity
dependencies

 drivers/gpu/drm/xe/xe_migrate.c  |  5 +++-
 drivers/gpu/drm/xe/xe_migrate.h  |  2 ++
 drivers/gpu/drm/xe/xe_pt.c       | 48 ++++++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_vm.c       |  1 +
 drivers/gpu/drm/xe/xe_vm_types.h |  8 ++++++
 5 files changed, 63 insertions(+), 1 deletion(-)
Signature · 1 line
2.40.1