]> asedeno.scripts.mit.edu Git - linux.git/commit
v4l: vsp1: Extend VSP1 module API to allow DRM callbacks
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Sat, 4 Mar 2017 02:01:17 +0000 (02:01 +0000)
committerKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Mon, 22 May 2017 15:15:34 +0000 (16:15 +0100)
commitd7ade201ae7fa253808e42a4001a7738b9f69772
treeef3acd04254623960bbff736cf2cbdfbdaf180a5
parent348a00341efdaf582eb2cb86bddc4bb10406714d
v4l: vsp1: Extend VSP1 module API to allow DRM callbacks

To be able to perform page flips in DRM without flicker we need to be
able to notify the rcar-du module when the VSP has completed its
processing.

We must not have bidirectional dependencies on the two components to
maintain support for loadable modules, thus we extend the API to allow
a callback to be registered within the VSP DRM interface.

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