Commit 2312f984 authored by Christian König's avatar Christian König

drm/v3d: fix broken build

I missed one case during the recent revert of the replace_fence
interface change.

Fixes: 0b258ed1 drm: revert "expand replace_fence to support timeline point v2"
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/266134/
parent 0b258ed1
...@@ -716,7 +716,7 @@ v3d_submit_tfu_ioctl(struct drm_device *dev, void *data, ...@@ -716,7 +716,7 @@ v3d_submit_tfu_ioctl(struct drm_device *dev, void *data,
/* Update the return sync object */ /* Update the return sync object */
sync_out = drm_syncobj_find(file_priv, args->out_sync); sync_out = drm_syncobj_find(file_priv, args->out_sync);
if (sync_out) { if (sync_out) {
drm_syncobj_replace_fence(sync_out, 0, sched_done_fence); drm_syncobj_replace_fence(sync_out, sched_done_fence);
drm_syncobj_put(sync_out); drm_syncobj_put(sync_out);
} }
dma_fence_put(sched_done_fence); dma_fence_put(sched_done_fence);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment