diff options
author | Christian König <ckoenig.leichtzumerken@gmail.com> | 2018-12-11 11:34:41 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2018-12-11 17:38:38 +0100 |
commit | 61a98b1b9a8c7a21a2d666a090dcf5f1c70c659f (patch) | |
tree | 1596be67225a2e04154107ceedf3b5a48039eb89 /include/drm/drm_syncobj.h | |
parent | drm/etnaviv: fix for 64bit seqno change (diff) | |
download | linux-61a98b1b9a8c7a21a2d666a090dcf5f1c70c659f.tar.xz linux-61a98b1b9a8c7a21a2d666a090dcf5f1c70c659f.zip |
drm/syncobj: remove drm_syncobj_cb and cleanup
This completes "drm/syncobj: Drop add/remove_callback from driver
interface" and cleans up the implementation a bit.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Link: https://patchwork.freedesktop.org/patch/266255/
Diffstat (limited to 'include/drm/drm_syncobj.h')
-rw-r--r-- | include/drm/drm_syncobj.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/drm/drm_syncobj.h b/include/drm/drm_syncobj.h index b1fe921f8e8f..7c6ed845c70d 100644 --- a/include/drm/drm_syncobj.h +++ b/include/drm/drm_syncobj.h @@ -28,8 +28,6 @@ #include "linux/dma-fence.h" -struct drm_syncobj_cb; - /** * struct drm_syncobj - sync object. * @@ -62,25 +60,6 @@ struct drm_syncobj { struct file *file; }; -typedef void (*drm_syncobj_func_t)(struct drm_syncobj *syncobj, - struct drm_syncobj_cb *cb); - -/** - * struct drm_syncobj_cb - callback for drm_syncobj_add_callback - * @node: used by drm_syncob_add_callback to append this struct to - * &drm_syncobj.cb_list - * @func: drm_syncobj_func_t to call - * - * This struct will be initialized by drm_syncobj_add_callback, additional - * data can be passed along by embedding drm_syncobj_cb in another struct. - * The callback will get called the next time drm_syncobj_replace_fence is - * called. - */ -struct drm_syncobj_cb { - struct list_head node; - drm_syncobj_func_t func; -}; - void drm_syncobj_free(struct kref *kref); /** |