drm/xe/vf: Fix exec queue creation during post-migration recovery
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 3 repliesIn review
- v34 patches 5 repliesSuperseded
- v25 patches 10 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 6 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/xe/queue: Call fini on exec queue creation faildrivers/ drivers/ | +13 | 0 replies | |
| 2/4 | drm/xe: Wrappers for setting and getting LRC referencesdrivers/ drivers/ drivers/ | +60 | 1 reply | |
| 3/4 | drm/xe/vf: Wait for all fixups before using default LRCsdrivers/ drivers/ | +10 | 0 replies | |
| 4/4 | drm/xe/vf: Redo LRC creation while in VF fixupsdrivers/ drivers/ drivers/ +1 more | +59 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Matthew Brost |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/4] drm/xe/vf: Fix exec queue creation during post-migration recovery
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.
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(-)
Signature · 1 line
2.25.1