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
This commit is contained in:
parent
91f0c245dd
commit
61e55c6f5c
|
@ -68,7 +68,7 @@ wait_fence:
|
||||||
* the migration.
|
* the migration.
|
||||||
*/
|
*/
|
||||||
return dma_resv_wait_timeout(umem_dmabuf->attach->dmabuf->resv,
|
return dma_resv_wait_timeout(umem_dmabuf->attach->dmabuf->resv,
|
||||||
DMA_RESV_USAGE_WRITE,
|
DMA_RESV_USAGE_KERNEL,
|
||||||
false, MAX_SCHEDULE_TIMEOUT);
|
false, MAX_SCHEDULE_TIMEOUT);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(ib_umem_dmabuf_map_pages);
|
EXPORT_SYMBOL(ib_umem_dmabuf_map_pages);
|
||||||
|
|
Loading…
Reference in New Issue