vdin: config vdin mif/afbc path directly [1/1]
authorEvoke Zhang <evoke.zhang@amlogic.com>
Fri, 5 Apr 2019 12:52:27 +0000 (20:52 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 10 Apr 2019 03:58:31 +0000 (20:58 -0700)
commit5a825f14bd1b433766f97375cbb36b66f8705428
tree040ec0e28c0fecb051415ee4561b8f7fff4b0101
parent6913eaacf9bf25394a3debcd686f106dce90423f
vdin: config vdin mif/afbc path directly [1/1]

PD#SWPL-6277

Problem:
switch hdmi port maybe display green screen

Solution:
1.optimize vdin stop sequence, reduce afbc state polling interval,
  and rest afbc to get a clean state
2.change vdin mif/afbc patch directly, not rdma method,
  for vdin0/1 rdma are independent

Verify:
x301

Change-Id: I0ddf5d27dcfc0fd930eeb681f876c4c5e92e8d70
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
drivers/amlogic/media/vin/tvin/vdin/vdin_afbce.c
drivers/amlogic/media/vin/tvin/vdin/vdin_afbce.h
drivers/amlogic/media/vin/tvin/vdin/vdin_drv.c