diff options
author | Christian König <christian.koenig@amd.com> | 2022-04-04 13:20:02 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-04-07 12:53:54 +0200 |
commit | 61e55c6f5ce11b15b1c21ba9211c09d2354dbe66 (patch) | |
tree | a503cce4a3c6b418c8d9cd3388229ad0c85e3dab /drivers/infiniband/core | |
parent | drm/radeon: use DMA_RESV_USAGE_KERNEL (diff) | |
download | linux-61e55c6f5ce11b15b1c21ba9211c09d2354dbe66.tar.xz linux-61e55c6f5ce11b15b1c21ba9211c09d2354dbe66.zip |
RDMA: use DMA_RESV_USAGE_KERNEL
We only need to wait for kernel submissions here.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220407085946.744568-9-christian.koenig@amd.com
Diffstat (limited to 'drivers/infiniband/core')
-rw-r--r-- | drivers/infiniband/core/umem_dmabuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/umem_dmabuf.c b/drivers/infiniband/core/umem_dmabuf.c index f9901d273b8e..fce80a4a5147 100644 --- a/drivers/infiniband/core/umem_dmabuf.c +++ b/drivers/infiniband/core/umem_dmabuf.c @@ -68,7 +68,7 @@ wait_fence: * the migration. */ return dma_resv_wait_timeout(umem_dmabuf->attach->dmabuf->resv, - DMA_RESV_USAGE_WRITE, + DMA_RESV_USAGE_KERNEL, false, MAX_SCHEDULE_TIMEOUT); } EXPORT_SYMBOL(ib_umem_dmabuf_map_pages); |