diff options
author | Christian König <christian.koenig@amd.com> | 2018-11-14 14:24:27 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2018-12-05 11:01:11 +0100 |
commit | 0b258ed1a219a9776e8f6967eb34837ae0332e64 (patch) | |
tree | ea88b7eb50ff2bad95db20360c600b33d7627343 /include/drm | |
parent | 5ff75c489ce0466744684f5a549dd79f4ba697ca (diff) | |
download | linux-0b258ed1a219a9776e8f6967eb34837ae0332e64.tar.bz2 |
drm: revert "expand replace_fence to support timeline point v2"
This reverts commit 9a09a42369a4a37a959c051d8e1a1f948c1529a4.
The whole interface isn't thought through. Since this function can't
fail we actually can't allocate an object to store the sync point.
Sorry, I should have taken the lead on this from the very beginning and
reviewed it more thoughtfully. Going to propose a new interface as a
follow up change.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Link: https://patchwork.freedesktop.org/patch/265580/
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_syncobj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_syncobj.h b/include/drm/drm_syncobj.h index 2eda44def639..b1fe921f8e8f 100644 --- a/include/drm/drm_syncobj.h +++ b/include/drm/drm_syncobj.h @@ -131,7 +131,7 @@ drm_syncobj_fence_get(struct drm_syncobj *syncobj) struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, u32 handle); -void drm_syncobj_replace_fence(struct drm_syncobj *syncobj, u64 point, +void drm_syncobj_replace_fence(struct drm_syncobj *syncobj, struct dma_fence *fence); int drm_syncobj_find_fence(struct drm_file *file_private, u32 handle, u64 point, u64 flags, |