Skip to content

RFC Disconnect fences from Xe module

Matthew Brost dri-devel intel-xe linux-media llvm oe-kbuild-all oe-lkp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest14 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14dma-buf: cleanup dma_fence_describedrivers/dma-buf/dma-fence.c+6 -50 replies
2/14dma-buf: rework stub fence initialisationdrivers/dma-buf/dma-fence.c+15 -170 replies
3/14dma-buf: protected fence ops by RCUdrivers/dma-buf/dma-fence.c include/linux/dma-fence.h+62 -210 replies
4/14dma-buf: detach fence ops on signaldrivers/dma-buf/dma-fence.c include/linux/dma-fence.h+14 -60 replies
5/14dma-buf: inline spinlock for fence protectiondrivers/dma-buf/dma-fence.c drivers/dma-buf/sw_sync.c drivers/dma-buf/sync_debug.h +12 more+99 -580 replies
6/14dma-buf: use inline lock for the stub fencedrivers/dma-buf/dma-fence.c+4 -160 replies
7/14dma-buf: use inline lock for the dma-fence-arraydrivers/dma-buf/dma-fence-array.c include/linux/dma-fence-array.h+2 -40 replies
8/14dma-buf: use inline lock for the dma-fence-chaindrivers/dma-buf/dma-fence-chain.c include/linux/dma-fence-chain.h+1 -30 replies
9/14drm/sched: use inline locks for the drm-sched-fencedrivers/gpu/drm/scheduler/sched_fence.c include/drm/gpu_scheduler.h+5 -100 replies
10/14dma-fence: Fix selftestdrivers/dma-buf/st-dma-fence.c+2 -20 replies
11/14drm/xe: Disconnect the low hanging fences from Xe moduledrivers/gpu/drm/xe/xe_oa.c drivers/gpu/drm/xe/xe_preempt_fence.c drivers/gpu/drm/xe/xe_preempt_fence_types.h +2 more+3 -140 replies
12/14drm/xe: Drop HW fence slabdrivers/gpu/drm/xe/xe_hw_fence.c drivers/gpu/drm/xe/xe_hw_fence.h drivers/gpu/drm/xe/xe_module.c+2 -310 replies
13/14drm/xe: Promote xe_hw_fence_irq to an ref counted objectdrivers/gpu/drm/xe/xe_exec_queue.c drivers/gpu/drm/xe/xe_gt.c drivers/gpu/drm/xe/xe_gt_types.h +4 more+46 -80 replies
14/14drm/xe: Finish disconnect HW fences from moduledrivers/gpu/drm/xe/xe_hw_fence.c+7 -60 replies

Reviews trailers per patch

1 of 14 patches has a Reviewed-by or Acked-by.

PatchTvrtko Ursulin
1/14
2/14R-b
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

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

Read the v1 thread

Cover letter [RFC PATCH 00/14] Disconnect fences from Xe module

Mainly for CI and as a proof concept, built on top of Christian's work [1].

Matt

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

Christian König (9):
dma-buf: cleanup dma_fence_describe
dma-buf: rework stub fence initialisation
dma-buf: protected fence ops by RCU
dma-buf: detach fence ops on signal
dma-buf: inline spinlock for fence protection
dma-buf: use inline lock for the stub fence
dma-buf: use inline lock for the dma-fence-array
dma-buf: use inline lock for the dma-fence-chain drm/sched: use inline locks for the drm-sched-fence

Matthew Brost (5):
dma-fence: Fix selftest
drm/xe: Disconnect the low hanging fences from Xe module drm/xe: Drop HW fence slab
drm/xe: Promote xe_hw_fence_irq to an ref counted object drm/xe: Finish disconnect HW fences from module

 drivers/dma-buf/dma-fence-array.c           |   5 +-
 drivers/dma-buf/dma-fence-chain.c           |   3 +-
 drivers/dma-buf/dma-fence.c                 | 178 +++++++++++---------
 drivers/dma-buf/st-dma-fence.c              |   4 +-
 drivers/dma-buf/sw_sync.c                   |  14 +-
 drivers/dma-buf/sync_debug.h                |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c    |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c      |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h      |  12 +-
 drivers/gpu/drm/drm_crtc.c                  |   2 +-
 drivers/gpu/drm/drm_writeback.c             |   2 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c       |   5 +-
 drivers/gpu/drm/nouveau/nouveau_fence.c     |   3 +-
 drivers/gpu/drm/qxl/qxl_release.c           |   3 +-
 drivers/gpu/drm/scheduler/sched_fence.c     |  11 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c       |   3 +-
 drivers/gpu/drm/xe/xe_exec_queue.c          |   2 +-
 drivers/gpu/drm/xe/xe_gt.c                  |   7 +-
 drivers/gpu/drm/xe/xe_gt_types.h            |   2 +-
 drivers/gpu/drm/xe/xe_hw_engine.c           |   2 +-
 drivers/gpu/drm/xe/xe_hw_fence.c            |  62 ++++---
 drivers/gpu/drm/xe/xe_hw_fence.h            |   5 +-
 drivers/gpu/drm/xe/xe_hw_fence_types.h      |   4 +
 drivers/gpu/drm/xe/xe_module.c              |   5 -
 drivers/gpu/drm/xe/xe_oa.c                  |   5 +-
 drivers/gpu/drm/xe/xe_preempt_fence.c       |   3 +-
 drivers/gpu/drm/xe/xe_preempt_fence_types.h |   2 -
 drivers/gpu/drm/xe/xe_sched_job.c           |   4 +-
 drivers/gpu/drm/xe/xe_tlb_inval.c           |   5 +-
 drivers/gpu/drm/xe/xe_tlb_inval_types.h     |   2 -
 include/drm/gpu_scheduler.h                 |   4 -
 include/linux/dma-fence-array.h             |   1 -
 include/linux/dma-fence-chain.h             |   1 -
 include/linux/dma-fence.h                   |  60 ++++++-
 34 files changed, 249 insertions(+), 182 deletions(-)
Signature · 1 line
2.34.1