Skip to content

Prep patches for 1 job per VM bind IOCTL

Matthew Brost intel-xe 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 1 replyIn review
  2. v213 patches 0 repliesSuperseded
  3. v113 patches 25 repliesSuperseded

Changes in v3 from the cover letter

- Fix CI failure

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13drm/xe: Lock all gpuva ops during VM bind IOCTLdrivers/gpu/drm/xe/xe_vm.c+108 -401 reply
2/13drm/xe: Add ops_execute function which returns a fencedrivers/gpu/drm/xe/xe_vm.c+111 -1000 replies
3/13drm/xe: Move migrate to prefetch to op_lock_and_prep functiondrivers/gpu/drm/xe/xe_vm.c+15 -150 replies
4/13drm/xe: Add struct xe_vma_ops abstractiondrivers/gpu/drm/xe/xe_vm.c drivers/gpu/drm/xe/xe_vm_types.h+28 -160 replies
5/13drm/xe: Use xe_vma_ops to implement xe_vm_rebinddrivers/gpu/drm/xe/xe_vm.c+64 -140 replies
6/13drm/xe: Simplify VM bind IOCTL error handling and cleanupdrivers/gpu/drm/xe/xe_vm.c drivers/gpu/drm/xe/xe_vm_types.h+12 -600 replies
7/13drm/xe: Use xe_vma_ops to implement page fault rebindsdrivers/gpu/drm/xe/xe_gt_pagefault.c drivers/gpu/drm/xe/xe_vm.c drivers/gpu/drm/xe/xe_vm.h +1 more+58 -190 replies
8/13drm/xe: Add some members to xe_vma_opsdrivers/gpu/drm/xe/xe_vm.c drivers/gpu/drm/xe/xe_vm_types.h+22 -50 replies
9/13drm/xe: Add vm_bind_ioctl_ops_fini helperdrivers/gpu/drm/xe/xe_vm.c+24 -380 replies
10/13drm/xe: Move ufence check to op_lock_and_prepdrivers/gpu/drm/xe/xe_vm.c+23 -100 replies
11/13drm/xe: Move ufence add to vm_bind_ioctl_ops_finidrivers/gpu/drm/xe/xe_sync.c drivers/gpu/drm/xe/xe_sync.h drivers/gpu/drm/xe/xe_vm.c+53 -70 replies
12/13drm/xe: Add xe_gt_tlb_invalidation_range and convert PT layer to use thisdrivers/gpu/drm/xe/xe_gt_tlb_invalidation.c drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h drivers/gpu/drm/xe/xe_pt.c+65 -220 replies
13/13drm/xe: Delete PT update selftestdrivers/gpu/drm/xe/tests/xe_migrate.c+0 -860 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchOak Zeng
1/13R-b
2/13R-b
3/13R-b
4/13R-b
5/13R-b
6/13R-b
7/13R-b
8/13R-b
9/13R-b
10/13R-b
11/13R-b
12/13R-b
13/13R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/13] Prep patches for 1 job per VM bind IOCTL

Pacthes posted on [1] which have gone through a round of reviews.

Tested throughly on TGL which IGT suite.

v2:
- Address Oak's feedback
v3:
- Fix CI failure

Matt

[1] https://patchwork.freedesktop.org/series/125608/

Matthew Brost (13):
drm/xe: Lock all gpuva ops during VM bind IOCTL
drm/xe: Add ops_execute function which returns a fence drm/xe: Move migrate to prefetch to op_lock_and_prep function drm/xe: Add struct xe_vma_ops abstraction
drm/xe: Use xe_vma_ops to implement xe_vm_rebind
drm/xe: Simplify VM bind IOCTL error handling and cleanup drm/xe: Use xe_vma_ops to implement page fault rebinds drm/xe: Add some members to xe_vma_ops
drm/xe: Add vm_bind_ioctl_ops_fini helper
drm/xe: Move ufence check to op_lock_and_prep
drm/xe: Move ufence add to vm_bind_ioctl_ops_fini
drm/xe: Add xe_gt_tlb_invalidation_range and convert PT layer to use
this
drm/xe: Delete PT update selftest

 drivers/gpu/drm/xe/tests/xe_migrate.c       |  86 ---
 drivers/gpu/drm/xe/xe_gt_pagefault.c        |  16 +-
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c |  59 +-
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h |   3 +
 drivers/gpu/drm/xe/xe_pt.c                  |  25 +-
 drivers/gpu/drm/xe/xe_sync.c                |  15 +
 drivers/gpu/drm/xe/xe_sync.h                |   1 +
 drivers/gpu/drm/xe/xe_vm.c                  | 674 ++++++++++++--------
 drivers/gpu/drm/xe/xe_vm.h                  |   2 +
 drivers/gpu/drm/xe/xe_vm_types.h            |  22 +-
 10 files changed, 527 insertions(+), 376 deletions(-)
Signature · 1 line
2.34.1