PD#SWPL-13524
Problem:
gxm afbc hardware reset is not set.
Solution:
set gxm afbc hardware reset correctly
Verify:
Verified on S912
Change-Id: Iccde705fe408852671d367f1b3853a7055bdf050
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
&& !(backup_mask & HW_RESET_OSD1_REGS))
reset_bit &= ~HW_RESET_OSD1_REGS;
- if ((osd_hw.osd_meson_dev.afbc_type == MESON_AFBC)
+ if (((get_cpu_type() == MESON_CPU_MAJOR_ID_GXTVBB) &&
+ (osd_hw.osd_meson_dev.afbc_type == MESON_AFBC))
&& (reset_bit & HW_RESET_AFBCD_REGS)
&& !(backup_mask & HW_RESET_AFBCD_REGS))
reset_bit &= ~HW_RESET_AFBCD_REGS;