]> git.baikalelectronics.ru Git - kernel.git/commit
drm: flip-work: change drm_flip_work_init prototype
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Fri, 14 Nov 2014 18:30:30 +0000 (19:30 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 14 Nov 2014 23:29:14 +0000 (09:29 +1000)
commite8625c5439c07ba6add63033d55cd8e85393c6fb
treefc408a6376c135b4f328051c03cfb16fbd3f9f51
parentd110b1356b9f434a3da1bbb0efe9ad67e27dbc37
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>
drivers/gpu/drm/drm_flip_work.c
drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c
drivers/gpu/drm/omapdrm/omap_plane.c
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
include/drm/drm_flip_work.h