FROMLIST: rockchip/rga: v4l2 m2m support
authorJacob Chen <jacob2.chen@rock-chips.com>
Thu, 3 Aug 2017 06:19:24 +0000 (14:19 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 4 Aug 2017 07:39:06 +0000 (15:39 +0800)
commitad9703226a2243c5ea7162626e9d17e47cdd8488
tree796d7a2de6bf8f88a6974e9581319b9888b3ca0b
parent10a0fcf693405cd1481f15c00843aa8d1f03700e
FROMLIST: 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 drvier is mostly based on s5p-g2d v4l2 m2m driver
And 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 accroding to operations
The code in rga-buf.c is used to create (1-Level)mmu table for RGA
The tables is stored in a list, and be removed when buffer is cleanup
(am form https://patchwork.linuxtv.org/patch/42846/)

Change-Id: I3ddd885beb2388be2ef23fe75806719d1fda8695
Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.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]