[media] rockchip/rga: v4l2 m2m support
commitf7e7b48e6d796da85d99b318def20d9313ef61df
authorJacob Chen <jacob-chen@iotwrt.com>
Wed, 11 Oct 2017 07:29:35 +0000 (11 00:29 -0700)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 16 Oct 2017 23:23:55 +0000 (16 16:23 -0700)
treea98271ac95b0ac9b14c55599212a151f43523f25
parent7ef3b44ceafb5456b7e43e2bd96e22bb696806c9
[media] rockchip/rga: v4l2 m2m support

Rockchip RGA is a separate 2D raster graphic acceleration unit. It
accelerates 2D graphics operations, such as point/line drawing, image
scaling, rotation, BitBLT, alpha blending and image blur/sharpness

The driver supports various operations from the rendering pipeline.
 - copy
 - fast solid color fill
 - rotation
 - flip
 - alpha blending

The code in rga-hw.c is used to configure regs according to operations
The code in rga-buf.c is used to create private mmu table for RGA.

Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/Kconfig
drivers/media/platform/Makefile
drivers/media/platform/rockchip/rga/Makefile [new file with mode: 0644]
drivers/media/platform/rockchip/rga/rga-buf.c [new file with mode: 0644]
drivers/media/platform/rockchip/rga/rga-hw.c [new file with mode: 0644]
drivers/media/platform/rockchip/rga/rga-hw.h [new file with mode: 0644]
drivers/media/platform/rockchip/rga/rga.c [new file with mode: 0644]
drivers/media/platform/rockchip/rga/rga.h [new file with mode: 0644]