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)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:22:04 +0000 (20:22 +0800)
commitf722263191bdfecdb3ee11ced920c8b39b1a8f0c
tree9f3e99e4942a3a41e3052cf1dd580e6e336f53b7
parent45056d66ccb9b288e2133070d0b5e436e883ed38
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