diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-11-14 13:30:30 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-11-14 18:29:14 -0500 |
commit | d7f8db5300d1f50b5631796086dbd4efc5b5d707 (patch) | |
tree | fc408a6376c135b4f328051c03cfb16fbd3f9f51 /include/drm | |
parent | 8bd4ae202813ac04f35dacf43263e1cf96743292 (diff) |
drm: flip-work: change drm_flip_work_init prototype
Now that we're using lists instead of kfifo to store drm flip-work tasks
we do not need the size parameter passed to drm_flip_work_init function
anymore.
Moreover this function cannot fail anymore, we can thus remove the return
code.
Modify drm_flip_work_init users to take account of these changes.
[airlied: fixed two unused variable warnings]
Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_flip_work.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_flip_work.h b/include/drm/drm_flip_work.h index 3fcb4c44c9e0..d387cf06ae05 100644 --- a/include/drm/drm_flip_work.h +++ b/include/drm/drm_flip_work.h | |||
@@ -85,7 +85,7 @@ void drm_flip_work_queue_task(struct drm_flip_work *work, | |||
85 | void drm_flip_work_queue(struct drm_flip_work *work, void *val); | 85 | void drm_flip_work_queue(struct drm_flip_work *work, void *val); |
86 | void drm_flip_work_commit(struct drm_flip_work *work, | 86 | void drm_flip_work_commit(struct drm_flip_work *work, |
87 | struct workqueue_struct *wq); | 87 | struct workqueue_struct *wq); |
88 | int drm_flip_work_init(struct drm_flip_work *work, int size, | 88 | void drm_flip_work_init(struct drm_flip_work *work, |
89 | const char *name, drm_flip_func_t func); | 89 | const char *name, drm_flip_func_t func); |
90 | void drm_flip_work_cleanup(struct drm_flip_work *work); | 90 | void drm_flip_work_cleanup(struct drm_flip_work *work); |
91 | 91 | ||