mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
osd: set gxm afbc hardware reset correctly [1/1]
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>
This commit is contained in:
@@ -2080,7 +2080,8 @@ void osd_hw_reset(void)
|
||||
&& !(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;
|
||||
|
||||
Reference in New Issue
Block a user