[media] v4l: vsp1: Adapt vsp1_du_setup_lif() interface to use a structure
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Fri, 3 Mar 2017 09:31:48 +0000 (06:31 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 7 Mar 2017 16:34:11 +0000 (13:34 -0300)
commit8c71fff434e5ecf5ff27bd61db1bc9ac4c2b2a1b
treeab7bbb98556d33255069153e0fdd48b8aa0f7bb1
parent606142af57dad981b78707234cfbd15f9f7b7125
[media] v4l: vsp1: Adapt vsp1_du_setup_lif() interface to use a structure

The interface to configure the LIF in the VSP1 requires adapting the
function prototype for any changes. This makes extending the interface
difficult.

Change the function prototype to pass a structure which can be easily
extended.

This changes the means of disabling the pipeline, by now passing a NULL
configuration rather than passing either a 0 width or height.

[Fixed kerneldoc, made vsp1_du_setup_lif() cfg argument const]

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/gpu/drm/rcar-du/rcar_du_vsp.c
drivers/media/platform/vsp1/vsp1_drm.c
include/media/vsp1.h