]> git.baikalelectronics.ru Git - kernel.git/commit
v4l: vsp1: Add support for header display lists in continuous mode
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 29 May 2017 10:41:31 +0000 (13:41 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 3 Aug 2017 13:17:21 +0000 (16:17 +0300)
commitd77f45c855a6e6c1e52bca0ce3ef2446aac1e122
treea3612602073d32d224c97bd83fbe82267b4ddceb
parent054f0f24434cb6e9ae8c63919f3cc9549d2e84c8
v4l: vsp1: Add support for header display lists in continuous mode

The VSP supports both header and headerless display lists. The latter is
easier to use when the VSP feeds data directly to the DU in continuous
mode, and the driver thus uses headerless display lists for DU operation
and header display lists otherwise.

Headerless display lists are only available on WPF.0. This has never
been an issue so far, as only WPF.0 is connected to the DU. However, on
H3 ES2.0, the VSP-DL instance has both WPF.0 and WPF.1 connected to the
DU. We thus can't use headerless display lists unconditionally for DU
operation.

Implement support for continuous mode with header display lists, and use
it for DU operation on WPF outputs that don't support headerless mode.

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