media: v4l: vsp1: Share duplicated DRM pipeline configuration code
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:57:47 +0000 (07:57 -0400)
commitc8c310c99e2d79e3381b33ac4300d6777ddaaa7e
treeb7e34936eff6668c6bd597b8cc68a29c7967fa2a
parentd4fedb0b91bc4ea585c029a6e8e0ee3dd4aad741
media: v4l: vsp1: Share duplicated DRM pipeline configuration code

Move the duplicated DRM pipeline configuration code to a function and
call it from vsp1_du_setup_lif() and vsp1_du_atomic_flush().

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