vpp: add two layers support for each chips [1/6]
authorBrian Zhu <brian.zhu@amlogic.com>
Tue, 15 Jan 2019 21:12:00 +0000 (05:12 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 30 Jan 2019 11:36:24 +0000 (03:36 -0800)
commit8c58df801ea8501b2600c5259edf52e5e0d09b93
treeb1a86868b10f3ec6ca9fc511326c21e321ee2ee7
parent89314ada48447b4db3ffa7dad36f2acf5cda17c9
vpp: add two layers support for each chips [1/6]

PD#SWPL-85

Problem:
Need support two video layers feature

Solution:
1.Add vd2 mif config
2.Add vd2 pps calculation and config
3.Add vd2 axis/crop/screen mode interface by sysfs and ioctl
4.Add layer query/alloc/free interface

Verify:
Verify on U212

Change-Id: I71fc9ab2ae0230c3e84c4b790e77d2c790951642
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
13 files changed:
drivers/amlogic/media/deinterlace/di_pps.h
drivers/amlogic/media/osd/osd_hw.c
drivers/amlogic/media/video_processor/ppmgr/ppmgr_drv.c
drivers/amlogic/media/video_processor/ppmgr/ppmgr_vpp.c
drivers/amlogic/media/video_sink/video.c
drivers/amlogic/media/video_sink/video_keeper.c
drivers/amlogic/media/video_sink/video_priv.h
drivers/amlogic/media/video_sink/vpp.c
include/linux/amlogic/media/registers/regs/vpp_regs.h
include/linux/amlogic/media/utils/amstream.h
include/linux/amlogic/media/vfm/vframe_receiver.h
include/linux/amlogic/media/video_sink/video.h
include/linux/amlogic/media/video_sink/vpp.h