media: v4l: vsp1: Add per-display list internal completion notification support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 22 Feb 2018 19:26:21 +0000 (14:26 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 12:02:51 +0000 (08:02 -0400)
commitbc3c9c8802b8d87e46715f23f1b0d3588cd8c5c4
tree4cd361c9e87621ee1782538344e9dd67ef6096f7
parentbbc56faf3c04eddaca0d6f022bde31fbae23b6fe
media: v4l: vsp1: Add per-display list internal completion notification support

Display list completion is already reported to the frame end handler,
but that mechanism is global to all display lists. In order to implement
BRU and BRS reassignment in DRM pipelines we will need to commit a
display list and wait for its completion internally, without reporting
it to the DRM driver. Extend the display list API to support such an
internal use of the display list.

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_dl.c
drivers/media/platform/vsp1/vsp1_dl.h
drivers/media/platform/vsp1/vsp1_drm.c
drivers/media/platform/vsp1/vsp1_video.c