|author||Paul Kocialkowski <firstname.lastname@example.org>||2018-09-13 10:51:55 -0400|
|committer||Mauro Carvalho Chehab <email@example.com>||2018-09-24 10:47:10 -0400|
media: platform: Add Cedrus VPU decoder driver
This introduces the Cedrus VPU driver that supports the VPU found in Allwinner SoCs, also known as Video Engine. It is implemented through a V4L2 M2M decoder device and a media device (used for media requests). So far, it only supports MPEG-2 decoding. Since this VPU is stateless, synchronization with media requests is required in order to ensure consistency between frame headers that contain metadata about the frame to process and the raw slice data that is used to generate the frame. This driver was made possible thanks to the long-standing effort carried out by the linux-sunxi community in the interest of reverse engineering, documenting and implementing support for the Allwinner VPU. Signed-off-by: Paul Kocialkowski <firstname.lastname@example.org> Acked-by: Maxime Ripard <email@example.com> Signed-off-by: Hans Verkuil <firstname.lastname@example.org> [email@example.com: dropped obsolete MEDIA_REQUEST_API from Kconfig] Signed-off-by: Hans Verkuil <firstname.lastname@example.org> Signed-off-by: Mauro Carvalho Chehab <email@example.com>
Diffstat (limited to 'drivers/staging/media/sunxi/cedrus/Kconfig')
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/staging/media/sunxi/cedrus/Kconfig b/drivers/staging/media/sunxi/cedrus/Kconfig
new file mode 100644
@@ -0,0 +1,14 @@
+ tristate "Allwinner Cedrus VPU driver"
+ depends on VIDEO_DEV && VIDEO_V4L2 && MEDIA_CONTROLLER
+ depends on HAS_DMA
+ depends on OF
+ select SUNXI_SRAM
+ select VIDEOBUF2_DMA_CONTIG
+ select V4L2_MEM2MEM_DEV
+ Support for the VPU found in Allwinner SoCs, also known as the Cedar
+ video engine.
+ To compile this driver as a module, choose M here: the module
+ will be called sunxi-cedrus.