amdv: reboot causes a black screen problem. [1/1]

PD#SWPL-157369

Problem:
reboot causes a black screen problem.

Solution:
dv core1 does not mute when there is no video.

Verify:
s905x2-u215.

Change-Id: I37a711b6ab105cb9a2eca76bf26ab43b58dbd269
Signed-off-by: jialong.jiang <jialong.jiang@amlogic.com>
This commit is contained in:
jialong.jiang
2024-03-04 19:49:33 +08:00
committed by gerrit autosubmit
parent 3b396f06bd
commit 07fbb65260
@@ -1268,8 +1268,8 @@ static int dv_core1_set(u32 dm_count,
#endif
}
if (amdv_on_count
< amdv_run_mode_delay) {
if (amdv_on_count < amdv_run_mode_delay &&
bl_enable && !bypass_core1) {
set_video_mute(AML_DOLBY_MUTE_SET, 1);
is_muted = 1;
if (is_aml_g12())
@@ -1828,8 +1828,8 @@ static int dv_core1a_set(u32 dm_count,
}
}
if (dv_core1[0].run_mode_count
< amdv_run_mode_delay) {
if (dv_core1[0].run_mode_count < amdv_run_mode_delay &&
core1a_enable && !bypass_core1) {
set_video_mute(AML_DOLBY_MUTE_SET, 1);
is_muted = 1;
if (is_aml_g12() || is_aml_sc2() || is_aml_s4d() || is_aml_tm2_stbmode())
@@ -2297,8 +2297,8 @@ static int dv_core1b_set(u32 dm_count,
p_core1_lut[i]);
}
}
if (dv_core1[1].run_mode_count
< amdv_run_mode_delay) {
if (dv_core1[1].run_mode_count < amdv_run_mode_delay &&
core1b_enable && !bypass_core1) {
set_video_mute(AML_DOLBY_MUTE_SET, 1);
is_muted = 1;
if (is_aml_tm2_stbmode())