]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
[media] v4l: vsp1: Support chained display lists
authorKieran Bingham <kieran+renesas@bingham.xyz>
Tue, 12 Jul 2016 16:49:46 +0000 (13:49 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Sep 2016 17:59:33 +0000 (14:59 -0300)
commit76e48896c0b7b25a65740f03c6c5d3f35a02fd74
treec6528f98ad70b1afc920596939a7e6670678024b
parent8ddf3784295f1b3341ccc206740afd4235dbcbe0
[media] v4l: vsp1: Support chained display lists

When display lists are linked in a chain, they will be processed
automatically by the hardware, with each list linking to the next. Only
on the last display list will the frame end interrupt be fired to mark
the completion event.

Upon frame-end, the chain will be iterated to release each display list
back to the free list.

The chained lists use case (image partitioning) can require up to 64
lists per frame in the worst case scenario, bump up the number of
preallocated lists.

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