vdin: QD980 HDMI 4k 30Hz,change bit depth has green screen [1/1]

PD#SWPL-8184

Problem:
don't updated afbce output color format

Solution:
update afbce config according afbce support or not,
instead of afbce need or not.

Verify:
verified by t962x2_x301

Change-Id: I7885357c1e5b04b58b059401a5f66d2ee83c76ef
Signed-off-by: zhiwei.yuan <zhiwei.yuan@amlogic.com>
This commit is contained in:
zhiwei.yuan
2019-05-06 19:26:10 +08:00
committed by Tao Zeng
parent a8c6962db8
commit f24b329024

View File

@@ -1618,8 +1618,10 @@ irqreturn_t vdin_isr(int irq, void *dev_id)
vdin_set_top(devp->addr_offset, devp->parm.port,
devp->prop.color_format, devp->h_active,
devp->bt_path);
if (devp->afbce_mode)
if (devp->afbce_valid)
vdin_afbce_update(devp);
if (skip_frame_debug) {
pr_info("vdin.%d dest_cfmt changed: %d->%d\n",
devp->index,