]> 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)
commit299286ae10eac22189ead8ce88c104a2b2fa1557
treefc408a6376c135b4f328051c03cfb16fbd3f9f51
parentb6ce9c818d5214057e29106360f8d9fc64d2786e
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