di: request afbc when vpp use [1/2]
authorYong Qin <yong.qin@amlogic.com>
Tue, 7 May 2019 01:58:49 +0000 (09:58 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 24 Jun 2019 02:59:10 +0000 (19:59 -0700)
commit37d6b415f5751569c886870b5a5c19adb9194ccb
tree45f721359a4afda6e195255fc94b115c11e96fcd
parent170608da77f5f219c1bff40c553dc8dfbfcd25ae
di: request afbc when vpp use [1/2]

PD#SWPL-6033

Problem:
afbc mode, when di bypass mode switch di path,
will cause flashing

Solution:
when mode change, request hw afbc from vpp, when idle
di use afbc, vpp need switch to none afbc mode, vf add
VIDTYPE_PRE_DI_AFBC flag for vpp use.

Verify:
tl1

Change-Id: I4aaf96044249d5b79bdc627018f0c0714c85f941
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
drivers/amlogic/media/deinterlace/deinterlace.c
drivers/amlogic/media/deinterlace/deinterlace.h
drivers/amlogic/media/deinterlace/deinterlace_hw.c
drivers/amlogic/media/deinterlace/deinterlace_hw.h