summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vsp1/vsp1_video.c
diff options
context:
space:
mode:
authorLaurent Pinchart2018-02-22 20:26:21 +0100
committerMauro Carvalho Chehab2018-05-04 14:02:51 +0200
commitbc3c9c8802b8d87e46715f23f1b0d3588cd8c5c4 (patch)
tree4cd361c9e87621ee1782538344e9dd67ef6096f7 /drivers/media/platform/vsp1/vsp1_video.c
parentmedia: v4l: vsp1: Turn frame end completion status into a bitfield (diff)
downloadkernel-qcow2-linux-bc3c9c8802b8d87e46715f23f1b0d3588cd8c5c4.tar.gz
kernel-qcow2-linux-bc3c9c8802b8d87e46715f23f1b0d3588cd8c5c4.tar.xz
kernel-qcow2-linux-bc3c9c8802b8d87e46715f23f1b0d3588cd8c5c4.zip
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>
Diffstat (limited to 'drivers/media/platform/vsp1/vsp1_video.c')
-rw-r--r--drivers/media/platform/vsp1/vsp1_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c
index 4152704c2ccb..a76a44698aff 100644
--- a/drivers/media/platform/vsp1/vsp1_video.c
+++ b/drivers/media/platform/vsp1/vsp1_video.c
@@ -437,7 +437,7 @@ static void vsp1_video_pipeline_run(struct vsp1_pipeline *pipe)
}
/* Complete, and commit the head display list. */
- vsp1_dl_list_commit(pipe->dl);
+ vsp1_dl_list_commit(pipe->dl, false);
pipe->dl = NULL;
vsp1_pipeline_run(pipe);