di: aptimise di flow, add some protection [1/1]
authorYong Qin <yong.qin@amlogic.com>
Tue, 8 Jan 2019 09:02:34 +0000 (17:02 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:22:06 +0000 (20:22 +0800)
commita7099b56344c0e3a07b507975b73de2c9914026b
tree3050e1acdde24e980cf5bc1263ca119dc0045efe
parent83b82330fe62663dafc63c0f0b4f2c453b2598e2
di: aptimise di flow, add some protection [1/1]

PD#SWPL-3976

Problem:
To prevent “stall when access DDR through memory interface”

Solution:
1.aptimise NRWR register access flow
2.add arb on/off and status check
3.add reset protect
4.add nr_en disable before arb status check
5.add nr_write_done sel
6.modify VPU_WRARB_MODE_L2C1 from vlsi feijun's suggest

Verify:
tl1, txlx

Change-Id: Ifb0f4f0502d957ffb2b07805575c27f4166d5717
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
Conflicts:
drivers/amlogic/media/deinterlace/deinterlace.c
drivers/amlogic/media/common/vpu/vpu_power_init.c
drivers/amlogic/media/deinterlace/deinterlace.c
drivers/amlogic/media/deinterlace/deinterlace_hw.c
drivers/amlogic/media/deinterlace/deinterlace_hw.h
drivers/amlogic/media/deinterlace/register.h
include/linux/amlogic/media/registers/regs/vpp_regs.h