media: v4l: vsp1: Move DRM atomic commit pipeline setup to separate function
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 23 Feb 2018 20:35:00 +0000 (15:35 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 11:59:16 +0000 (07:59 -0400)
commit02b902fcf64a9b2c0ed1cf74528344afca619f2c
tree74a921c1ad0d5565ad98ea9a3c09f7ebfeeb9343
parentc8c310c99e2d79e3381b33ac4300d6777ddaaa7e
media: v4l: vsp1: Move DRM atomic commit pipeline setup to separate function

The DRM pipeline setup code used at atomic commit time is similar to the
setup code used when enabling the pipeline. Move it to a separate
function in order to share it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vsp1/vsp1_drm.c