Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH 0/2] drm/xe: Fix two bind races
@ 2023-06-29 20:51 Thomas Hellström
  2023-06-29 20:51 ` [Intel-xe] [PATCH 1/2] drm/xe: Make page-table updates using the default engine happen in order Thomas Hellström
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Thomas Hellström @ 2023-06-29 20:51 UTC (permalink / raw)
  To: intel-xe

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-07-02 21:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29 20:51 [Intel-xe] [PATCH 0/2] drm/xe: Fix two bind races Thomas Hellström
2023-06-29 20:51 ` [Intel-xe] [PATCH 1/2] drm/xe: Make page-table updates using the default engine happen in order Thomas Hellström
2023-06-30  2:18   ` Matthew Brost
2023-06-29 20:51 ` [Intel-xe] [PATCH 2/2] drm/xe: Fix the separate bind-engine race using coarse-granularity dependencies Thomas Hellström
2023-07-01  4:21   ` Matthew Brost
2023-07-02 21:13     ` Thomas Hellström
2023-06-29 20:54 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Fix two bind races Patchwork
2023-06-29 20:54 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-06-29 20:56 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-06-29 20:59 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-06-29 21:00 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-06-29 21:01 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-06-29 21:45 ` [Intel-xe] ○ CI.BAT: info " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox