Skip to content

cross-dev synchronization in TTM through dma-buf.

Maarten Lankhorst dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm: Pass dma-buf as argument to, gem_prime_import_sg_tabledrivers/gpu/drm/drm_gem_cma_helper.c drivers/gpu/drm/drm_prime.c drivers/gpu/drm/msm/msm_drv.h +9 more+21 -160 replies
2/7drm/ttm: add reservation_object as argument to ttm_bo_initdrivers/gpu/drm/ast/ast_ttm.c drivers/gpu/drm/bochs/bochs_mm.c drivers/gpu/drm/cirrus/cirrus_ttm.c +7 more+28 -140 replies
3/7drm/radeon: cope with foreign fences inside the reservation objectdrivers/gpu/drm/radeon/radeon.h drivers/gpu/drm/radeon/radeon_cs.c drivers/gpu/drm/radeon/radeon_display.c +2 more+61 -271 reply
4/7drm/radeon: export reservation_object from dmabuf to ttmdrivers/gpu/drm/radeon/cik.c drivers/gpu/drm/radeon/evergreen.c drivers/gpu/drm/radeon/r600.c +14 more+35 -250 replies
5/7drm/nouveau: export reservation_object from dmabuf to ttmdrivers/gpu/drm/nouveau/dispnv04/crtc.c drivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/nouveau/nouveau_bo.h +8 more+22 -140 replies
6/7drm/radeon: allow asynchronous waiting on foreign fencesdrivers/gpu/drm/radeon/radeon.h drivers/gpu/drm/radeon/radeon_cs.c drivers/gpu/drm/radeon/radeon_fence.c +1 more+221 -235 replies
7/7drm/nouveau: allow asynchronous waiting using gart fencesdrivers/gpu/drm/nouveau/nouveau_bo.c drivers/gpu/drm/nouveau/nouveau_chan.c drivers/gpu/drm/nouveau/nouveau_display.c +7 more+305 -930 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] cross-dev synchronization in TTM through dma-buf.

So this is finally it. After all the work writing support for fences cross-dev synchronization is now possible. :-)

The last 2 patches of this series are not needed for cross-dev to work. But without it any waits on cross-device fences will be done synchronously. I've previously tested this with i915, but the patches for i915 fail to apply again with the execlist stuff, so I haven't tried with the latest drm-next changes.

I would like to have the first 2 patches applied on drm-next, and the radeon/nouveau specific patches when they go through their review.