dv: fix gxm dv bug [3/7]
PD#SWPL-13526
Problem:
1.watchdog reboot:
hdr_func->set_hdr_matrix is called
when disable dv, which leads to
access 38a0 illegally
2.no dolby_ctrl_backup and err
viu_misc_ctrl_backup lead to
green screen after disable dv
3.Switch resolution, display highlights
and some pixels are overexposed
4.First frame shift when playing video.
5.OSD jitter when play video
Solution:
1.Dont call hdr_vd1_off and hdr_osd_off for s912
2.dolby_ctrl_backup for s912 and update afbc bits
for viu_misc_ctrl
3.Dont set core reg if regs no changed
4.It is hardware bug, need set run_mode_delay=3,
that means the first three frames should be blank.
5.put osd_path_enable after enable_rgb_to_yuv_matrix_for_dvll
Verify:
Q201
Change-Id: I50440c5b3c6554c28f587c0542bea3773a2c9b9c
Signed-off-by: yao liu <yao.liu@amlogic.com>