Skip to content

dma-buf: Add reference counting to dma_resv

Christian König amd-gfx dri-devel intel-gfx intel-xe lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12dma-buf: Add reference counting to dma_resvdrivers/dma-buf/dma-buf.c drivers/dma-buf/dma-resv.c drivers/dma-buf/st-dma-resv.c +9 more+117 -375 replies
2/12dma-buf/tests: Convert st-dma-resv tests to use dma_resv_allocdrivers/dma-buf/st-dma-resv.c+50 -400 replies
3/12drm/gem: Add helper for drm_gem_object resv assignmentdrivers/gpu/drm/drm_gem.c drivers/gpu/drm/drm_gem_shmem_helper.c drivers/gpu/drm/drm_prime.c +9 more+43 -150 replies
4/12drm/ttm: Switch LRU cursor to track dma_resv instead of buffer objectsdrivers/gpu/drm/ttm/ttm_bo_util.c drivers/gpu/drm/ttm/ttm_resource.c include/drm/ttm/ttm_bo.h +1 more+87 -672 replies
5/12drm/ttm: switch to ttm_bo_lru_for_each_reserved_guarded for swapoutdrivers/gpu/drm/ttm/ttm_bo.c drivers/gpu/drm/ttm/ttm_device.c include/drm/ttm/ttm_bo.h+28 -600 replies
6/12drm/ttm: move delete handling into ttm_bo_evictdrivers/gpu/drm/ttm/ttm_bo.c+9 -150 replies
7/12drm/ttm: use ttm_bo_lru_for_each_reserved_guarded in evict_alldrivers/gpu/drm/ttm/ttm_bo.c drivers/gpu/drm/ttm/ttm_resource.c include/drm/ttm/ttm_bo.h+17 -570 replies
8/12drm/ttm: use dma_resv reference in ttm_device_clear_lru_dma_mappingsdrivers/gpu/drm/ttm/ttm_device.c+17 -70 replies
9/12drm/ttm: nuke buffer refcountingdrivers/gpu/drm/i915/gem/i915_gem_ttm.c drivers/gpu/drm/ttm/ttm_bo.c drivers/gpu/drm/ttm/ttm_bo_internal.h +4 more+69 -1512 replies
10/12drm/exec: add drm_exec_lock_resv functiondrivers/gpu/drm/drm_exec.c drivers/gpu/drm/drm_gem.c include/drm/drm_exec.h+50 -365 replies
11/12drm/ttm: support using drm_exec during eviction v4drivers/gpu/drm/ttm/ttm_bo_util.c include/drm/ttm/ttm_bo.h+13 -41 reply
12/12drm/amdgpu: use drm_exec during BO validationdrivers/gpu/drm/amd/amdgpu/amdgpu_cs.c+44 -380 replies

Reviews trailers per patch

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

PatchMatthew Brost
1/12R-b
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

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

Read the v1 thread