OSDN Git Service

RDMA: use dma_resv_wait() instead of extracting the fence
authorChristian König <christian.koenig@amd.com>
Wed, 22 Sep 2021 11:01:04 +0000 (13:01 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 24 Mar 2022 09:09:20 +0000 (10:09 +0100)
commitf30bceab16d1d6a97cbe262623e25ed2873896f0
tree9d8a6e005a5d83ab72be894d1d4ab8613ff37e92
parent0941a4e3c629c902e7d229218dbc36a146ca699c
RDMA: use dma_resv_wait() instead of extracting the fence

Use dma_resv_wait() instead of extracting the exclusive fence and
waiting on it manually.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Jason Gunthorpe <jgg@nvidia.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Leon Romanovsky <leon@kernel.org>
Cc: Maor Gottlieb <maorg@nvidia.com>
Cc: Gal Pressman <galpress@amazon.com>
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Link: https://patchwork.freedesktop.org/patch/msgid/20220321135856.1331-4-christian.koenig@amd.com
drivers/infiniband/core/umem_dmabuf.c