media: vsp1: wpf: Add writeback support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 20 Feb 2019 16:01:57 +0000 (18:01 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 18 Mar 2019 15:24:01 +0000 (17:24 +0200)
commit9ec5742b6930fb6b4e95b1f249804bf4cb683f9c
tree5f22620c5f118073dc20c52584a6cf927ac69af9
parent5c7de45a43a8ac00e61f5551b3d639c95c038e4b
media: vsp1: wpf: Add writeback support

Add support for the writeback feature of the WPF, to enable capturing
frames at the WPF output for display pipelines. To enable writeback the
vsp1_rwpf structure mem field must be set to the address of the
writeback buffer and the writeback field set to true before the WPF
.configure_stream() and .configure_partition() are called. The WPF will
enable writeback in the display list for a single frame, and writeback
will then be automatically disabled.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vsp1/vsp1_rwpf.h
drivers/media/platform/vsp1/vsp1_wpf.c