[Intel-xe] [PATCH 0/2] drm/xe: Fix two bind races

Thomas Hellström thomas.hellstrom at linux.intel.com
Thu Jun 29 20:51:32 UTC 2023


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(-)

-- 
2.40.1



More information about the Intel-xe mailing list