summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2022-01-20 12:15:44 +0100
committerChristian König <christian.koenig@amd.com>2022-02-02 16:15:37 +0100
commit3f1a31ff8e3f6654d2b03a34095ca1658e4cfd77 (patch)
treef3c14d7f801730354528b6814463a42a0f23b559 /drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
parent1b3cf0133fbdeac863510fc8899efdbed91c15c0 (diff)
downloadlwn-3f1a31ff8e3f6654d2b03a34095ca1658e4cfd77.tar.gz
lwn-3f1a31ff8e3f6654d2b03a34095ca1658e4cfd77.zip
drm/vmwgfx: remove vmw_wait_dma_fence
Decomposing fence containers don't seem to make any sense here. So just remove the function entirely and call dma_fence_wait() directly. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Zack Rusin <zackr@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220124130328.2376-12-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
index 44ca23b0ea4e..0ff28f0e3eb4 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
@@ -4500,7 +4500,7 @@ int vmw_execbuf_ioctl(struct drm_device *dev, void *data,
goto mksstats_out;
}
- ret = vmw_wait_dma_fence(dev_priv->fman, in_fence);
+ ret = dma_fence_wait(in_fence, true);
if (ret)
goto out;
}