osd: remove osd sync by go_field which caused reg writte messed [1/1]
authorpengcheng chen <pengcheng.chen@amlogic.com>
Mon, 15 Oct 2018 01:26:42 +0000 (09:26 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Sat, 20 Oct 2018 14:23:30 +0000 (07:23 -0700)
PD#163001

Problem:
enable three osd layeres and run sftest caused afbc decode error

Solution:
remove osd sync by go_field which caused reg written messed

Verify:
verified in u200 board

Change-Id: Ida1647b93083608c7970d22b50125628c3528a5a
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
drivers/amlogic/media/osd/osd_hw.c

index 1704400..efbb087 100644 (file)
@@ -8156,6 +8156,9 @@ void osd_init_hw(u32 logo_loaded, u32 osd_probe,
                                        osd_reg_set_bits(
                                        hw_osd_reg_array[idx].osd_ctrl_stat,
                                        0, 0, 1);
+                               osd_reg_set_bits(
+                               hw_osd_reg_array[idx].osd_ctrl_stat,
+                               0, 31, 1);
                                osd_hw.powered[idx] = 1;
                        } else
                                osd_hw.powered[idx] = 0;