]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
dma-buf: allow reserving more than one shared fence slot
authorChristian König <christian.koenig@amd.com>
Wed, 19 Sep 2018 14:12:25 +0000 (16:12 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 25 Oct 2018 11:45:07 +0000 (13:45 +0200)
commitca05359f1e64cf8303ee532e50efe4ab7563d4a9
tree853e9e47b788fa72fcc5b0cd099e4199ad6c78a0
parent27836b641c1bf693c96c627388497b4e0f57441b
dma-buf: allow reserving more than one shared fence slot

Let's support simultaneous submissions to multiple engines.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Link: https://patchwork.kernel.org/patch/10626149/
16 files changed:
drivers/dma-buf/reservation.c
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c
drivers/gpu/drm/i915/i915_vma.c
drivers/gpu/drm/msm/msm_gem_submit.c
drivers/gpu/drm/nouveau/nouveau_fence.c
drivers/gpu/drm/qxl/qxl_release.c
drivers/gpu/drm/radeon/radeon_vm.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_execbuf_util.c
drivers/gpu/drm/v3d/v3d_gem.c
drivers/gpu/drm/vc4/vc4_gem.c
drivers/gpu/drm/vgem/vgem_fence.c
include/linux/reservation.h