vpp: add osd and video zorder control [2/6]
authorBrian Zhu <brian.zhu@amlogic.com>
Thu, 17 Jan 2019 19:25:21 +0000 (03:25 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:22:04 +0000 (20:22 +0800)
commit0051dfaacdca6c779eb665572a479a727c8f04ef
treeb89591eedf074d3e770f677c3249e7e854894769
parentf722263191bdfecdb3ee11ced920c8b39b1a8f0c
vpp: add osd and video zorder control [2/6]

PD#SWPL-85

Problem:
Upper layer need control osd and video layer zorder

Solution:
1.Add video layer zorder interface by sysfs and ioctl
2.Switch the osd and video layer order in vsync

Verify:
Verify on U212

Change-Id: Ic50e81784b865cc57e4ab9a63d74806f7a8721cf
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/osd/osd_backup.c
drivers/amlogic/media/osd/osd_hw.c
drivers/amlogic/media/osd/osd_hw.h
drivers/amlogic/media/video_sink/video.c
include/linux/amlogic/media/video_sink/vpp.h