All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/xe: Hold a fence reference while waiting for migration
@ 2026-11-20  7:08 Bommu Krishnaiah
  2026-11-20  7:08 ` [PATCH 1/2] " Bommu Krishnaiah
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bommu Krishnaiah @ 2026-11-20  7:08 UTC (permalink / raw)
  To: intel-xe; +Cc: Bommu Krishnaiah

This series addresses a potential race between xe_migrate_wait() and migration
submissions replacing m->fence.

Patch 1 takes a fence reference under job_mutex, then waits outside the lock.
Patch 2 centralizes fence replacement in a helper, documents the access rules,
and uses scoped_guard when taking the waiter's reference.

Bommu Krishnaiah (2):
  drm/xe: Hold a fence reference while waiting for migration
  drm/xe: Centralize migration fence updates

 drivers/gpu/drm/xe/xe_migrate.c | 42 +++++++++++++++++++++------------
 1 file changed, 27 insertions(+), 15 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-11-24 22:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20  7:08 [PATCH 0/2] drm/xe: Hold a fence reference while waiting for migration Bommu Krishnaiah
2026-11-20  7:08 ` [PATCH 1/2] " Bommu Krishnaiah
2026-11-24 21:55   ` Matthew Brost
2026-11-20  7:08 ` [PATCH 2/2] drm/xe: Centralize migration fence updates Bommu Krishnaiah
2026-11-24 21:56   ` Matthew Brost
2026-11-20  8:10 ` ✓ CI.KUnit: success for drm/xe: Hold a fence reference while waiting for migration (rev2) Patchwork
2026-11-20  9:01 ` ✓ Xe.CI.BAT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.