diff options
author | Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> | 2018-08-03 07:37:29 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-03 16:02:27 -0400 |
commit | e90561d40f830f1266d9531ae95eae8252dd8fa1 (patch) | |
tree | 44ab5f35f94cd7b94ddbc8000720212ccca2350d /include/media | |
parent | f3b98e3c4d2e16bb7c99fc75d652559bd591070f (diff) | |
download | op-kernel-dev-e90561d40f830f1266d9531ae95eae8252dd8fa1.zip op-kernel-dev-e90561d40f830f1266d9531ae95eae8252dd8fa1.tar.gz |
media: vsp1: Support Interlaced display pipelines
Calculate the top and bottom fields for the interlaced frames and
utilise the extended display list command feature to implement the
auto-field operations. This allows the DU to update the VSP2 registers
dynamically based upon the currently processing field.
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/vsp1.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/vsp1.h b/include/media/vsp1.h index 678c24d..3093b9c 100644 --- a/include/media/vsp1.h +++ b/include/media/vsp1.h @@ -25,6 +25,7 @@ int vsp1_du_init(struct device *dev); * struct vsp1_du_lif_config - VSP LIF configuration * @width: output frame width * @height: output frame height + * @interlaced: true for interlaced pipelines * @callback: frame completion callback function (optional). When a callback * is provided, the VSP driver guarantees that it will be called once * and only once for each vsp1_du_atomic_flush() call. @@ -33,6 +34,7 @@ int vsp1_du_init(struct device *dev); struct vsp1_du_lif_config { unsigned int width; unsigned int height; + bool interlaced; void (*callback)(void *data, bool completed, u32 crc); void *callback_data; |