Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] drm/xe/vf: Fix exec queue creation during post-migration recovery
@ 2026-02-26 21:26 Tomasz Lis
  2026-02-26 21:26 ` [PATCH v4 1/4] drm/xe/queue: Call fini on exec queue creation fail Tomasz Lis
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Tomasz Lis @ 2026-02-26 21:26 UTC (permalink / raw)
  To: intel-xe
  Cc: Michał Winiarski, Michał Wajdeczko,
	Piotr Piórkowski, Matthew Brost

Fix a few issues which sporadically happen due to a race between
post-migration fixups procedure, and exec queue creation routine.

Tests which create a lot of exec queues were sporadically failing
due to one of LRCs having its state within VRAM damaged. This series
fixes all such issues, by prolonging wait for fixups within EQ
creation, and also re-creating the one LRC whose creation happened
at the time of VF switch.

v2: Add a patch with atomic value increase which allowed to solve the
  few very rare test fails which were still happening.

v3: Reuse _xe_exec_queue_fini(). Add setter and getter for LRC
  references. Move fixups confirmation forwardr in time. Refactor
  changes to __xe_exec_queue_init().

v4: Separate lock, only for LRCs. Kerneldoc fixes. Rename
  fixups_complete_count.

Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>

Tomasz Lis (4):
  drm/xe/queue: Call fini on exec queue creation fail
  drm/xe: Wrappers for setting and getting LRC references
  drm/xe/vf: Wait for all fixups before using default LRCs
  drm/xe/vf: Redo LRC creation while in VF fixups

 drivers/gpu/drm/xe/xe_exec_queue.c        | 123 +++++++++++++++-------
 drivers/gpu/drm/xe/xe_exec_queue.h        |   1 +
 drivers/gpu/drm/xe/xe_exec_queue_types.h  |   5 +
 drivers/gpu/drm/xe/xe_gt_sriov_vf.c       |  54 ++++++++--
 drivers/gpu/drm/xe/xe_gt_sriov_vf.h       |   3 +-
 drivers/gpu/drm/xe/xe_gt_sriov_vf_types.h |   4 +-
 drivers/gpu/drm/xe/xe_lrc.h               |   3 +-
 7 files changed, 141 insertions(+), 52 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2026-02-27 13:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-26 21:26 [PATCH v4 0/4] drm/xe/vf: Fix exec queue creation during post-migration recovery Tomasz Lis
2026-02-26 21:26 ` [PATCH v4 1/4] drm/xe/queue: Call fini on exec queue creation fail Tomasz Lis
2026-02-26 21:26 ` [PATCH v4 2/4] drm/xe: Wrappers for setting and getting LRC references Tomasz Lis
2026-02-26 23:01   ` Matthew Brost
2026-02-26 21:27 ` [PATCH v4 3/4] drm/xe/vf: Wait for all fixups before using default LRCs Tomasz Lis
2026-02-26 21:27 ` [PATCH v4 4/4] drm/xe/vf: Redo LRC creation while in VF fixups Tomasz Lis
2026-02-26 23:14   ` Matthew Brost
2026-02-26 21:32 ` ✓ CI.KUnit: success for drm/xe/vf: Fix exec queue creation during post-migration recovery (rev4) Patchwork
2026-02-26 22:21 ` ✓ Xe.CI.BAT: " Patchwork
2026-02-27  3:43 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-02-27 13:25   ` Lis, Tomasz

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