drm: expand replace_fence to support timeline point v2
we can place a fence to a timeline point after expanded. v2: change func parameter order Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/246543/
This commit is contained in:

committed by
Christian König

parent
0a6730ea27
commit
9a09a42369
@@ -584,7 +584,7 @@ v3d_submit_cl_ioctl(struct drm_device *dev, void *data,
|
||||
/* Update the return sync object for the */
|
||||
sync_out = drm_syncobj_find(file_priv, args->out_sync);
|
||||
if (sync_out) {
|
||||
drm_syncobj_replace_fence(sync_out,
|
||||
drm_syncobj_replace_fence(sync_out, 0,
|
||||
&exec->render.base.s_fence->finished);
|
||||
drm_syncobj_put(sync_out);
|
||||
}
|
||||
|
Reference in New Issue
Block a user