drm/v3d: fix broken build
authorChristian König <christian.koenig@amd.com>
Wed, 5 Dec 2018 19:43:02 +0000 (20:43 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 6 Dec 2018 09:29:32 +0000 (10:29 +0100)
I missed one case during the recent revert of the replace_fence
interface change.

Fixes: 0b258ed1a219 drm: revert "expand replace_fence to support timeline point v2"
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/266134/
drivers/gpu/drm/v3d/v3d_gem.c

index cb99e53f7607d9641e391df86f2743c75d9d9fcd..05ca6319065e2287cc9264c41c3aec994c000413 100644 (file)
@@ -716,7 +716,7 @@ v3d_submit_tfu_ioctl(struct drm_device *dev, void *data,
        /* Update the return sync object */
        sync_out = drm_syncobj_find(file_priv, args->out_sync);
        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);
        }
        dma_fence_put(sched_done_fence);