PD#SWPL-18101
Problem:
vd1 afbc mif regs overwritten by vd2
Solution:
set vd2 afbc mif regs correctly
Verify:
Verify on ab301
Change-Id: I1b761134dd24413ae2af569b6d35b247de21ebcb
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
setting->start_x_lines;
VSYNC_WR_MPEG_REG(
- AFBC_MIF_HOR_SCOPE + afbc_off,
+ VD2_AFBC_MIF_HOR_SCOPE + afbc_off,
(mif_blk_bgn_h << 16) |
mif_blk_end_h);
/* do nothing*/
} else {
VSYNC_WR_MPEG_REG(
- AFBC_PIXEL_HOR_SCOPE + afbc_off,
+ VD2_AFBC_PIXEL_HOR_SCOPE + afbc_off,
((pix_bgn_h << 16) |
pix_end_h));
}